I just installed Coova and selected the Embedded Portal HotSpot configuration.
I must be doing something wrong because when I try to access a web page, the Coova redirect page shows for a minute, and then it pops to a fairly long and mangled URL starting with "Http://localhost.ap.coova.org:3442/www/login.chi?...".
The page can't be found because localhost.ap.coova.org doesn't resolve with DNS.
Mkes me think there's something not configured right, but I can't find it. Any hints would be greatly appreciated.
Re: localhost.ap.coova.org:3442 Failure
And to think, you're not even running windows!
Yes, browsers cache DNS themselves...
Re: localhost.ap.coova.org:3442 Failure
OK, fixed it! The issue is not with the Access Point but the client. I rebooted the Mac OS X laptop and it worked fine. I guess it cached something from yesterday, I've changed the internal IPs since then.
Top IT tip - always try the reboot, clients and servers! ;)
Re: localhost.ap.coova.org:3442 Failure
Nope:
cat /etc/hosts
127.0.0.1 localhost OpenWrt
1.1.1.1 exit exit.lan
1.1.1.1 logout logout.lan
10.1.0.1 localhost.ap.coova.org
192.168.1.1 localhost.ap.coova.org
If I replace localhost.ap.coova.org with 10.1.0.1 in the browser it works and takes me to the login / signup page.
Client is Safari on Mac OS X. It worked briefly yesterday, but I've reloaded the firmware a couple of times and erased the nvram since then (it stopped working before I did this).
Any other ideas?
Re: localhost.ap.coova.org:3442 Failure
You can try SSH'ing into the router, and do:
cat /etc/hoststo see the contents of the hosts file. If the localhost.ap.coova.org entry is missing, which it seems (though, should be added automatically during startup), you can add it with:echo "192.168.1.1 localhost.ap.coova.org" >> /etc/hosts(where 192.168.1.1 is your uamlisten IP address - adjust as needed)Re: localhost.ap.coova.org:3442 Failure
I have the same problem. Have tried rebooting the router, no change. Any other ideas?
Re: localhost.ap.coova.org:3442 Failure
That hostname gets resolved in the router (/etc/hosts). Try rebooting to see if everything comes up correctly...