红联Linux门户
Linux帮助

请管理和高手帮忙,请进!!!!!

发布时间:2008-10-31 11:45:06来源:红联作者:geniusmen
请大家帮帮我呀!!!小弟先谢过了!!
我用的是redhat9.0 用PPPD拨号 通过GPRS上网,运行命令是
pppd /dev/pts/1 115200 connect 'chat -v "" at+cgdcont=1,\"IP\",\"cmnet\" OK atd*98*1# CONNECT'
在log下的message是
Oct 31 11:41:55 localhost kernel: PPP generic driver version 2.4.2
Oct 31 11:41:55 localhost pppd[2142]: pppd 2.4.1 started by root, uid 0
Oct 31 11:41:56 localhost chat[2143]: send (ath0^M)
Oct 31 11:41:56 localhost chat[2143]: expect (OK)
Oct 31 11:41:56 localhost chat[2143]: ath0^M^M
Oct 31 11:41:56 localhost chat[2143]: OK
Oct 31 11:41:56 localhost chat[2143]: -- got it
Oct 31 11:41:56 localhost chat[2143]: send (at+cgdcont=1,"IP","cmnet"^M)
Oct 31 11:41:57 localhost chat[2143]: expect (OK)
Oct 31 11:41:57 localhost chat[2143]: ^M
Oct 31 11:41:57 localhost chat[2143]: at+cgdcont=1,"IP","cmnet"^M^M
Oct 31 11:41:57 localhost chat[2143]: OK
Oct 31 11:41:57 localhost chat[2143]: -- got it
Oct 31 11:41:57 localhost chat[2143]: send (atd*98*1#^M)
Oct 31 11:41:57 localhost chat[2143]: expect (CONNECT)
Oct 31 11:41:57 localhost chat[2143]: ^M
Oct 31 11:41:57 localhost chat[2143]: atd*98*1#^M^M
Oct 31 11:41:57 localhost chat[2143]: CONNECT
Oct 31 11:41:57 localhost chat[2143]: -- got it
Oct 31 11:41:57 localhost pppd[2142]: Serial connection established.
Oct 31 11:41:57 localhost pppd[2142]: Using interface ppp0
Oct 31 11:41:57 localhost pppd[2142]: Connect: ppp0 <--> /dev/pts/1
Oct 31 11:41:57 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
Oct 31 11:41:58 localhost modprobe: modprobe: Can't locate module ppp-compress-21
Oct 31 11:41:58 localhost kernel: PPP Deflate Compression module registered
Oct 31 11:41:58 localhost modprobe: modprobe: Can't locate module ppp-compress-21
Oct 31 11:42:04 localhost pppd[2142]: not replacing existing default route to eth2 [172.17.255.254]
Oct 31 11:42:04 localhost pppd[2142]: local IP address 10.67.67.229
Oct 31 11:42:04 localhost pppd[2142]: remote IP address 192.168.0.1
Oct 31 11:42:04 localhost pppd[2142]: primary DNS address 211.136.20.203

很奇怪remote IP address 192.168.0.1
而且我PING根本就PING不通 好像包都没有发出去,请帮忙,谢谢!!!
文章评论

共有 1 条评论

  1. geniusmen 于 2008-11-01 09:35:02发表:

    管理,哇哇 ,帮看下呀 ,论坛里面的好兄弟姐妹们,帮讨论一下呀!!呵呵 小弟谢谢了!! 对了 外网PING我的IP 是可以通的 证明我已经拨上号码了 ,可是为什么我PING不出去 奇怪喔