View Single Post
Posts: 64 | Thanked: 109 times | Joined on Mar 2010
#91
I'm using N900 as router. (using USB RJ45 dongle). I modified your script for that purpose.

Here my remarks:
1. In open_wifi_hotspot.sh there should be:
Code:
stop dnsmasq
before you start your own dnsmasq daemon (in other case, there will be two instances running).

2. I had issues with DNSMASQ with -I parameter set to lo. Basically this limits it to localhost interface and wlan clients didn't obtain DHCP lease. So i removed -I parameter completely

3. In tar ball you have DHCP_RANGE="192.168.4.100,192.168.4.127", but suggest you to put it back to DHCP_RANGE="192.168.1.100,192.168.1.127" (as in first post)

4. In wifi.sh, we should stop dnsmasq daemon (started in open open_wifi_hotspot.sh) and start the default one.

Code:
start-stop-daemon -S -p /var/run/wifi_tethering.pid
start dnsmasq
Anyway thank you for this script. It saved lot of time.
 

The Following User Says Thank You to mauron85 For This Useful Post: