|
|
2010-07-11
, 21:43
|
|
Posts: 42 |
Thanked: 27 times |
Joined on Jun 2010
|
#2
|
dhcp-range=192.168.200.2,192.168.200.50,255.255.255.0,24h dhcp-option=3,192.168.200.1 dhcp-option=6,192.168.200.1 dhcp-leasefile=/tmp/dnsmasq.wlan0.leases
$ dnsmasq -a 192.168.200.1 -d -i wlan0 -z \ -C /path/to/dnsmasq.wlan0.conf -I lo -I usb0
| The Following User Says Thank You to jormartr For This Useful Post: | ||
|
|
2010-07-12
, 06:18
|
|
|
Posts: 145 |
Thanked: 44 times |
Joined on Jun 2010
@ Sydney
|
#3
|
I already use the stock dnsmasq that comes with maemo.
Create your config file somewhere, my config file for the wifi interface is as simple as
I launch dnsmasq like thisCode:dhcp-range=192.168.200.2,192.168.200.50,255.255.255.0,24h dhcp-option=3,192.168.200.1 dhcp-option=6,192.168.200.1 dhcp-leasefile=/tmp/dnsmasq.wlan0.leases
The -I part is important.Code:$ dnsmasq -a 192.168.200.1 -d -i wlan0 -z \ -C /path/to/dnsmasq.wlan0.conf -I lo -I usb0
Just need to confirm if there is a way to run a DHCP server on the N900 to server IP's over Wi-Fi to other local devices ?
This package appears to have that feature but unsure if it will work or can be installed as is on an N900.
Dnsmasq 2.45-1+lenny1+maemo3+0m5
http://maemo.org/packages/package_in...y1+maemo3+0m5/
Anybody know ?