![]() |
Nokia 770 as USB wifi device.
Just a crazy thought, but would it be at all possible to use the nokia 770 as a wifi card to access the internet with on your PC via usb?
I'm sure it IS possible, but who is willing to do it ;) |
Quote:
|
Woulden't it be easier to just set it up as a router and use usb networking? That should be possible right now...
http://maemo.org/maemowiki/?action=f...esearch=Titles USB networking howtos |
Yes, who is willing to do it...
Quote:
1) Easier to get a Wi-Fi card for the PC. 2) To make it work, you would need to follow shared network protocols--what a hassle. |
It should be easy if USB networking is already set up.
Someone needs to compile iptables support into the kernel (they could be distributed as modules in a repo since we are all using the same kernel and compiler from nokia) and then port iptables itself (who knows how much/little work that would be). From there it is trivial to forward traffic from one interface to another. All that is needed is iptables... Though there may be an even simpler way, I only know how to do it with iptables or ipchains |
if you do not need NAT then you don't need iptables.
just do a "echo 1 > /proc/sys/net/ipv4/ip_forward" to start the routing on the 770 then add the correct routes with the "route" command. |
Quote:
|
HardCoder, could you perhaps elaborate a little on your method?
what would the route command involve typing? |
I am just guessing, because I do not know of any way to route traffic using route from the server, but I believe that
Code:
$route add default gw <nokia.770.ip.address> dev <usb_network_interface>That just tells your workstation to route all internet traffic through the nokia using the usb network device the nokia is plugged into. If the nokia is forwarding packets at this point, then it should be a simple gateway and this will work. |
No no.. i mean if i'm on windows xp, how would i get the nokia to 'bridge' the wlan to the usb ?
|
Quote:
The precedure is a bit tricky and would be simpler to do with iptables and NAT. Your friends network uses the network 192.168.1.0/24 and your usb-network uses 192.168.2.0/24. On your N770 you would have to enter the command "echo 1 > /proc/sys/net/ipv4/ip_forward" to enable routing. On your friends router you would have to set up a new route to your usb-network so that your friends router knows where to send packets adressed to your usb-network. Hopefully your friends router does support this. If it is a linux box then one would enter the command "route add -net 192.168.2.0/24 gw <ip address to wireless interface on your 770>" example route add -net 192.168.2.0/24 gw 192.168.1.16 It's a bit hard to understand if you do not know about routes and how the IP technology works. Using IPtables and NAT you wouldn't need to set up the route on the router. But you would have to configure iptables. But there are good guides for that. :) |
| All times are GMT. The time now is 05:25. |
vBulletin® Version 3.8.8