Active Topics

 


Reply
Thread Tools
Posts: 840 | Thanked: 823 times | Joined on Nov 2009
#1
I tried searching for this and I've seen it the other way round only.

Can the n900 be used as a wifi adaptor for a PC. So the phone connects to wifi and the PC shares the connection through USB?
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#2
I think there's a wiki page on that. I never tried to do it that way though, so I don't have advice on the matter.
 

The Following User Says Thank You to Mentalist Traceur For This Useful Post:
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#3
Originally Posted by Cue View Post
I tried searching for this and I've seen it the other way round only.

Can the n900 be used as a wifi adaptor for a PC. So the phone connects to wifi and the PC shares the connection through USB?
I haven't tried it yet, but in theory:

1) Establish USB networking: http://wiki.maemo.org/N900_USB_networking
2) Establish WiFi connection on N900 side, such that wlan0 is up
3) Use iptables to establish NAT:

Code:
iptables -F
iptables -t nat -F

iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
4) Enable IP forwarding:

Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
Tell us if you get it working.
 

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


 
Forum Jump


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