I have tried this with 2.4.26-rc2 and 2.6.5 (and even mm versions of it) on my 
desktop.

The Ipaq runs the familiar 0.7.2 version.

What happens.

When the system boots (system being any of the above) the usb0 is properly set 
up (ifconfig shows nice info)

When I up the interface (usbf) on my ipaq (which uses dns and dhcp) I get an 
dhcp address and CAN connect to the dns server (which runs on my desktop).

I can also PING to my desktop either with fixed IP addresses or with DNS 
names.

However.  When I try to do anything else (like connect using ssh or telnet to 
a port of a service know to be running on a fixed port) the client connecting 
to the service hangs on the 'connect' system call (checked with strace).

I checked my firewall settings :

:INPUT ACCEPT [2882:494924]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [2047:155319]
-A INPUT -s 12.1.0.1 -d 12.1.0.255 -i usb0 -j ACCEPT
-A INPUT -i usb0 -p udp -m udp --sport 68 --dport 67 -j ACCEPT
-A OUTPUT -o usb0 -p udp -m udp --sport 67 --dport 68 -j ACCEPT
COMMIT
# Completed on Mon Apr 12 03:23:58 2004
# Generated by iptables-save v1.2.9 on Mon Apr 12 03:23:58 2004
*nat
:PREROUTING ACCEPT [154:10965]
:POSTROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:fromlocal - [0:0]
-A POSTROUTING -s 12.1.0.0/255.255.255.0 -j fromlocal
-A POSTROUTING -s 224.0.0.0/240.0.0.0 -j fromlocal
-A POSTROUTING -j MASQUERADE
-A fromlocal -d 12.1.0.0/255.255.255.0 -j ACCEPT
-A fromlocal -d 224.0.0.0/240.0.0.0 -j ACCEPT
-A fromlocal -d 127.0.0.1 -j ACCEPT
-A fromlocal -j MASQUERADE
COMMIT

12.1.0.1 is the USB Ip address of the desktop.  the Ipaq gets an address 
12.1.0.10 and up.

I also get the following messages on my ipaq's dmesg :

usb_recv: RPC for non-existent buffer
usb_recv: fifo screwed, shouldn't contain data
NETDEV WATCHDOG: usbf: transmit timed outNETDEV WATCHDOG: usb0: transmit timed 
out
Which prompted me to ask for help here.

on the desktop I get

NETDEV WATCHDOG: usb0: transmit timed out
NETDEV WATCHDOG: usb0: transmit timed out
NETDEV WATCHDOG: usb0: transmit timed out
NETDEV WATCHDOG: usb0: transmit timed out
usb.c: USB disconnect on device 00:03.1-2 address 3
usb0: unregister usbnet usb-00:03.1-2, Linux Device
hub.c: new USB device 00:03.0-2, assigned address 2
usb0: register usbnet usb-00:03.0-2, Linux Device
NETDEV WATCHDOG: usb0: transmit timed out

usbf: no IPv6 routers present

Could there be something wrong with usbnet ?

W


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to