Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Headrush

Pages: [1]
1
Angstrom & OpenZaurus / Usb Connection Howto
« on: December 04, 2005, 03:41:48 pm »
I had this usbd connection working perfectly and then something has changed and I can't figure it out.

I am on Gentoo and set up bridging like NickNak suggested. The PC has address 192.168.13.100 and the Zaurus gets 192.168.13.113.
My PC goes to a router @ 192.168.13.1

This is the dmesg on PC when Zaurus inserted into cradle

Code: [Select]
usb 4-1: new full speed USB device using uhci_hcd and address 15
usb0: register 'zaurus' at usb-0000:00:10.3-1, Sharp Zaurus SL-5x00, 36:78:db:4c:f0:41
device usb0 entered promiscuous mode
br0: port 2(usb0) entering learning state
br0: topology change detected, propagating
br0: port 2(usb0) entering forwarding state
I can ping the PC, and router without issue. I can also ping any web address by name or IP address.

If I do a traceroute to any web address I can see the packets routed properly.

If I try any network program on the Zaurus, they do nothing. Includes, ipkg, wget, konq-embedded. All the sites are working

Any ideas or suggestions?

2
Quote
What does:

ipkg list_installed *libq*e*

give you?


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=98649\"][{POST_SNAPBACK}][/a][/div]
Code: [Select]
root@collie:~# ipkg list_installed *libq*e*
libqpe1 - 1.2.0-r2 -
libqte2 - 2.3.10-r14 - Qt/Embedded Version 2.3.10

3
Quote
Quote
What can i do? I think that i have wrong flashed the palm.....

No, you've flashed the right thing don't worry.

Quote
But when i try to install opie-mediaplayer2 it failed:

Because of this:

Quote
ERROR: Cannot satisfy the following dependencies for opie-mediaplayer2:
opie-mediaplayer2-skin libqpe1 (>= 1.2.0) libqpe1 (>= 1.2.0) tslib-conf libqpe1 (>= 1.2.0) libqpe1 (>= 1.2.0)

The opie-mediaplayer2-skin dep is a know one - you have to manually install one of the two skin files which start opie-mediaplayer2-skin (should be in the feed).

I don't know why you've got these requirements for libqpe1, etc. as they should be installed already.

Which feed are you trying to use? The one which came built in?


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94747\"][{POST_SNAPBACK}][/a][/div]
I have the same problem. Everything is up to date, kernel-r21 and the 3.5.3 updates to libipkg0.

When I try to install almost anything to the sd, (yes formatted ext2), I get the dependency problem of libqpe1>=1.2.0 and libqte2>=2.3.10 needed.

Both are installed in RAM but system doesn't recognize them.

Any ideas/suggestions or links?

4
Angstrom & OpenZaurus / Usb Connection Howto
« on: September 19, 2005, 06:11:22 pm »
Quote
Using an ethernet bridge to plug your Zaurus into your network seems to me preferable to routing a two-node subnet between your PC and the Z and then using NAT to give the Z access to your network/the internet. Details of how to do it are at the usbnet website. On Gentoo, this is particularly easy:

1. Create symlinks to /etc/init.d/net.lo called /etc/init.d/net.usb0 and /etc/init.d/net.br0
2. Put the following in /etc/conf.d/net:

Code: [Select]
bridge_br0="eth0"
# You need to configure eth0 and usb0 as null so that dhcp is not used,
# we don't want IP addresses etc for these interfaces.
config_eth0=( "null" )
config_usb0=( "null" )
# Could use config_br0=( "dhcp" )
config_br0=( "192.168.2.30" )
depend_br0() {
 Â   need net.eth0
}
gateway="br0/192.168.2.1"
# when hotplug configures usb0, add it to the bridge.
postup() {
 Â   local iface=${1}
 Â   if [[ ${iface} == usb0 ]]; then
 Â       brctl addif br0 ${iface}
 Â   fi
}

Obviously tailor the IP addresses to suit.

3. Configure the TCP/IP connecton on the Zaurus to make it part of the same subnet as your PC, e.g.
IP Address = 192.168.2.50
Subnet Mask = 255.255.255.0
Gateway = 192.168.2.1
First and Second DNS the same as your PC.

4. Test the configuration:
 
Code: [Select]
/etc/init.d/net.eth0 stop
/etc/init.d/net.br0 start

then plug in and switch on the PDA.  Check that your PC and PDA have network access
 
5. Make the new configuration permanent:
 
Code: [Select]
rc-update del net.eth0
 rc-update add net.br0 default
[div align=\"right\"][a href=\"index.php?act=findpost&pid=95837\"][{POST_SNAPBACK}][/a][/div]
NickNak, great guide.

I do have a question though: how do eth0 and usb0 get their IP address.
I can manually create the bridge and add the 2 interfaces (eth0 and usb0) to the bridge, but then I have to use ifconfig to give each an IP address.

Is there a way to do this automatically and is it still possible if eth0 uses DHCP to receive it's IP address?

Pages: [1]