This thing works great by the way.....
I'm using the simple hotspot with the ToS page. When a user gets redirected to the ToS, the URL is http://localhost.ap.coova.org:3442." target="_blank Is there any way to modify this to just use the IP address of the AP (the port is fine).
Thanks for the help.....
Chris
Re: Modify redirect URL when using ToS
Apologies for resurrecting this old post - I've been looking for an answer to a similar question with no luck - can localhost.ap.coova.org be changed?
Tried changing it hosts through the interface and in /etc/hosts and just comes back.
Also, is it possible to change location name? I changed that in /etc/chilli/main.conf, but it goes back to the original "My HotSpot".
Thanks,
Jay
Re: Modify redirect URL when using ToS
No, not without changing the code. The main reason why this is using a hostname (which is automatically mapped to your gateway IP on the LAN) is for the Google maps key that is generated for that address.