coova / coova-chilli

CoovaChilli is an open-source software access controller for captive portal hotspots.
Other
516 stars 258 forks source link

splash page local #269

Open keulu opened 8 years ago

keulu commented 8 years ago

Hi guys,

I'have a problem since a couple of days, i would to know if it is possible to use the splash page in local from my router.

I didn't compiled coova with miniportal, so i don't have the coova web server, i use monkey web server.

so my question is : Can coova resolve and allow access to something like that "www.splash.local/index.php" which is not DNS resolvable ? And how can i do that.

I tried a lot of things, no one worked :(

thanks for your answers :)

irongomme commented 8 years ago

Hey @keulu ,

What about using dnsmak to have a local dns resolution ?

Or you could use the hosts file too ...

keulu commented 8 years ago

well, i tried to use the hosts to point "www.splash.local" to 127.0.0.1, but it didn't work. i also opened it in uamallowed or uamdomain, no one work i don't tried dnsmasq. but is that the only way ?

irongomme commented 8 years ago

If you're using dnsmask, you need to tell in coova conf to use its own dns as first dns server, thus it can resolve your local domain from coova clients.

keulu commented 8 years ago

ok thx @irongomme i will try that next week ;)

adrienb4 commented 7 years ago

Et sinon il n'est pas plus simple de recompiler Coova avec l'option miniportal ? Ou alors de regarder une config similaire dans un certain aquarium ?

Faut réviser ou apprendre vos cours réseau les gas :)