我能够使用相同的加密狗连接到 Fedora 23 并浏览互联网。加密狗型号为华为 E1731
在 ubuntu 16.04 上,即使检测到 USB 加密狗,也无法建立连接。通过lsusb
我得到以下结果
ID 12d1:1446 Huawei Technologies Co., Ltd. Broadband stick (modem on)
通过nmcli con
输出是
Airtel01 5942e4c0-80c0-4f6b-825e-8e8b41185266 gsm --
当拨号通过sudo wvdial
输出
sudo wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot open /dev/ttyUSB0: No such file or directory
--> Cannot open /dev/ttyUSB0: No such file or directory
--> Cannot open /dev/ttyUSB0: No such file or directory
并且连接失败。
我的wvdial.conf
内容是
[Dialer Defaults]
Modem = /dev/ttyUSB0
ISDN = 0
Modem Type = Analog Modem
Baud = 460800
Init1 = ATX3
Init2 = AT&F Q0 V1 E0 S0=0 &C1 &D2 +FCLASS=0
Init3 = at+cgdcont=1,"IP","airtelgprs.com"
Phone = *99#
Dial Attempts = 5
Stupid Mode = on
Dial Command = ATDT
Idle Seconds = 7200
Ask Passwords = 0
Password = { }
Username = { }
Carrier Check = on
New PPPD = 1
Auto DNS = on
我尝试切换到调制解调器模式。命令的输出cat /etc/usb_modeswitch.d/12d1\:1446
是
Huawei E173s
DefaultVendor= 0x12d1
DefaultProduct= 0x1c0b
TargetVendor= 0x12d1
TargetProduct= 0x1c05
CheckSuccess=20
MessageEndpoint= 0x0f
MessageContent= "55534243123456780000000000000011062000000100000000000000000000"