[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Zaurus and hot-plug



To the best of my knowledge, all network interfaces are identified as eth<n> where <n> is the order in which the kernel finds the device.

So, you probably don't need the usb0 entry in interfaces. I'm completely guessing here, but eth1 is apparently either a virtual interface created to set up a point to point network with the Zaurus on one end and your laptop on the other or the Zaurus itself is acting as a usb network adapter. If you can 'ifup eth1' on your laptop only after connecting the Zaurus, I would start working from there. I don't know anything about the Zaurus, so I would look on it for network settings somewhere. If you can give the Zaurus a static IP and the other important network information, you might be able to just put it on the same subnet as your laptop's eth1 interface. In that case, give eth1 and the Zaurus different IP's and try 'ping'ing between them. If that works, you will also need to enable ip forwarding in /etc/network/options by setting 'ip_forward=yes' and restart networking with '/etc/init.d/networking restart'. I think.

I'm not too familiar with usb network adapters, especially devices pretending to be one, so I can't suggest much there.

Hope this helps, but it's mostly just educated guesses.

Regards,
Pat

Rory Campbell-Lange wrote:
I am running an ibook with a 2.4.19 kernel and I'm trying to connect to
a Zuarus which is connected to my laptop via a usb cable.

I have installed hotplug and installed two configuration parts in my
network interfaces file. I added the eth1 lines after syslog showed an
eth1 entry - but I think I'm trying to do tcp/ip over usb. I'd like to
connect to my laptop initially. After that I'd like to route through my
laptop to hit the net.
Basically, I'm confused.

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
    address 10.0.0.58
    netmask 255.255.255.0
	network 10.0.0.0
	broadcast 10.0.0.255
	gateway 10.0.0.3

iface usb0 inet static
    address 192.168.129.1
	pointopoint 192.168.129.201
	netmask 255.255.255.255

auto eth1
iface eth1 inet static
    address 192.168.129.1
	pointopoint 192.168.129.201
	netmask 255.255.255.255


Syslog:

Mar 11 10:43:06 roz kernel: hub.c: USB new device connect on bus1/1,
assigned device number 3
Mar 11 10:43:06 roz kernel: CDCEther.c: Found Header descriptor, CDC
version 110.
Mar 11 10:43:06 roz kernel: CDCEther.c: Imperfect filtering support -
need sw hashing
Mar 11 10:43:06 roz kernel: CDCEther.c: Can't use
SetEthernetMulticastFilters request
Mar 11 10:43:06 roz kernel: CDCEther.c: detected BULK OUT packets of
size 64
Mar 11 10:43:06 roz kernel: CDCEther.c: eth1: Sharp SL Series
Mar 11 10:43:06 roz kernel: CDCEther.c: eth1: 40:00:02:00:00:01
Mar 11 10:43:06 roz /etc/hotplug/net.agent: invoke ifup eth1
Mar 11 10:43:09 roz /etc/hotplug/usb.agent: Setup acm CDCEther for USB
product 4dd/8004/0
Mar 11 10:43:24 roz modprobe: modprobe: Can't locate module usb0
Mar 11 10:43:30 roz kernel: CDCEther.c: eth1: set multicast filters
Mar 11 10:43:30 roz kernel: CDCEther.c: eth1: too many MC filters for
hardware, using allmulti
Mar 11 10:43:30 roz last message repeated 3 times
Mar 11 10:43:58 roz kernel: CDCEther.c: rx status -110
Mar 11 10:43:58 roz kernel: CDCEther.c: no repsonse in BULK IN
Mar 11 10:43:58 roz kernel: CDCEther.c: rx status -110
Mar 11 10:43:58 roz kernel: CDCEther.c: no repsonse in BULK IN
Mar 11 10:43:58 roz kernel: CDCEther.c: rx status -110
Mar 11 10:43:58 roz kernel: CDCEther.c: no repsonse in BULK IN






Reply to: