-
Notifications
You must be signed in to change notification settings - Fork 1
Description
my R4S burn nanopi_r4s_ubuntu_20.04_kernel_5.10.43-16GB.img.7z. and usb connect huawei modern.
apt-get install usb-modeswitch
ubuntu@nanopi-r4s:~$ lsusb
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 003: ID 12d1:14db Huawei Technologies Co., Ltd. E353/E3131
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ubuntu@nanopi-r4s:~$
append below in the /etc/network/interfaces
#enx0c5b8f279a64 is huawei's interface
auto enx0c5b8f279a64
allow-hotplug enx0c5b8f279a64
iface enx0c5b8f279a64 inet dhcp
I did such 2 cases:
-
usb connect huawei, then connect power, the Ubuntu is up , the huawei could connect 4G and get IP address. then run
command reboot ubuntu, wait a long time , the ubuntu could not up. i have to cut off the power and connect power again,
and everything will be ok. -
sudden turn off the power and turn on power , ubuntu could not up. but it will normal once usb not connect huawei when face
this case.
I had tested the officer's ubuntu from friendlyelec, the officer's ubunut never up once usb connect huawei modern.
Could you help to fix the image? help to check where 's wrong?
By the way when huawei in storage mode the id is 12d1:1f01.
ubuntu@nanopi-r4s:~$ lsusb
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 002: ID 12d1:1f01 Huawei Technologies Co., Ltd. E353/E3131 (Mass storage mode)
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub