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)

miked1541 2011-12-06 23:10

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

Originally Posted by kolos (Post 1134225)
Qt Mobile Hotspot works fine with KP 49.

Was interested in the shell script version but I'll give this a try.

Thanks,

miked1541

9000 2011-12-08 07:33

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
The other point of using this script version is lower power consumption. Thanks for all the feedback.

miked1541 2011-12-08 23:04

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

Originally Posted by 9000 (Post 1134875)
The other point of using this script version is lower power consumption. Thanks for all the feedback.

Yes, lower power consumption is what I am also interested in! I will try the script this evening on KP49 and holla back.

miked1541

Estel 2011-12-09 00:34

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
9000, could You explain where exactly script version uses less power than new qt mobile hotspot?

Bluetooth PAN is obvious power-saver, but WiFi? I may be wrong, but AFAIK QT mobile hotspot use static GUI that run set of scripts, and in this thread we got scripts itself. Doesn't leave much room for power-saving.

/Estel

9000 2011-12-09 02:06

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

Originally Posted by Estel (Post 1135264)
9000, could You explain where exactly script version uses less power than new qt mobile hotspot?

Bluetooth PAN is obvious power-saver, but WiFi? I may be wrong, but AFAIK QT mobile hotspot use static GUI that run set of scripts, and in this thread we got scripts itself. Doesn't leave much room for power-saving.

/Estel

I'm actually comparing to Joikuspot in term of power consumption, and referring to the technical issues of mobile hotspot with kernel update, and that occasional technical issues is what driven me to make a script version.

Of course, I'd be grateful if you'd help do the battery profiling and comparison with mobile hotspot, and share with us the results. ;)

miked1541 2011-12-09 09:37

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
I tested the scripts this evening and it seems to work fine with KP49. Thank you very much for sharing this, 9000!

miked1541

Estel 2011-12-12 14:30

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
I've no experience nor interest in using Joikuspot, but as for QT Mobilehotspot (!= mobilehotspot package!), it is working flawlessly - it seems, that all issues of original mobilehotspot have been fixed. For me, it's stable quality.

Not to mention many additional (optional) features like automatic USB networking and internet sharing, but it's quite off-topic here.

As for battery usage tests, I'll perform some as time permits ;)

/Estel

9000 2011-12-13 01:16

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

Originally Posted by Estel (Post 1136589)
I've no experience nor interest in using Joikuspot, but as for QT Mobilehotspot (!= mobilehotspot package!), it is working flawlessly - it seems, that all issues of original mobilehotspot have been fixed. For me, it's stable quality.

Not to mention many additional (optional) features like automatic USB networking and internet sharing, but it's quite off-topic here.

As for battery usage tests, I'll perform some as time permits ;)

/Estel

It is good to hear that.;)

moudy91 2012-03-03 06:30

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
hi guys , i need so help
the hot spot did work perfectly but i need to scan my area for SSID and info.
i did create this but nothing happens, can anyone correct it for me please.
Code:

osso-xterm 'root'
'echo "ifconfig wlan0 up"'
'echo "iwlist wlan0 scan"'
'echo "ifconfig wlan0 down'"


9000 2012-03-05 01:01

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

Originally Posted by moudy91 (Post 1173481)
hi guys , i need so help
the hot spot did work perfectly but i need to scan my area for SSID and info.
i did create this but nothing happens, can anyone correct it for me please.
Code:

osso-xterm 'root'
'echo "ifconfig wlan0 up"'
'echo "iwlist wlan0 scan"'
'echo "ifconfig wlan0 down'"



I wondered the purpose of scanning the area when you are opening the hotspot yourself, save avoiding channel conflict. BTW, you could use WiFieye, it is quite useful.

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.

Halftux 2017-05-19 08:10

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

Originally Posted by pichlo (Post 1528132)
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?

My blaming should emphasis that it could be lost time to work on it and it was related to the topic. I don't want to hurt Android-lovers, many people are satisfied with there Android and it fits there needs. Thats why Android is so successful.
Go ahead blame your Jolla I don't care it is also not a perfect device in my eyes.

In principle all smart phones have there barriers and need to be blamed for the network stuff also the N900.
It is like this, because they want to protect the stupid user and want to satisfy the mobile operators.

However to achieve my individual goals it is the easiest and fastest with N900, it is most flexible.
I guess in my dreams the definition of a smart phone is different like a small mobile computer. Thats why my mobile phone is still a N900 and I have many other smart phones in my drawer which are newer.


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

vBulletin® Version 3.8.8