当前位置: 技术问答>linux和unix
linux ppp-on脚本拨号问题
来源: 互联网 发布时间:2015-11-17
本文导语: 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 l...
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.
谁知道这是什么问题产生的..我在linux下拨号就是不行..
谁有正确的拨号脚本能发给我一下吗?yangwu1984@163.com
[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.
谁知道这是什么问题产生的..我在linux下拨号就是不行..
谁有正确的拨号脚本能发给我一下吗?yangwu1984@163.com
|
拨号没问题,问题可以在于你的本地lan设置,换个固定ip试试?
斑竹给转到系统维护区吧...那边估计有网管
斑竹给转到系统维护区吧...那边估计有网管
|
我也遇到了同样的问题,我的操作系统是redhat9,但是你所附录的trace中应该有点问题,其实你没有等到"please input your password:"这个提示你就发送了密码.
我在计算机上实际测试的结果是用户名发送成功后,expect(assword:)这个地方始终等不到于是就退出了.我更新了pppd的版本也是同样的问题,所以如果有哪位解决了这个问题,还请发邮件到butler_gaoyh@126.com.深表感谢!
我在计算机上实际测试的结果是用户名发送成功后,expect(assword:)这个地方始终等不到于是就退出了.我更新了pppd的版本也是同样的问题,所以如果有哪位解决了这个问题,还请发邮件到butler_gaoyh@126.com.深表感谢!