guoning82 发表于 2006-6-6 16:23:40

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

ect/wvdial.config内容如下:



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


运行后发生错误,如下

# 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
~}#@!}!}4} }3}"}&} } } } }#}%B#}%}'}"}(}"e~
--> Carrier detected.Starting PPP immediately.
--> Starting pppd at Tue Jun6 15:59:52 2006
--> pid of pppd: 4042
--> Disconnecting at Tue Jun6 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中内容如下

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


请高手帮看看是什么毛病啊
页: [1]
查看完整版本: linux下配置GPRS猫问题,请配置过的帮忙看看哪错了