LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 474|回复: 2

关于使用脚本进行拨号上网的问题?

[复制链接]
发表于 2005-5-30 15:17:20 | 显示全部楼层 |阅读模式
“猫”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 /]#
 楼主| 发表于 2005-5-31 15:00:31 | 显示全部楼层
已经解决了!谢谢!
回复 支持 反对

使用道具 举报

零二年的夏天 该用户已被删除
发表于 2005-5-31 22:33:25 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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