QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1194|回复: 0

linux下配置GPRS猫问题,请配置过的帮忙看看哪错了

[复制链接]
发表于 2006-6-6 16:23:40 | 显示全部楼层 |阅读模式
ect/wvdial.config内容如下:


[Dialer Defaults]
Modem = /dev/ttyS0
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","CMNET"
New PPPD =1
Area Code =
Phone = *99***1#
Username = any
Password = any
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 30000
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1
Modem Type = Analog Modem


运行后发生错误,如下

[root@localhost root]# 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
--> Sending: AT+CGDCONT=1,"IP","CMNET"
AT+CGDCONT=1,"IP","CMNET"
OK
--> Modem initialized.
--> Idle Seconds = 30000, disabling automatic reconnect.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
~[7f]}#@!}!}4} }3}"}&} } } } }#}%B#}%}'}"}(}"[10]e~
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Tue Jun  6 15:59:52 2006
--> pid of pppd: 4042
--> Disconnecting at Tue Jun  6 16:00:25 2006
--> 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.


检查/var/log/messages中内容如下

Jun  6 15:59:05 localhost kernel: MSDOS FS: IO charset cp936
Jun  6 15:59:52 localhost pppd[4042]: pppd 2.4.1 started by root, uid 0
Jun  6 15:59:52 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
Jun  6 15:59:52 localhost pppd[4042]: Using interface ppp0
Jun  6 15:59:52 localhost pppd[4042]: Connect: ppp0 <--> /dev/ttyS0
Jun  6 15:59:52 localhost kernel: spurious 8259A interrupt: IRQ7.
Jun  6 15:59:55 localhost modprobe: modprobe: Can't locate module ppp-compress-21
Jun  6 15:59:55 localhost modprobe: modprobe: Can't locate module ppp-compress-21
Jun  6 16:00:24 localhost pppd[4042]: LCP terminated by peer (^])
Jun  6 16:00:24 localhost pppd[4042]: Hangup (SIGHUP)
Jun  6 16:00:24 localhost pppd[4042]: Modem hangup
Jun  6 16:00:24 localhost pppd[4042]: Connection terminated.
Jun  6 16:00:24 localhost pppd[4042]: Exit.
Jun  6 16:00:24 localhost /etc/hotplug/net.agent: NET unregister event not supported


请高手帮看看是什么毛病啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-22 19:03 , Processed in 0.068707 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表