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.
Trying to connect to the N900 with an Android phone, I don't see honeypot in the list of Wifi networks near me. I ran the script as is, and it reported no problems.
Trying to connect to the N900 with an Android phone, I don't see honeypot in the list of Wifi networks near me. I ran the script as is, and it reported no problems.
Standard Android doesn't support to connect to ad-hoc mode.
There could be two solutions.
1. Make your Android able to connect to ad-hoc.
2. Or rewrite the wifi driver for N900 to support direct link.
You could also use genwall and share the internet connection over bluetooth.