Skip to content

beaglebone: USB-to-Ethernet interface not working #1

@spagoc

Description

@spagoc

Ubuntu on Beaglebone: how to have USB-to-Ethernet interface working?

I am using Beaglebone booted with Ubuntu following the direction from:

http://elinux.org/BeagleBoardUbuntu#Demo_Image

I also use Ubuntu on my host PC connected to the Beaglebone by a USB
cable only (no LAN cable).
In this configuration USB-to-serial works and I have the very useful
Beaglebone console.
If I boot with Angstrom USB-to-Ethernet works. That is done via an
eth2 interface that appears on my PC and I give it the address
192.168.7.1 (the Beaglebone answer from 192.168.7.2). The USB-to-
Ethernet functionality starts disconnecting the Beaglebone-Angstom USB
mass storage (as I red from the related Beaglebone README.htm). But
when the Beaglebone boots with Ubuntu I have no USB mass storage to
disconnect and no eth2, or similar, interface appears.
So please give me some advice in order to solve my problem.

Thanks

Rino

dmesg+ifconfig on beaglebone:
[ 1.927672] Linux media interface: v0.10
[ 1.932041] lirc_dev: IR Remote Control driver registered, major 250
[ 1.938818] Driver for 1-wire Dallas network protocol.
[ 1.945216] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.952682] device-mapper: uevent: version 1.0.3
[ 1.958336] device-mapper: ioctl: 4.21.0-ioctl (2011-07-06) initialised: dm-devel@redhat.com
[ 1.967778] device-mapper: multipath: version 1.3.0 loaded
[ 1.973623] device-mapper: multipath round-robin: version 1.0.0 loaded
[ 1.983699] usbcore: registered new interface driver snd-usb-6fire
[ 1.991067] ALSA device list:
[ 1.994193] No soundcards found.
[ 1.997768] oprofile: hardware counters not available
[ 2.003176] oprofile: using timer interrupt.
[ 2.009686] TCP cubic registered
[ 2.014510] NET: Registered protocol family 10
[ 2.024324] NET: Registered protocol family 17
[ 2.029370] Registering the dns_resolver key type
[ 2.034380] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 2.042513] ThumbEE CPU extension supported.
[ 2.047037] Registering SWP/SWPB emulation handler
[ 2.053539] omap2_set_init_voltage: unable to get clk dpll1_ck
[ 2.059740] omap2_set_init_voltage: unable to set vdd_mpu_iva
[ 2.065797] omap2_set_init_voltage: unable to get clk l3_ick
[ 2.071779] omap2_set_init_voltage: unable to set vdd_core
[ 2.085394] registered taskstats version 1
[ 2.090218] Detected MACID=d4:94:a1:37:bb:52
[ 2.098657] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 2.108628] Freeing init memory: 324K
[ 2.177925] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 2.193314] mmc0: new SD card at address ffee
[ 2.204998] mmcblk0: mmc0:ffee SU02G 1.89 GiB
[ 2.218768] mmcblk0: p1 p2
[ 2.323506] udevd[69]: starting version 173
[ 3.428783] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 4.146497] init: ureadahead main process (166) terminated with status 5
[ 4.928837] udevd[207]: starting version 173
[ 5.312243] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[ 6.981551]
[ 6.981561] CPSW phy found : id is : 0x7c0f1
[ 6.988371] PHY 0:01 not found
[ 6.994387] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 9.300668] init: udev-fallback-graphics main process (374) terminated with status 1
ubuntu@omap:~$ ifconfig
eth0 Link encap:Ethernet HWaddr d4:94:a1:37:bb:52
UP BROADCAST ALLMULTI 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:40

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: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)


dmesg+ifconfig on Ubuntu host PC
844.157992] scsi7 : usb-storage 1-6.2:1.0
[ 845.157681] scsi 7:0:0:0: Direct-Access Linux File-CD Gadget 0316 PQ: 0 ANSI: 2
[ 845.196843] sd 7:0:0:0: Attached scsi generic sg2 type 0
[ 845.201288] sd 7:0:0:0: [sdb] 144522 512-byte logical blocks: (73.9 MB/70.5 MiB)
[ 845.202538] sd 7:0:0:0: [sdb] Write Protect is off
[ 845.202544] sd 7:0:0:0: [sdb] Mode Sense: 0f 00 00 00
[ 845.203818] sd 7:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 845.209747] sdb:
[ 845.213531] sd 7:0:0:0: [sdb] Attached SCSI removable disk
[ 925.514650] usb 1-6.2: USB disconnect, device number 6
[ 925.539737] sd 7:0:0:0: [sdb] Synchronizing SCSI cache
[ 925.540810] sd 7:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 938.824550] usb 1-6: USB disconnect, device number 3
[ 938.824556] usb 1-6.1: USB disconnect, device number 4
[ 938.824781] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 938.824804] ftdi_sio 1-6.1:1.0: device disconnected
[ 938.827028] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
[ 938.827047] ftdi_sio 1-6.1:1.1: device disconnected
[ 1000.256044] usb 1-6: new high speed USB device number 7 using ehci_hcd
[ 1000.389560] hub 1-6:1.0: USB hub found
[ 1000.390363] hub 1-6:1.0: 2 ports detected
[ 1000.664656] usb 1-6.1: new high speed USB device number 8 using ehci_hcd
[ 1000.776987] ftdi_sio 1-6.1:1.0: FTDI USB Serial Device converter detected
[ 1000.777018] usb 1-6.1: Detected FT2232H
[ 1000.777020] usb 1-6.1: Number of endpoints 2
[ 1000.777021] usb 1-6.1: Endpoint 1 MaxPacketSize 512
[ 1000.777023] usb 1-6.1: Endpoint 2 MaxPacketSize 512
[ 1000.777025] usb 1-6.1: Setting MaxPacketSize 512
[ 1000.777345] usb 1-6.1: FTDI USB Serial Device converter now attached to ttyUSB0
[ 1000.778736] ftdi_sio 1-6.1:1.1: FTDI USB Serial Device converter detected
[ 1000.778766] usb 1-6.1: Detected FT2232H
[ 1000.778767] usb 1-6.1: Number of endpoints 2
[ 1000.778769] usb 1-6.1: Endpoint 1 MaxPacketSize 512
[ 1000.778771] usb 1-6.1: Endpoint 2 MaxPacketSize 512
[ 1000.778772] usb 1-6.1: Setting MaxPacketSize 512
[ 1000.779073] usb 1-6.1: FTDI USB Serial Device converter now attached to ttyUSB1
[ 1008.776653] usb 1-6.2: new high speed USB device number 9 using ehci_hcd
[ 1008.886651] usb 1-6.2: unable to read config index 0 descriptor/start: -32
[ 1008.886655] usb 1-6.2: chopping to 0 config(s)
[ 1008.886787] usb 1-6.2: no configuration chosen from 0 choices
rino@MCP7A:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:2e:27:de:94
indirizzo inet:192.168.178.66 Bcast:192.168.178.255 Maschera:255.255.255.0
indirizzo inet6: fe80::201:2eff:fe27:de94/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:83265 errors:0 dropped:0 overruns:0 frame:0
TX packets:47508 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:122674569 (122.6 MB) Byte TX:4058402 (4.0 MB)
Interrupt:22 Indirizzo base:0x2000

lo Link encap:Loopback locale
indirizzo inet:127.0.0.1 Maschera:255.0.0.0
indirizzo inet6: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:92 errors:0 dropped:0 overruns:0 frame:0
TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:0
Byte RX:9370 (9.3 KB) Byte TX:9370 (9.3 KB)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions