Reply
Thread Tools
Posts: 35 | Thanked: 2 times | Joined on Jan 2008
#1
As the title says, Is it possible?

Did a little research and the threads I looked at didn't give a clear answer.
 
Posts: 1,258 | Thanked: 672 times | Joined on Mar 2009
#2
Is it possible with the software currently installable for nit? I don't think so

Is it possible? With a custom built kernel with more advanced routing and bridging abilities enabled, and some userland tools, it would be possible to bridge wifi and usbnet.

I don't know how to do it even with a full-featured non-slim kernel though so don't ask me
 
Johnx's Avatar
Posts: 643 | Thanked: 628 times | Joined on Mar 2007 @ Seattle (or thereabouts)
#3
Alright, I had to spend some time tracking this down so here's the scoop (This will probably only work with a linux desktop and a linux-based router, or one you can control the routing table on. I have instructions for Debian/Ubuntu, adjust as necessary):
0) Get rootsh (and openssh-server to make your life easier later. Not strictly necessary) installed. It's in extras.
1) On the tablet: Install maemo-control-usb (from extras)
2) Control Panel -> USB Networking -> Setup USB networking
3) Plug in the USB cable
3) On your PC: Add this to /etc/network/interfaces
Code:
iface usb0 inet static
	address 192.168.2.1
	netmask 255.255.255.0
	broadcast 192.168.0.255
	gateway 192.168.2.15
4) Back on the tablet, as root:
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
route del default usb0
5) On your router: Add a route to 192.168.2.1 . If your router runs linux: route add -net 192.168.2.0 netmask 255.255.255.0 gw <IP Address of Tablet's wlan0 interface>
Mine looks like this:
Code:
route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.115
. If you want to do that with your router's web based interface, here's the info:
Destination: 192.168.2.0
Gateway: <Your tablet's wifi IP address>
Subnet Mask: 255.255.255.0
Interface: LAN

Normal networking troubleshooting tips apply (Ping is your friend. So is traceroute. Might want to get to know nslookup as well). This should work with any version of the kernel. Poke at me and I'll try and clarify this if I can.

-John
 

The Following User Says Thank You to Johnx For This Useful Post:
Posts: 35 | Thanked: 2 times | Joined on Jan 2008
#4
thanks s lot.. although it would be nice if it will work with windows too...
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 21:15.