OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> cannot get usb0 in debian 2.6.3
naanu
post May 12 2004, 06:31 AM
Post #1





Group: Members
Posts: 25
Joined: 19-March 04
Member No.: 2,412



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?
Go to the top of the page
 
+Quote Post
lardman
post May 12 2004, 07:25 AM
Post #2





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



What do you get from dmesg when you plug in?
Go to the top of the page
 
+Quote Post
slocaus
post May 12 2004, 07:42 AM
Post #3





Group: Members
Posts: 243
Joined: 16-December 03
From: San Luis Obispo, Ca, USA
Member No.: 1,205



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
Go to the top of the page
 
+Quote Post
asmar
post Sep 18 2004, 03:20 PM
Post #4





Group: Members
Posts: 9
Joined: 13-September 04
Member No.: 4,570



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 wink.gif
Go to the top of the page
 
+Quote Post
gramps
post Nov 24 2004, 06:32 PM
Post #5





Group: Members
Posts: 13
Joined: 22-November 04
Member No.: 5,570



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
Go to the top of the page
 
+Quote Post
MeaninglessNick
post Nov 25 2004, 09:57 AM
Post #6





Group: Members
Posts: 36
Joined: 6-April 04
Member No.: 2,693



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
Go to the top of the page
 
+Quote Post
gramps
post Nov 25 2004, 03:20 PM
Post #7





Group: Members
Posts: 13
Joined: 22-November 04
Member No.: 5,570



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. ???????
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th October 2014 - 06:53 PM