maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Nokia 770 as USB wifi device. (https://talk.maemo.org/showthread.php?t=2206)

Coolty 2006-06-16 05:43

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 ;)

=DC= 2006-06-16 09:33

Quote:

Originally Posted by Coolty
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 ;)

Interesting idea, could serve as a nice hardware firewall with the right configuration as well I would think.

HardCoder 2006-06-16 12:43

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

Odin 2006-06-17 00:37

Yes, who is willing to do it...
 
Quote:

Originally Posted by Coolty
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 ;)

Way more trouble than it is worth.

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.

hallgreng 2006-06-17 08:17

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

HardCoder 2006-06-17 11:00

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.

hallgreng 2006-06-17 18:45

Quote:

Originally Posted by HardCoder
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.

There is always a better way, and this is it =]

Coolty 2006-06-17 18:48

HardCoder, could you perhaps elaborate a little on your method?
what would the route command involve typing?

hallgreng 2006-06-17 19:14

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>
on the workstation would do the trick.
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.

Coolty 2006-06-17 19:43

No no.. i mean if i'm on windows xp, how would i get the nokia to 'bridge' the wlan to the usb ?


All times are GMT. The time now is 14:32.

vBulletin® Version 3.8.8