maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Neo900 (https://talk.maemo.org/forumdisplay.php?f=57)
-   -   Captive portal with native tools (https://talk.maemo.org/showthread.php?t=95919)

bow_22 2015-09-03 14:36

Captive portal with native tools
 
Hi, I want to setup so calledcaptive portal (in my case it is just plain html webpage - need proof of concept) on n900.
I also have router Huawei e586.
As I understand I need to change dns servers in router to ip adress of n900. DHCP will be managed by router.
On n900 I need running dns server that forwards all requests to specific adress (for example webpage on device itself).
I found some howto describing usage of dnsmasq for this scenario.
But when I try to launch it says "failed to create listening socket"

Is it possible to do this with dnsmasq or I need some other solution.

sicelo 2015-09-03 15:27

Re: Captive portal with native tools
 
dnsmasq should be enough. note that dnsmasq is always running on N900, so you need to kill it first and run it with your new config


All times are GMT. The time now is 16:53.

vBulletin® Version 3.8.8