Hi I have already buy Beaglebone black from Embest. I connect a 3G usb modem but eth1 activates.
I'm using BBB-eMMC-flasher-ubuntu-16.04.3-console-armhf-2018-02-09-2gb.img.xz from
https://elinux.org/BeagleBoardUbuntuWhat is wrong on drivers?
Regards,
Amir
root@ubuntu#uname -a
Linux ubuntu 4.14.17-ti-r32 #1 SMP Tue Feb 6 23:04:02 UTC 2018 armv7l armv7l armv7l GNU/Linux
root@ubuntu:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"
root@ubuntu:~# lsmod
Module Size Used by
sr_mod 24576 0
cdrom 65536 1 sr_mod
sg 36864 0
uas 24576 0
evdev 24576 1
uio_pdrv_genirq 16384 0
uio 20480 1 uio_pdrv_genirq
usb_f_acm 16384 2
u_serial 20480 3 usb_f_acm
usb_f_ecm 20480 2
usb_f_rndis 32768 2
u_ether 24576 2 usb_f_ecm,usb_f_rndis
libcomposite 61440 14 usb_f_ecm,usb_f_acm,usb_f_rndis
root@ubuntu:~# dmesg
[ 697.072407] usb 1-1: new high-speed USB device number 3 using musb-hdrc
[ 697.221186] usb 1-1: New USB device found, idVendor=12d1, idProduct=1f01
[ 697.221203] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 697.221211] usb 1-1: Product: HUAWEI Mobile
[ 697.221218] usb 1-1: Manufacturer: HUAWEI
[ 697.221224] usb 1-1: SerialNumber: FFFFFFFFFFFFFFFF
[ 697.275119] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 697.284520] scsi host0: usb-storage 1-1:1.0
[ 698.313788] scsi 0:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 698.321570] sr 0:0:0:0: [sr0] scsi-1 drive
[ 698.322735] sr 0:0:0:0: Attached scsi CD-ROM sr0
[ 698.331984] sr 0:0:0:0: Attached scsi generic sg0 type 5
[ 698.492359] sr 0:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 698.492384] sr 0:0:0:0: [sr0] tag#0 Sense Key : Medium Error [current]
[ 698.492397] sr 0:0:0:0: [sr0] tag#0 Add. Sense: Unrecovered read error
[ 698.492413] sr 0:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 ff fe 00 00 02 00
[ 698.492427] print_req_error: critical medium error, dev sr0, sector 262136
[ 698.503886] attempt to access beyond end of device
[ 698.503906] unknown-block(11,0): rw=0, want=262144, limit=262136
[ 698.503919] Buffer I/O error on dev sr0, logical block 32767, async page read
[ 698.627560] sr 0:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 698.627586] sr 0:0:0:0: [sr0] tag#0 Sense Key : Medium Error [current]
[ 698.627599] sr 0:0:0:0: [sr0] tag#0 Add. Sense: Unrecovered read error
[ 698.627616] sr 0:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 ff fc 00 00 02 00
[ 698.627629] print_req_error: critical medium error, dev sr0, sector 262128
[ 698.639815] attempt to access beyond end of device
[ 698.639837] unknown-block(11,0): rw=0, want=262136, limit=262128
[ 698.639851] Buffer I/O error on dev sr0, logical block 32766, async page read
root@ubuntu:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 98:5d:ad:35:d9:21
inet addr:192.168.1.50 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::9a5d:adff:fe35:d921/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1207 errors:0 dropped:0 overruns:0 frame:0
TX packets:617 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:85918 (85.9 KB) TX bytes:98907 (98.9 KB)
Interrupt:45
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:201 errors:0 dropped:0 overruns:0 frame:0
TX packets:201 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14562 (14.5 KB) TX bytes:14562 (14.5 KB)
usb0 Link encap:Ethernet HWaddr 98:5d:ad:35:d9:23
inet addr:192.168.7.2 Bcast:192.168.7.3 Mask:255.255.255.252
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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
usb1 Link encap:Ethernet HWaddr 98:5d:ad:35:d9:26
inet addr:192.168.6.2 Bcast:192.168.6.3 Mask:255.255.255.252
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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@ubuntu:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
# auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.50
netmask 255.255.255.0
network 192.168.1.0
gateway 192.168.1.210
dns-nameserver 8.8.8.8
allow-hotplug eth1
iface eth1 inet dhcp
# Ethernet/RNDIS gadget (g_ether)
# Used by: /opt/scripts/boot/autoconfigure_usb0.sh
iface usb0 inet static
address 192.168.7.2
netmask 255.255.255.252
network 192.168.7.0
gateway 192.168.7.1