|
|
“猫”X界面下的上网没有问题,但是使用脚本上网时发生问题。急!大侠们多多帮忙亚!
先谢过。
调试信息如下:
[root@localhost /]# ppp-on
[root@localhost /]# tail -f /var/log/messages
May 30 14:41:07 localhost chat[2161]: send (ATH0^M)
May 30 14:41:07 localhost chat[2161]: timeout set to 60 seconds
May 30 14:41:07 localhost chat[2161]: expect (OK)
May 30 14:41:07 localhost chat[2161]: ^M
May 30 14:41:07 localhost chat[2161]: ATH0^M^M
May 30 14:41:07 localhost chat[2161]: OK
May 30 14:41:07 localhost chat[2161]: -- got it
May 30 14:41:07 localhost chat[2161]: send (ATDT96169^M)
May 30 14:41:07 localhost chat[2161]: expect (CONNECT)
May 30 14:41:07 localhost chat[2161]: ^M
May 30 14:41:42 localhost chat[2161]: ATDT96169^M^M
May 30 14:41:42 localhost chat[2161]: CONNECT
May 30 14:41:42 localhost chat[2161]: -- got it
May 30 14:41:42 localhost chat[2161]: send (^M)
May 30 14:41:42 localhost chat[2161]: expect (sername
May 30 14:41:42 localhost chat[2161]: 115200/V42BIS^M
May 30 14:41:42 localhost chat[2161]: ^M
May 30 14:41:43 localhost chat[2161]: ^M
May 30 14:41:43 localhost chat[2161]: *********************************^M
May 30 14:41:43 localhost chat[2161]: * Quidway A8010 Internet Server *^M
May 30 14:41:43 localhost chat[2161]: * welcome!! *^M
May 30 14:41:43 localhost chat[2161]: *********************************^M
May 30 14:41:43 localhost chat[2161]: please input username:
May 30 14:41:43 localhost chat[2161]: -- got it
May 30 14:41:43 localhost chat[2161]: send (assword:^M)
May 30 14:41:44 localhost pppd[2160]: Serial connection established.
May 30 14:41:44 localhost pppd[2160]: Using interface ppp0
May 30 14:41:44 localhost pppd[2160]: Connect: ppp0 <--> /dev/ttyS0
May 30 14:41:44 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
May 30 14:42:10 localhost dhclient: DHCPREQUEST on eth0 to 192.168.0.1 port 67
May 30 14:42:10 localhost dhclient: DHCPACK from 192.168.0.1
May 30 14:42:10 localhost dhclient: bound to 192.168.0.141 -- renewal in 249 seconds.
May 30 14:42:15 localhost pppd[2160]: LCP: timeout sending Config-Requests
May 30 14:42:15 localhost pppd[2160]: Connection terminated.
May 30 14:42:15 localhost /etc/hotplug/net.agent: NET unregister event not supported
May 30 14:42:15 localhost pppd[2160]: Hangup (SIGHUP)
May 30 14:42:15 localhost pppd[2160]: Exit.
[6]+ Stopped tail -f /var/log/messages
[root@localhost /]# |
|