Ethernet-over-USB: no IP assigned with latest images (Debian 7.9 2015-11-12, Debian 8.4 2016-05-13)

115 views
Skip to first unread message

Andrey Somov

unread,
May 26, 2016, 5:01:34 PM5/26/16
to BeagleBoard

Hi all,
both latest images (Debian 7.9 2015-11-12, Debian 8.4 2016-05-13)
do not assign an IP address in eth1.
This is already described here:
https://groups.google.com/forum/#!topic/beagleboard/dk7WYe95fTU/discussion

The previous image (Debian 7.8 2015-03-01) works without problems.

I think there should an urgent fix, otherwise the images are hardly usable.

Cheers,
Andrey

Robert Nelson

unread,
May 26, 2016, 5:06:14 PM5/26/16
to Beagle Board, public...@gmail.com
What was the exact "8.4 2016-05-13" image name?

What host are you using?

Linux/Mac/windows?

btw, in newer systemd linux builds, it doesn't show up as ethX device, but instead as enxMACADDRESS..

Regards,

--
Robert Nelson
https://rcn-ee.com/

Andrey Somov

unread,
May 26, 2016, 5:40:46 PM5/26/16
to BeagleBoard
I mean the latest images here: https://beagleboard.org/latest-images

Debian 7.9 (BeagleBone, BeagleBone Black, SeeedStudio BeagleBone Green - 4GB SD) 2015-11-12
sha256sum: f6e67ba01ff69d20f2c655f5e429c3e6c2398123bcd3d8d548460c597275d277

Debian 8.4 (BeagleBone, BeagleBone Black, SeeedStudio BeagleBone Green, SeeedStudio BeagleBone Green Wireless, SanCloud BeagleBone Enhanced, element14 BeagleBone Black Industrial, Arrow BeagleBone Black Industrial - 4GB SD) 2016-05-13
sha256sum: 28d67e877497fb9e52fe605f2cbefdbaedaff23e9fa82e9ed2076ae375aa777f

My Host: Linux Mint 17.3
Linux 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 GNU/Linux

I am afraid here reported the same problem (not possible to connect via ssh):
https://groups.google.com/d/msg/beagleboard/6RQ1FazhuTI/2Gp0R1wGBAAJ

Cheers,
Andrey

Robert Nelson

unread,
May 26, 2016, 5:53:35 PM5/26/16
to Beagle Board
On Thu, May 26, 2016 at 4:40 PM, Andrey Somov <public...@gmail.com> wrote:
I mean the latest images here: https://beagleboard.org/latest-images

Debian 7.9 (BeagleBone, BeagleBone Black, SeeedStudio BeagleBone Green - 4GB SD) 2015-11-12
sha256sum: f6e67ba01ff69d20f2c655f5e429c3e6c2398123bcd3d8d548460c597275d277

Debian 8.4 (BeagleBone, BeagleBone Black, SeeedStudio BeagleBone Green, SeeedStudio BeagleBone Green Wireless, SanCloud BeagleBone Enhanced, element14 BeagleBone Black Industrial, Arrow BeagleBone Black Industrial - 4GB SD) 2016-05-13
sha256sum: 28d67e877497fb9e52fe605f2cbefdbaedaff23e9fa82e9ed2076ae375aa777f

My Host: Linux Mint 17.3
Linux 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 GNU/Linux

I am afraid here reported the same problem (not possible to connect via ssh):
https://groups.google.com/d/msg/beagleboard/6RQ1FazhuTI/2Gp0R1wGBAAJ

Please unplug the unit:

Clear out your dmesg:

sudo dmesg -C

plug in unit

then please pass us:

dmesg

and 

sudo ifconfig -a

Regards,

Andrey Somov

unread,
May 27, 2016, 11:57:13 AM5/27/16
to BeagleBoard
I tried the image
Debian 7.9 (BeagleBone, BeagleBone Black, SeeedStudio BeagleBone Green - 4GB SD) 2015-11-12
sha256sum: f6e67ba01ff69d20f2c655f5e429c3e6c2398123bcd3d8d548460c597275d277

The IP address is assigned randomly. I could not clearly see the pattern. I think it works better if the power is given pluging in the USB cable then when pressing the POWER button on BBB

This is the 'ifconfig -a':
======================================================
br-4270761bdbf4 Link encap:Ethernet  HWaddr 02:42:60:c0:ef:5a 
          inet addr:172.23.0.1  Bcast:0.0.0.0  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

br-4e56a19f7872 Link encap:Ethernet  HWaddr 02:42:7d:ab:f3:4b 
          inet addr:172.19.0.1  Bcast:0.0.0.0  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

br-5f853dc6d996 Link encap:Ethernet  HWaddr 02:42:e4:6d:0a:f0 
          inet addr:172.22.0.1  Bcast:0.0.0.0  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

br-6ef8d2001e87 Link encap:Ethernet  HWaddr 02:42:4c:49:1c:88 
          inet addr:172.21.0.1  Bcast:0.0.0.0  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

br-89dd64f3e0c7 Link encap:Ethernet  HWaddr 02:42:95:bf:54:c8 
          inet addr:172.20.0.1  Bcast:0.0.0.0  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

br-c734abfd4862 Link encap:Ethernet  HWaddr 02:42:26:28:03:b2 
          inet addr:172.18.0.1  Bcast:0.0.0.0  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

docker0   Link encap:Ethernet  HWaddr 02:42:aa:81:55:e2 
          inet addr:172.17.0.1  Bcast:0.0.0.0  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr 28:d2:44:96:fb:15 
          inet addr:10.10.15.39  Bcast:10.10.255.255  Mask:255.255.0.0
          inet6 addr: fe80::2ad2:44ff:fe96:fb15/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12334 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3538 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4939001 (4.9 MB)  TX bytes:355314 (355.3 KB)

eth2      Link encap:Ethernet  HWaddr d0:5f:b8:a3:51:a5 
          inet6 addr: fe80::d25f:b8ff:fea3:51a5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:40 errors:0 dropped:0 overruns:0 frame:0
          TX packets:130 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7659 (7.6 KB)  TX bytes:34695 (34.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:65536  Metric:1
          RX packets:888 errors:0 dropped:0 overruns:0 frame:0
          TX packets:888 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:333933 (333.9 KB)  TX bytes:333933 (333.9 KB)

wlan0     Link encap:Ethernet  HWaddr b8:ee:65:e9:d0:55 
          inet addr:10.12.1.7  Bcast:10.12.3.255  Mask:255.255.252.0
          inet6 addr: fe80::baee:65ff:fee9:d055/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:905 errors:0 dropped:0 overruns:0 frame:0
          TX packets:186 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:123679 (123.6 KB)  TX bytes:35621 (35.6 KB)
=======================================================

This is dmesg:

=============================================
[  909.114477] usb 1-1: new high-speed USB device number 6 using xhci_hcd
[  909.243885] usb 1-1: New USB device found, idVendor=1d6b, idProduct=0104
[  909.243894] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[  909.243898] usb 1-1: Product: BeagleBoneBlack
[  909.243902] usb 1-1: Manufacturer: Circuitco
[  909.243905] usb 1-1: SerialNumber: C0-3614BBBK5263
[  909.278645] usb-storage 1-1:1.4: USB Mass Storage device detected
[  909.278730] scsi host4: usb-storage 1-1:1.4
[  909.278792] usbcore: registered new interface driver usb-storage
[  909.283763] cdc_acm 1-1:1.2: ttyACM0: USB ACM device
[  909.283917] usbcore: registered new interface driver cdc_acm
[  909.283919] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[  909.294718] usbcore: registered new interface driver uas
[  909.318415] usbcore: registered new interface driver cdc_ether
[  909.322954] rndis_host 1-1:1.0 eth1: register 'rndis_host' at usb-0000:00:14.0-1, RNDIS device, d0:5f:b8:a3:51:a5
[  909.323061] usbcore: registered new interface driver rndis_host
[  909.326936] usbcore: registered new interface driver rndis_wlan
[  909.328682] rndis_host 1-1:1.0 eth2: renamed from eth1
[  909.338773] systemd-udevd[3165]: renamed network interface eth1 to eth2
[  910.279584] scsi 4:0:0:0: Direct-Access     Linux    File-CD Gadget   0308 PQ: 0 ANSI: 2
[  910.280312] sd 4:0:0:0: Attached scsi generic sg1 type 0
[  910.280830] sd 4:0:0:0: [sdb] 196608 512-byte logical blocks: (100 MB/96.0 MiB)
[  910.280985] sd 4:0:0:0: [sdb] Write Protect is off
[  910.280991] sd 4:0:0:0: [sdb] Mode Sense: 0f 00 00 00
[  910.281127] sd 4:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  910.282768]  sdb:
[  910.287151] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[  910.543297] FAT-fs (sdb): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
================================================

I hope it helps you to identify the issue.
I can also provide you with 'ifconfig' and 'dmesg' when the IP address is properly assigned.

Cheers,
Andrey




 

Robert Nelson

unread,
May 27, 2016, 12:00:22 PM5/27/16
to Beagle Board
Does it grab an ip with :

sudo dhclient eth2

?

Regards,

Andrey Somov

unread,
May 27, 2016, 12:22:50 PM5/27/16
to BeagleBoard
No, it does not (eth2:avahi was added):


eth2      Link encap:Ethernet  HWaddr d0:5f:b8:a3:51:a5 
          inet6 addr: fe80::d25f:b8ff:fea3:51a5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:38 errors:0 dropped:0 overruns:0 frame:0
          TX packets:243 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7507 (7.5 KB)  TX bytes:64147 (64.1 KB)

eth2:avahi Link encap:Ethernet  HWaddr d0:5f:b8:a3:51:a5 
          inet addr:169.254.9.54  Bcast:169.254.255.255  Mask:255.255.0.0
Reply all
Reply to author
Forward
0 new messages