OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: leland on September 01, 2006, 06:46:44 pm

Title: Network Bridge Help And Discussion
Post by: leland on September 01, 2006, 06:46:44 pm
I almost have network bridging working - and I figure others have questions too so I figure I will start a new topic.

I have bridging working to the point where my desktop connects to the web with it, and dmesg shows that usb0 is added to br0, and I can confirm that dhcpd works for br0.

However, I don't seem to have the zaurus connection part right. It says it has usbd0 net up, but I do not have any real connetion to the net. Ping gets no response. I am using OZ-GPE so the net-settings screen is different than the opie one. Perhaps someone could explain what I should write into the /etc/network/interfaces file instead ?
Title: Network Bridge Help And Discussion
Post by: NickNak on September 04, 2006, 03:19:38 pm
Sorry about the delay in replying.  It's just dawned on me that bridging is not appropriate for the case where you have a single PC connected directly to the internet (i.e. with a public IP address assigned by your ISP, e.g via a cable or ADSL modem), it is only of use where your PC connects via some kind of router and hence gets assigned a private IP address (e.g. 192.168.1.1). In this case you can assign another private IP address on the same subnet to the Zaurus.  If this is the setup you have, you should be able to configure the Zaurus's interface by dhcp by putting something like this in your /etc/network/interfaces file.

iface usbd0 inet dhcp

I have noticed it sometimes takes up to a minute from switching on the Zaurus before it becomes part of the network.  Once you get it working, check the Troubleshooting section of http://wiki.openzaurus.org/HowTos/Bridging_with_Gentoo (http://wiki.openzaurus.org/HowTos/Bridging_with_Gentoo) you may need to adjust the MTU.
Title: Network Bridge Help And Discussion
Post by: leland on September 04, 2006, 06:01:15 pm
Hmmmm - bridge or not to bridge ?

I have a single PC, but I connect to the internet via a LAN that I recieve an adress for by dhcpcd. Is bridging for me?


Quote
Sorry about the delay in replying.  It's just dawned on me that bridging is not appropriate for the case where you have a single PC connected directly to the internet (i.e. with a public IP address assigned by your ISP, e.g via a cable or ADSL modem), it is only of use where your PC connects via some kind of router and hence gets assigned a private IP address (e.g. 192.168.1.1). In this case you can assign another private IP address on the same subnet to the Zaurus.  If this is the setup you have, you should be able to configure the Zaurus's interface by dhcp by putting something like this in your /etc/network/interfaces file.

iface usbd0 inet dhcp

I have noticed it sometimes takes up to a minute from switching on the Zaurus before it becomes part of the network.  Once you get it working, check the Troubleshooting section of http://wiki.openzaurus.org/HowTos/Bridging_with_Gentoo (http://wiki.openzaurus.org/HowTos/Bridging_with_Gentoo) you may need to adjust the MTU.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=140694\"][{POST_SNAPBACK}][/a][/div]