maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   [HOWTO] N900 WiFi Hotspot (shell script version) (https://talk.maemo.org/showthread.php?t=73406)

mauron85 2013-03-11 09:34

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
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.

impeham 2014-08-25 21:46

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
I don't know if 9000 still available - i was hoping he might help with this:
http://talk.maemo.org/showthread.php...13#post1436813

chill 2017-05-10 15:36

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
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.

Halftux 2017-05-10 17:00

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
Quote:

Originally Posted by chill (Post 1527875)
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.

chill 2017-05-18 12:47

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
But I can't see that Android can connect to the internet via a paired Bluetooth device.

Halftux 2017-05-18 15:59

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
Quote:

Originally Posted by chill (Post 1528119)
But I can't see that Android can connect to the internet via a paired Bluetooth device.

Nothing is easy with Android, if you do network stuff. It is designed for writing whatsapp messages for people who don't know personal computers :)

I thought it should work, I never tried.
Have a look here. Maybe it helps.

pichlo 2017-05-18 18:07

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
Quote:

Originally Posted by Halftux (Post 1528124)
Nothing is easy with Android, if you do network stuff. It is designed for writing whatsapp messages for people who don't know personal computers :)

Am I the only one seeing a contradiction between sentence one and sentence two?

Besides, blaming Android is getting a bit old. Who are you going to blame for my Jolla also not seeing the hotspot created by my N900?

reinob 2017-05-18 18:24

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
Quote:

Originally Posted by pichlo (Post 1528132)
Who are you going to blame for my Jolla also not seeing the hotspot created by my N900?

Jolla actually uses the Android kernel and modules, so so much for blaming Android :)

chill 2017-05-18 18:35

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
Quote:

Originally Posted by Halftux (Post 1528124)
Nothing is easy with Android, if you do network stuff. It is designed for writing whatsapp messages for people who don't know personal computers :)

I thought it should work, I never tried.
Have a look here. Maybe it helps.

Yeah I've seen that and other web sites, but it looks like there is no magic wand out there.

pichlo 2017-05-18 19:09

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
Quote:

Originally Posted by reinob (Post 1528134)
Jolla actually uses the Android kernel and modules...

but it uses its own userland.


All times are GMT. The time now is 09:11.

vBulletin® Version 3.8.8