- 论坛徽章:
- 0
|
请大家帮帮我呀!!!小弟先谢过了!!\r\n我用的是redhat9.0 用PPPD拨号 通过GPRS上网,运行命令是\r\npppd /dev/pts/1 115200 connect \'chat -v \"\" at+cgdcont=1,\\\"IP\\\",\\\"cmnet\\\" OK atd*98*1# CONNECT\'\r\n 在log下的message是\r\nOct 31 11:41:55 localhost kernel: PPP generic driver version 2.4.2\r\nOct 31 11:41:55 localhost pppd[2142]: pppd 2.4.1 started by root, uid 0\r\nOct 31 11:41:56 localhost chat[2143]: send (ath0^M)\r\nOct 31 11:41:56 localhost chat[2143]: expect (OK)\r\nOct 31 11:41:56 localhost chat[2143]: ath0^M^M\r\nOct 31 11:41:56 localhost chat[2143]: OK\r\nOct 31 11:41:56 localhost chat[2143]: -- got it \r\nOct 31 11:41:56 localhost chat[2143]: send (at+cgdcont=1,\"IP\",\"cmnet\"^M)\r\nOct 31 11:41:57 localhost chat[2143]: expect (OK)\r\nOct 31 11:41:57 localhost chat[2143]: ^M\r\nOct 31 11:41:57 localhost chat[2143]: at+cgdcont=1,\"IP\",\"cmnet\"^M^M\r\nOct 31 11:41:57 localhost chat[2143]: OK\r\nOct 31 11:41:57 localhost chat[2143]: -- got it \r\nOct 31 11:41:57 localhost chat[2143]: send (atd*98*1#^M)\r\nOct 31 11:41:57 localhost chat[2143]: expect (CONNECT)\r\nOct 31 11:41:57 localhost chat[2143]: ^M\r\nOct 31 11:41:57 localhost chat[2143]: atd*98*1#^M^M\r\nOct 31 11:41:57 localhost chat[2143]: CONNECT\r\nOct 31 11:41:57 localhost chat[2143]: -- got it \r\nOct 31 11:41:57 localhost pppd[2142]: Serial connection established.\r\nOct 31 11:41:57 localhost pppd[2142]: Using interface ppp0\r\nOct 31 11:41:57 localhost pppd[2142]: Connect: ppp0 <--> /dev/pts/1\r\nOct 31 11:41:57 localhost /etc/hotplug/net.agent: assuming ppp0 is already up\r\nOct 31 11:41:58 localhost modprobe: modprobe: Can\'t locate module ppp-compress-21\r\nOct 31 11:41:58 localhost kernel: PPP Deflate Compression module registered\r\nOct 31 11:41:58 localhost modprobe: modprobe: Can\'t locate module ppp-compress-21\r\nOct 31 11:42:04 localhost pppd[2142]: not replacing existing default route to eth2 [172.17.255.254]\r\nOct 31 11:42:04 localhost pppd[2142]: local IP address 10.67.67.229\r\nOct 31 11:42:04 localhost pppd[2142]: remote IP address 192.168.0.1\r\nOct 31 11:42:04 localhost pppd[2142]: primary DNS address 211.136.20.203\r\n\r\n很奇怪remote IP address 192.168.0.1\r\n而且我PING根本就PING不通 好像包都没有发出去,请帮忙,谢谢!!! |
|