我正试图在Debian上通过华为E3372运行互联网。它在Windows上工作,但不工作在Debian.The错误上是这样的:
ATDT*99#
ERROR
--> Invalid dial command.
wvdial: utils/wvtask.cc:303: static int WvTaskMan::yield(int): Assertion
*current_task->stack_magic == WVTASK_MAGIC' failed.
Aborted
以下是问题信息:
wvdial.conf
root@debian:/home/b# cat /etc/wvdial.conf
[Dialer orange]
Modem = /dev/ttyUSB1
Phone = *99#
Username =;
Password =;
Init1 = ATZ
Init2 = AT+CGDCONT=1,"IP","internet","",0,0
Auto DNS = on
root@debian:/home/b#
dmesg = grep tty
root@debian:/home/b# dmesg | grep tty
[ 0.000000] console [tty0] enabled
[ 4.288912] usb 2-8: GSM modem (1-port) converter now attached to ttyUSB0
[ 4.288990] usb 2-8: GSM modem (1-port) converter now attached to ttyUSB1
root@debian:/home/b#
温迪橙
root@debian:/home/b# wvdial orange
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: AT+CGDCONT=1,"IP","internet","",0,0
AT+CGDCONT=1,"IP","internet","",0,0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
ERROR
--> Invalid dial command.
wvdial: utils/wvtask.cc:303: static int WvTaskMan::yield(int): Assertion `*current_task->stack_magic == WVTASK_MAGIC' failed.
Aborted
root@debian:/home/b#
苏斯b
root@debian:/home/b# lsusb
Bus 002 Device 002: ID 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcard
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 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 003 Device 002: ID 0bf8:1004 Fujitsu Siemens Computers
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@debian:/home/b#
配置工作和互联网得到了实际存在。它是空的resolve.conf
simlink,所以我复制了/etc/ppp/resolve.conf
one,它成功了。
无论如何,错误仍然存在,我想消除它。
还请注意,我所做的一切都是禁用Network Manager
服务的。
发布于 2021-05-20 17:10:50
我在华为的E3372上也有同样的问题。然而,我在树莓皮(4)上。我通过将max_usb_current=1
添加到/boot/config.txt来解决这个问题。显然,当E3372没有获得足够的电源,并且wvdial不知道它,只报告“无效拨号命令”时,它就会失败(“错误”)。很明显,E3372在TX上是耗电的,这是造成这种情况的原因。
https://unix.stackexchange.com/questions/448860
复制相似问题