作者:aixiangsui2011 | 来源:互联网 | 2017-10-16 00:17
各位大哥,我想通过linux系统里面的wvdial 上gprs网络,串口部分已经连接了一个在window里面能够成功上网的gprs modem,硬件是绝对没有问题的!
我的wvdial.conf 文件配置如下:
[Dialer Defaults]
Modem = /dev/ttyS0
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
PhOne= *99***1#
Username = any
Password = any
New PPPD=1
Auto RecOnnect=off
当我运行wvdial命令时出现如下问题:
[root@localhost etc]# wvdial
--> WvDial: Internet dialer version 1.53
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT 115200
~[7f]}#@!}!}!} }6}!}$}%\}"}&} } } } }'}"}(}"[email=}#}$@#&4]}#}$@#&4[/email]~
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!}!} }6}!}$}%\}"}&} } } } }'}"}(}"[email=}#}$@#&4]}#}$@#&4[/email]~
--> PPP negotiation detected.
--> Starting pppd at Wed May 7 10:33:06 2008
--> pid of pppd: 2037
--> Disconnecting at Wed May 7 10:33:09 2008
--> 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.
[root@localhost etc]#
我的连接没有成功 ,我已经尝试了一天了,但是还是无法成功 ,希望大家帮我忙 我先谢谢了。