1
Security and Networking / Almost Have Full Usb Networking With 5500
« on: August 02, 2005, 05:37:26 pm »Quote
QuoteFrom Zauraus and using su mode:Just in case I had perhaps messed things up, I went back and flashed the ROM again from the OpenZaurus site. I then followed [a href=\"http://openzaurus.org/wordpress/howto/usb-networking/]these instructions[/url] to get basic USB networking up and running.
route add default gw 192.168.129.1
route add -host 192.168.129.1 usbd0
Next, add the following in /etc/resolv.conf
nameserver ISPnameserverIP
I hope the above will help.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
Once I had confirmed that I was able to ping both ways (to and from Zarus and laptop), I executed the suggested "route" commands on my Zaurus and added the nameserver line to /etc/resolv.conf.
I'm still having serious connectivity issues from the Zaurus through my laptop. I can get to my laptop, but not through it. Let me explain.
The ip my Zaurus is set to is 192.168.129.201. I am able to ping from my laptop to this ip address with no problems.
The usb0 ip adddress on my laptop is 192.168.129.1. I am able to ping from the Zaurus to this ip address with no problem.
The eth0 ip address on my laptop is 172.16.105.182. I am able to ping from the Zaurus to this ip address with no problem.
The gateway from my network has an ip address of 172.16.105.1. I am unable to ping this ip address from my Zaurus. Similarly, I am unable to ping any of our nameservers by ip address.
What am I missing? What am I doing wrong?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=90541\"][{POST_SNAPBACK}][/a][/div]
It sounds like you are doing it right. The problem is not so much on your Zaurus' side but on your laptop's side instead. Your laptop has to be setup to do IP forwarding for your Zaurus: right now your laptop is connected to the internet as a client, but it is probably not set up to act as a gateway for your Zaurus.
You can use iptables on your laptop for that. I can never quite remember how it is done in detail, but look at the HOWTO's on your laptop (should be in something like /usr/share/doc/HOWTO or somewhere around there): the ones that have "masquerading" (IPMasquerade and Simple-Masquerade?) will explain the issue in more detail and show how to set it up...
Hope this helps...