[prev in list] [next in list] [prev in thread] [next in thread] 

List:       moblin-dev
Subject:    RE: [Moblin Dev] Menlow platform USB network client problem
From:       "Sitbon, Phillip J" <phillip.j.sitbon () intel ! com>
Date:       2008-06-23 19:09:51
Message-ID: C1B6100C383B23438DEC6B1A3D915EAC03F2B3FD () orsmsx411 ! amr ! corp ! intel ! com
[Download RAW message or body]

Quick update:

I was mistaken about the host ignoring pings and arp requests. The USB host does in \
fact get the packets and respond to them, but I have verified that the client doesn't \
get any of the host's responses after the first few... so I am starting to suspect \
the client-side drivers.

- Phillip

-----Original Message-----
From: Du, Alek
Sent: Fri 6/20/2008 5:42 PM
To: Sitbon, Phillip J; Sitbon, Phillip J; dev@moblin.org
Subject: RE: [Moblin Dev] Menlow platform USB network client problem
 
Phillip,

The problem is the network manager try to DHCP an ip address for the usb net \
interface even you assign a static ip already. So please stop the network manager \
before assign IP address to usb0. You could use the following command to stop it.

sudo dbus-send --system --dest=org.freedesktop.NetworkManager       \
/org/freedesktop/NetworkManager   org.freedesktop.NetworkManager.sleep

Thanks,
Alek
-----Original Message-----
From: dev-bounces@moblin.org [mailto:dev-bounces@moblin.org] On Behalf Of Sitbon, \
                Phillip J
Sent: 2008?6?21? 2:51
To: Sitbon, Phillip J; dev@moblin.org
Subject: [Moblin Dev] Menlow platform USB network client problem


I am resending this because it looks like the last one got eaten. I apologize for any \
duplicates.

----------------------

Hello,

I've been attempting to get USB client networking operational with kernel versions \
2.6.22-31 and 2.6.24-13 (the latter of which has some display issues that I won't \
address here).

I am able to unload the g_file_storage module and then modprobe g_ether, followed by \
setting up the network details for usb0. It seems fine at first, but after 6 or 8 \
pings (never any other number) to the remote (USB host) machine, it fails and stops \
responding. Sometimes the network config for usb0 is cleared, but usually not.

Attached is the kernel log with some debug messages from the Menlow system resulting \
from the following commands:

ifconfig usb0 down
ifconfig usb0 up
ifconfig usb0 1.0.2.2 netmask 255.255.255.0
route del -net 1.0.2.0 netmask 255.255.255.0 dev usb0
route add -host 1.0.2.1/32 dev usb0
ping 1.0.2.1

I believe the pings start where it says "usb0: no IPv6 routers present" but can't \
recall at the moment.

It seems to me that this is most likely a kernel issue, as I haven't had any problems \
with the g_file_storage module at all. This problem has been observed with 2 \
different hosts and the same behavior, but I haven't tested it on another Menlow \
system yet. The problem is present whether or not I use RNDIS.

Let me know if I'm missing something of if you need more info, and thanks in advance \
for any help.

Cheers,

Phillip Sitbon
Intel UMG



_______________________________________________
dev mailing list
dev@moblin.org
https://www.moblin.org/mailman/listinfo/dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic