|
发表于 2007-4-9 15:32:54
|
显示全部楼层
楼主,我按照你的方法,不行呀,好像对上号了,但马上退出了。也没有看到pppoe连接。请指点迷津。
root@aqua:/etc# tail -20 /var/log/messages
Apr 9 15:25:08 localhost chat[6275]: timeout set to 10 seconds
Apr 9 15:25:08 localhost chat[6275]: expect (OK)
Apr 9 15:25:08 localhost chat[6275]: ATZ^M^M
Apr 9 15:25:08 localhost chat[6275]: OK
Apr 9 15:25:08 localhost chat[6275]: -- got it
Apr 9 15:25:08 localhost chat[6275]: send (AT+CGDCONT=1,"IP","CMWAP"^M)
Apr 9 15:25:09 localhost chat[6275]: expect (OK)
Apr 9 15:25:09 localhost chat[6275]: ^M
Apr 9 15:25:09 localhost chat[6275]: AT+CGDCONT=1,"IP","CMWAP"^M^M
Apr 9 15:25:09 localhost chat[6275]: OK
Apr 9 15:25:09 localhost chat[6275]: -- got it
Apr 9 15:25:09 localhost chat[6275]: send (ATD*99#^M)
Apr 9 15:25:09 localhost chat[6275]: expect (CONNECT)
Apr 9 15:25:09 localhost chat[6275]: ^M
Apr 9 15:25:09 localhost chat[6275]: ATD*99#^M^M
Apr 9 15:25:09 localhost chat[6275]: CONNECT
Apr 9 15:25:09 localhost chat[6275]: -- got it
Apr 9 15:25:09 localhost chat[6275]: send (^M)
Apr 9 15:25:09 localhost pppd[6274]: Serial connection established.
Apr 9 15:25:09 localhost pppd[6274]: Exit.
root@aqua:/etc# tail -30 /var/log/messages
Apr 9 15:21:20 localhost logger: /etc/rc.d/rc.inet1: /sbin/route add default gw 192.168.1.1 metric 1
Apr 9 15:25:07 localhost pppd[6274]: pppd 2.4.4 started by root, uid 0
Apr 9 15:25:08 localhost chat[6275]: abort on (BUSY)
Apr 9 15:25:08 localhost chat[6275]: abort on (ERROR)
Apr 9 15:25:08 localhost chat[6275]: abort on (NO ANSWER)
Apr 9 15:25:08 localhost chat[6275]: abort on (NO CARRIER)
Apr 9 15:25:08 localhost chat[6275]: abort on (NO DIALTONE)
Apr 9 15:25:08 localhost chat[6275]: abort on (Invalid Login)
Apr 9 15:25:08 localhost chat[6275]: abort on (Login incorrect)
Apr 9 15:25:08 localhost chat[6275]: send (ATZ^M)
Apr 9 15:25:08 localhost chat[6275]: timeout set to 10 seconds
Apr 9 15:25:08 localhost chat[6275]: expect (OK)
Apr 9 15:25:08 localhost chat[6275]: ATZ^M^M
Apr 9 15:25:08 localhost chat[6275]: OK
Apr 9 15:25:08 localhost chat[6275]: -- got it
Apr 9 15:25:08 localhost chat[6275]: send (AT+CGDCONT=1,"IP","CMWAP"^M)
Apr 9 15:25:09 localhost chat[6275]: expect (OK)
Apr 9 15:25:09 localhost chat[6275]: ^M
Apr 9 15:25:09 localhost chat[6275]: AT+CGDCONT=1,"IP","CMWAP"^M^M
Apr 9 15:25:09 localhost chat[6275]: OK
Apr 9 15:25:09 localhost chat[6275]: -- got it
Apr 9 15:25:09 localhost chat[6275]: send (ATD*99#^M)
Apr 9 15:25:09 localhost chat[6275]: expect (CONNECT)
Apr 9 15:25:09 localhost chat[6275]: ^M
Apr 9 15:25:09 localhost chat[6275]: ATD*99#^M^M
Apr 9 15:25:09 localhost chat[6275]: CONNECT
Apr 9 15:25:09 localhost chat[6275]: -- got it
Apr 9 15:25:09 localhost chat[6275]: send (^M)
Apr 9 15:25:09 localhost pppd[6274]: Serial connection established.
Apr 9 15:25:09 localhost pppd[6274]: Exit. |
|