maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   N900 as a wireless modem router (https://talk.maemo.org/showthread.php?t=34380)

aleks 2009-11-13 03:56

N900 as a wireless modem router
 
I have searched so forgive me if there is a thread on this.

Is anyone developing/developed anything that can make the N900 a wireless modem router?


Cheers, Alex.

allnameswereout 2009-11-13 04:19

Re: N900 as a wireless modem router
 
Hello alex,

Yes, one can enable officially unsupported Bluetooth profiles such as PAN and DUN. Wiki page. This involves the command line interface though.

aleks 2009-11-13 04:58

Re: N900 as a wireless modem router
 
Cool, thanks for that. How about over wifi/wlan?

allnameswereout 2009-11-13 05:29

Re: N900 as a wireless modem router
 
Ahh yes. You mean something like Joikuspot. That feature is rather often requested but AFAIK nobody tried this yet, and there is not a nice GUI for this either. However the functionality is relatively simple and straightforward. Once I have the device I will write about this on the Maemo wiki. However, the solution will involve again command line interface. Maybe someone will write a GUI for this some time.

How well this works depends on if the WiFi driver can be put in Access Point/Master mode. If that doesn't work, you need ad-hoc. This means only 1 device, and WiFi PSM (Power Save Mode) will be disabled which means the device will use considerable juice. Like with Joikuspot. Actually, using both GPRS and WiFi will lower battery life significantly. There is also no encryption used between devices when using ad-hoc. It only supports plain-text or WEP. If the WiFi driver supports putting the WiFi chip in Access Point/Master mode then that is a big plus.

So first the WiFi interface must be set up correctly using iwconfig and ifconfig.

Once the connection is established do this to enable NAT on wlan0 from 192.168.0.0/24 (aka 192.168.0.*) execute as root:
ifconfig wlan0 192.168.0.1 netmask 255.255.255.0 # assign IPv4 192.168.0.1 for range 192.168.0.0/24
sysctl net.ipv4.ip_forward=1 # enable device-wide IPv4 forwarding
modprobe ip_tables # load IPT (IPTables) kernel module
modprobe iptable_nat # load IPT NAT kernel module
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -i wlan0 -o ppp0 -j MASQUERADE # NAT for dynamic IPv4 on output interface ppp0 from input interface wlan0 from source range 192.168.0.0/24

Then give client IPv4 192.168.0.2 (for example, or anything inbetween .2 and .254), netmask 255.255.255.0, gateway 192.168.0.1, and dns your provider's. Now should work. Optionally, fire up VPN client because of lack of good cryptography.

Ofcourse, best is AP/Master mode + WPA2 + DHCP server (exporting dnsmasq on WLAN)...

Assigning IPv6 range + rtadvd is also neat...

fouro 2009-11-13 10:02

Re: N900 as a wireless modem router
 
It would seem that Joikuspot is coming to N900 early 2010.

Only found a Finnish news story about it:
http://www.tietokone.fi/uutiset/suos...nokia_n900_lle

Helmuth 2009-11-19 09:38

N900 as W-LAN Router?
 
Hello Community,

Is it possible to use the W-Lan Module in the N900 as a Host?

It would be nice to use it as a W-Lan Access Point to have access to the Internet over GSM/3G.

I guess it will not work with the internal W-Lan, am I right?

cu
Helmuth

impatient 2009-11-19 09:47

Re: N900 as W-LAN Router?
 
Second that request. I would miss this after getting so used to Jokuspot. I am pretty sure it is possible to do but would be nice to have it confirmed.

edgar2 2009-11-19 09:47

Re: N900 as W-LAN Router?
 
please do a search before starting a new thread. by simply searching for "n900 wlan router" i came across this thread which discusses exactly the same.

locusf 2009-11-19 11:18

Re: N900 as W-LAN Router?
 
http://translate.google.com/translat...L_enFI308FI308

sjgadsby 2009-11-19 14:30

Re: N900 as a wireless modem router
 
Threads merged.

myk 2009-12-21 07:55

Re: N900 as a wireless modem router
 
Quote:

Originally Posted by sjgadsby (Post 382166)
Threads merged.

Ah! So that is why edgar2 has posted a recursive link above.

Jeromeo 2010-02-10 17:27

Re: N900 as a wireless modem router
 
It's coming soon...
http://pocketnow.com/software-1/noki...wifi-tethering

Gorilla72 2010-02-21 07:38

Re: N900 as a wireless modem router
 
I get an error when using the program. The program appears to work, I can see my iMac on the list, but it can't connect. Then if I let it sit, I get the "JoikuSpot error code is 6-49--15" Anyone know what could be causing this??

felbutss 2010-02-21 07:41

Re: N900 as a wireless modem router
 
hhhmmm well it is in beta version 0.10. log it with joiku

HaydenHarnet 2010-08-01 10:45

Re: N900 as a wireless modem router
 
is Joikuspot available yet for the N900

shadowjk 2010-08-01 15:34

Re: N900 as a wireless modem router
 
Yes it has been for quite a few months.

rami3 2010-08-01 15:58

Re: N900 as a wireless modem router
 
I use Joikuspot all the time, very handy

rambo 2010-08-01 16:28

Re: N900 as a wireless modem router
 
Quote:

Originally Posted by allnameswereout (Post 374574)
How well this works depends on if the WiFi driver can be put in Access Point/Master mode.

Seems that it cannot be.

Quote:

Originally Posted by allnameswereout (Post 374574)
If that doesn't work, you need ad-hoc. This means only 1 device, and WiFi PSM (Power Save Mode) will be disabled which means the device will use considerable juice.

Ad-Hoc does not limit number peers to any arbitary number (but there are of course practical limits), power consumption if a different matter naturally (also, as you stated, because running both radios all the time will consume more power).

You will also need Titans kernel (or some other kernel with netfilter support) since the stock kernel cannot support NAT due to missing netfilter symbols (JoikuSpot does this in a userspace in a rather ugly way [they have trivial network hook kernel module that their closed userland app talks with])

MobileHotspot has scripts for setting up and tearing down the GPRS<->WiFi routing with NAT.

kureta 2011-03-21 20:24

Re: N900 as a wireless modem router
 
Is this what you have been looking for?

http://wiki.maemo.org/N900_USB_router

JadeH 2011-03-22 19:17

Re: N900 as a wireless modem router
 
I doubt that 2 years later the one who made the thread is still watching it...


All times are GMT. The time now is 03:10.

vBulletin® Version 3.8.8