OESF Portables Forum
Everything Else => Desktop Operating Systems Issues => Zaurus General Forums => Archived Forums => Linux Issues => Topic started by: naanu on May 12, 2004, 10:31:51 am
-
I went through all the documents related to connecting z with linux, but could not get the usb0 interface appear in debian 2.6.3 .
In the configuration file, I enabled \'Multi purpose USB Networking Framework(USB_USBNET)\" as module and Sharp Zaurus(Stock ROMs). I\'ve usb-core,usb-uhci as well.
What am i missing?
-
What do you get from dmesg when you plug in?
-
There are many problems with USB in 2.6; I lost usbnetworking from 2.6.3 until 2.6.6rc3. Can you get an updated kernel? Also make sure you have an updated hotplug since so much is changing so quickly with 2.6
-
Hi,
Do the following with the default kernel installed (2.6.3-i-386)
Edit the /etc/hosts and add the line:
192.168.129.201 zaurus
then from a shell:
modprobe uhci_hcd
modprobe ohci_hcd
modprobe ehci_hcd
ifconfig usb0 192.168.129.1 up
then ssh -l root 192.168.129.201 and you are in
-
After following azmar's suggestions in the previous post I'm able to ping my Z. How would I get this to all happen when I turned the Z on in the cradle, I know I could write a script with all the commands in it but I would like it to just happen.
This is all pretty new to me.
Thanks
Allen
-
I use ifplugd, which you might need to install (apt-get install ifplugd should do it).
Somebody can probably tell you how to do it with the builtin hotplug system.
From a previous post
2) added usb0 to /etc/default/ifplugd
INTERFACES="eth0 usb0"
ifplugd is an optional package for debian that configures network interfaces automatically when they show up.
3) added the following to /etc/network/interfaces
iface usb0 inet dhcp
That should do it.
I am using Debian Sarge (testing). I think my kernel 2.6.8.1
-
I found ifplugd last night while reading man pages and install it also. The only difference in the way that you did it and the way I did, I used a static IP address.
/etc/interfaces
# The network interface for the Zaurus
iface usb0 inet static
address 192.168.129.1
pointtopoint 192.168.129.201
netmask 255.255.255.0
When I turn the Z on or place it in the cradle on, the usb0 will come up within a few seconds, but for what ever reason it is using IPv6 so the PC and Z will not communicate. If I bring it up with ifconfig then everything is fine. Havent' figured that one out yet.
Allen
Update; After several reboots it is now using ipv4 so the PC and the Zaurus are able to communicate. Not real sure how I fixed the ipv6 problem. Tried it on a new install of Ubuntu and at 1st had the same problem usb0 was ipv6, then while I was trying to resolve the problem it started showing up as ipv4 so I could comunicate. ???????