Red Squirrel
[H]F Junkie
- Joined
- Nov 29, 2009
- Messages
- 9,211
I used to have a Windows VM for the controller software which was kinda a pain and during network changes I just got rid of it with intention of looking into what it would take to run it in Linux. So today I did just that and found a tutorial and download link for a Linux version of the software. I got it working and can login to it and everything. It's version 3.2.10.
I have a single AP, with potential plans to add another as I have 2 spares. They are version 1.2.3.360 which I'm guessing is probably too old. When I try to adopt the AP, it just eventually goes to "Disconnected". At one point it was also going to "failed". I went on it and did "syswrapper.sh restore-default".
How do I go about making this work again? I'm guessing I probably have to manually update the firmware? Also just to confirm, from the AP I can telnet into port 8443 and 8080 of the controller, so I know the tcp connectivity is ok. I can also telnet to port 22 of the AP from the controller host.
Some interesting stuff going on in the logs (on the AP itself). I tried to force the inform url to change, but it's like if it's resolving it wrong.
rohan.loc is 10.1.1.5 but at one point it's trying to go to http://unifi:8080/inform but then it tries to go to http://10.1.1.14:8080/infom. I can't recall what .14 is but think that's the old server. I did a cleanup in my DNS a while back so the reverse for it no longer works, otherwise I could know for sure.
I also tried setting to port 8080, as I think that's actually the proper port for the inform protocol. This is going beyond what any documentation really talks about so kind of grasping at straws.
Oh and to clarify the hostname resolves OK on ap. I just got home from night shift expecting my WiFi to be down but its still working so I think the restore command did not fully restore to factory. I'll play with it more after sleep but open to suggestions.
I have a single AP, with potential plans to add another as I have 2 spares. They are version 1.2.3.360 which I'm guessing is probably too old. When I try to adopt the AP, it just eventually goes to "Disconnected". At one point it was also going to "failed". I went on it and did "syswrapper.sh restore-default".
How do I go about making this work again? I'm guessing I probably have to manually update the firmware? Also just to confirm, from the AP I can telnet into port 8443 and 8080 of the controller, so I know the tcp connectivity is ok. I can also telnet to port 22 of the AP from the controller host.
Some interesting stuff going on in the logs (on the AP itself). I tried to force the inform url to change, but it's like if it's resolving it wrong.
Code:
BZ.v1.2.3# syswrapper.sh set-adopt https://rohan.loc:8443/inform/
Changing inform url to 'https://rohan.loc:8443/inform/'...
done.
BZ.v1.2.3# tail -f /var/log/messages
Nov 29 10:58:07 wapbasement01nloc user.info syslog: ace_reporter.reporter_ok(): [Inform OK] next in 10s
Nov 29 10:58:17 wapbasement01nloc user.info syslog: ace_reporter.reporter_ok(): [Inform OK] next in 10s
Nov 29 10:58:27 wapbasement01nloc user.info syslog: ace_reporter.reporter_ok(): [Inform OK] next in 10s
Nov 29 10:58:37 wapbasement01nloc user.info syslog: ace_reporter.reporter_ok(): [Inform OK] next in 10s
Nov 29 10:58:47 wapbasement01nloc user.info syslog: ace_reporter.reporter_ok(): [Inform OK] next in 10s
Nov 29 10:58:57 wapbasement01nloc user.info syslog: ace_reporter.reporter_ok(): [Inform OK] next in 10s
Nov 29 10:59:20 wapbasement01nloc user.err syslog: ace_reporter.reporter_fail(): server unreachable
Nov 29 10:59:20 wapbasement01nloc user.err syslog: ace_reporter.reporter_fail(): inform failed #1 (last inform: 23 seconds ago), rc=3
Nov 29 10:59:40 wapbasement01nloc user.err syslog: ace_reporter.reporter_fail(): server unreachable
Nov 29 10:59:40 wapbasement01nloc user.err syslog: ace_reporter.reporter_fail(): inform failed #2 (last inform: 43 seconds ago), rc=3
Nov 29 11:00:13 wapbasement01nloc user.err syslog: ace_reporter.reporter_fail(): server unreachable
Nov 29 11:00:13 wapbasement01nloc user.err syslog: ace_reporter.reporter_fail(): inform failed #3 (last inform: 76 seconds ago), rc=3
Nov 29 11:00:13 wapbasement01nloc user.err syslog: ace_reporter.reporter_fail(): [STATE] entering SELFRUN!!!!
Nov 29 11:00:33 wapbasement01nloc user.err syslog: ace_reporter.reporter_fail(): server unreachable
Nov 29 11:00:33 wapbasement01nloc user.info syslog: ace_reporter.reporter_next_inform_url(): next inform url[1]=http://unifi:8080/inform
Nov 29 11:00:38 wapbasement01nloc user.err syslog: ace_reporter.reporter_inform(): Failed resolving URL 'http://unifi:8080/inform'
Nov 29 11:00:38 wapbasement01nloc user.err syslog: ace_reporter.reporter_fail(): server unreachable
Nov 29 11:00:38 wapbasement01nloc user.info syslog: ace_reporter.reporter_next_inform_url(): next inform url[0]=http://10.1.1.14:8080/inform
Nov 29 11:00:43 wapbasement01nloc user.info syslog: ace_reporter.reporter_set_managed(): [STATE] enter MANAGED
Nov 29 11:00:44 wapbasement01nloc user.info syslog: ace_reporter.reporter_ok(): [Inform OK] next in 10s
Nov 29 11:00:53 wapbasement01nloc user.info syslog: ace_reporter.reporter_ok(): [Inform OK] next in 10s
Nov 29 11:01:03 wapbasement01nloc user.info syslog: ace_reporter.reporter_ok(): [Inform OK] next in 10s
rohan.loc is 10.1.1.5 but at one point it's trying to go to http://unifi:8080/inform but then it tries to go to http://10.1.1.14:8080/infom. I can't recall what .14 is but think that's the old server. I did a cleanup in my DNS a while back so the reverse for it no longer works, otherwise I could know for sure.
I also tried setting to port 8080, as I think that's actually the proper port for the inform protocol. This is going beyond what any documentation really talks about so kind of grasping at straws.
Oh and to clarify the hostname resolves OK on ap. I just got home from night shift expecting my WiFi to be down but its still working so I think the restore command did not fully restore to factory. I'll play with it more after sleep but open to suggestions.
Last edited: