USB Kernel problem with latest SHR unstable

Thomas Otterbein th.otterbein at gmx.net
Fri Apr 24 16:08:27 CEST 2009


On Friday 24 April 2009 15:16:38 Nelson Castillo wrote:
> On Fri, Apr 24, 2009 at 5:42 AM, Thomas Zimmermann
>
> <zimmermann at vdm-design.de> wrote:
> > Am Freitag 24 April 2009 12:20:00 schrieb Robin Paulson:
> >> 2009/4/24 Ben Thompson <bt4 at york.ac.uk>:
> >> ok, i'm confused now. why do i want to run this on my host? the
> >> problem's with the phone, isn't it?
> >
> > I don't know why, but the interface name on my host changed. For me it's
> > now eth1.
>
> Check:
>
> http://lists.openmoko.org/pipermail/devel/2009-April/005384.html
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

On my Ubuntu 8.10 the shr-unstable behaves exactly as described in the link. 
The X depends on your number of network cards. I use a notebook which has a 
cable and a Wifi ethernet adapter named eth0 and eth1. However the Neo becomes 
eth3 as it connects. I collected the information from the Wiki about USB 
Networking in a script, which i use until I managed to integrate the Neo 
better into Ubuntu and it's various network configuration mechanisms. The 
script has a variable for the interface as the first line. Adapt it to your 
needs and run it after you have connected your Neo to the USB port.
I use "ifconfig" to check out the known network cards and their configuration.

Regards
  thomas

No Neo:
eth1      Link encap:Ethernet  HWaddr 00:15:00:22:c5:db
          inet6 addr: fe80::215:ff:fe22:c5db/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:117175 errors:141 dropped:141 overruns:0 frame:0
          TX packets:9346 errors:0 dropped:5 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3955 (3.9 KB)  TX bytes:4599 (4.5 KB)
          Interrupt:21 Memory:c8400000-c8400fff

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:48 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2560 (2.5 KB)  TX bytes:2560 (2.5 KB)

Neo connected:
eth1      Link encap:Ethernet  HWaddr 00:15:00:22:c5:db  
          inet6 addr: fe80::215:ff:fe22:c5db/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:131173 errors:141 dropped:141 overruns:0 frame:0
          TX packets:10491 errors:0 dropped:5 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3955 (3.9 KB)  TX bytes:4599 (4.5 KB)
          Interrupt:21 Memory:c8400000-c8400fff

eth3      Link encap:Ethernet  HWaddr 00:1f:11:01:2e:ee
          inet6 addr: fe80::21f:11ff:fe01:2eee/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1564 (1.5 KB)  TX bytes:580 (580.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:48 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2560 (2.5 KB)  TX bytes:2560 (2.5 KB)

Neo configured with frnet.sh
eth1      Link encap:Ethernet  HWaddr 00:15:00:22:c5:db  
          inet6 addr: fe80::215:ff:fe22:c5db/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:133181 errors:141 dropped:141 overruns:0 frame:0
          TX packets:10667 errors:0 dropped:5 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3955 (3.9 KB)  TX bytes:4599 (4.5 KB)
          Interrupt:21 Memory:c8400000-c8400fff

eth3      Link encap:Ethernet  HWaddr 00:1f:11:01:2e:ee
          inet addr:192.168.0.200  Bcast:0.0.0.0  Mask:255.255.255.0
          inet6 addr: fe80::21f:11ff:fe01:2eee/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:46 errors:0 dropped:0 overruns:0 frame:0
          TX packets:57 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5546 (5.5 KB)  TX bytes:10629 (10.6 KB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:48 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2560 (2.5 KB)  TX bytes:2560 (2.5 KB)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: frnet.sh
Type: application/x-shellscript
Size: 271 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/community/attachments/20090424/a65ae209/attachment.bin 


More information about the community mailing list