我正在尝试将 HUAWEI 4G Usb-Dongle E3372 与 Ubuntu 20.04 一起使用,但该模块似乎不起作用。
ubuntu@yolo:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 018: ID 12d1:14dc Huawei Technologies Co., Ltd. E33372 LTE/UMTS/GSM HiLink Modem/Networkcard
你有什么建议吗?
更新:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.88 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::dea6:32ff:fe66:502e prefixlen 64 scopeid 0x20<link>
ether dc:a6:32:66:50:2e txqueuelen 1000 (Ethernet)
RX packets 1546 bytes 135451 (135.4 KB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 1058 bytes 166563 (166.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 143 bytes 11669 (11.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 143 bytes 11669 (11.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether dc:a6:32:66:50:2f txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
答案1
只要您插入 USB 加密狗并且看到稳定的蓝色 LED,就会出现以下问题:
ip link
5: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether 00:aa:bb:cc:dd:00 brd ff:ff:ff:ff:ff:ff
您应该获得一个 eth1 作为物理设备。
如果您使用网络管理器来处理连接,请使用 eth1 创建以太网连接并启动它
sudo nmcli connection add type ethernet con-name huawei ifname eth1
sudo nmcli c up huawei