尝试让 ALCATEL One Touch X220L 3G 调制解调器在 Linux 上运行

尝试让 ALCATEL One Touch X220L 3G 调制解调器在 Linux 上运行

我正在尝试让 ALCATEL One Touch X220L 在 Linux 上运行。我尝试在主 PC (arch) 上执行此操作,并最终在 Raspberry Pi 上执行此操作。我通过 SIM 卡获得的信息如下:

  • APN:umts.xs4all.nl
  • 用户名:xs4all
  • 密码:1234
  • 邮政编码:0000

我尝试了http://linuxtricksandtips.blogspot.com/2010/12/how-to-use-alcatel-one-touch-x220l-3g.html

第三次初始化后出现了一个错误,然后我尝试使用以下 /etc/wvdial.conf:

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 +FCLASS=0
Init3 = AT+CPIN="0000"
Init4 = AT+CGDCONT=1,"IP","umts.xs4all.nl"
Modem = /dev/ttyUSB4
Check Def Route = on
Phone = *99#
Username = xs4all
Password = 1234
Modem Type = Analog Modem
Stupid Mode = 1
Baud = 460800
New PPPD = yes
ISDN = 0 
AutoDNS = 1

结果如下

--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 +FCLASS=0
ATQ0 V1 E1 +FCLASS=0
OK
--> Sending: AT+CPIN="0000"
AT+CPIN="0000"
OK
--> Sending: AT+CGDCONT=1,"IP","umts.xs4all.nl"
AT+CGDCONT=1,"IP","umts.xs4all.nl"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT 7200000
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Tue Jul 17 21:15:49 2018
--> Pid of pppd: 18424
--> Using interface ppp0
--> Disconnecting at Tue Jul 17 21:15:50 2018
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 +FCLASS=0
ATQ0 V1 E1 +FCLASS=0
OK
--> Sending: AT+CPIN="0000"
AT+CPIN="0000"
ERROR
--> Bad init string.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 +FCLASS=0
ATQ0 V1 E1 +FCLASS=0
OK
--> Sending: AT+CPIN="0000"
AT+CPIN="0000"
ERROR
--> Bad init string.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 +FCLASS=0
ATQ0 V1 E1 +FCLASS=0
OK
--> Sending: AT+CPIN="0000"
AT+CPIN="0000"
ERROR
--> Bad init string.

它尝试连接但似乎失败了。当它尝试重新连接时,它显然不再喜欢命令:AT + CPIN =“0000”,这似乎也是在不拔下棒的情况下第二次运行 sudo wvdial 时的结果。

答案1

所以,我终于又开始尝试这个了,我在网上找到了一个叫做 modem-manager-gui 的应用程序。事实证明,如果你使用它,它就能正常工作。

相关内容