- 論壇徽章:
- 0
|
撥號LOG:
timeout set to 25 seconds
abort on (NO CARRIER)
abort on (ERROR)
abort on (NO DIALTONE)
abort on (BUSY)
abort on (NO ANSWER)
send (/rAT^M)
expect (OK)
AT^M^M
OK
-- got it
send (/rATZ^M)
expect (OK)
^M
ATZ^M^M
OK
-- got it
send (/rAT+CGDCONT=1,"IP","3gnet",,0,0^M)
expect (OK)
^M
AT+CGDCONT=1,"IP","3gnet",,0,0^M^M
OK
-- got it
send (ATDT*99#^M)
expect (CONNECT)
^M
ATDT*99#^M^M
CONNECT
-- got it
send (/d/c^M)
Serial connection established.
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB2
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xcca78ec7> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0x1140855> <pcomp> <accomp>]
sent [LCP ConfAck id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0x1140855> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xcca78ec7> <pcomp> <accomp>]
rcvd [LCP DiscReq id=0x1 magic=0x1140855]
rcvd [CHAP Challenge id=0x1 <e45e8b123ed4027c0c72bc9dbac2e3be>, name = "UMTS_CHAP_SRVR"]
sent [CHAP Response id=0x1 <3220bf8659a975faa9ae13ec61583f9f>, name = "CARD"]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfReq id=0x0]
sent [IPCP ConfNak id=0x0 <addr 0.0.0.0>]
rcvd [IPCP ConfNak id=0x2 <addr 10.26.73.219> <ms-dns1 221.11.1.67> <ms-dns3 221.11.1.68>]
sent [IPCP ConfReq id=0x3 <addr 10.26.73.219> <ms-dns1 221.11.1.67> <ms-dns3 221.11.1.68>]
rcvd [IPCP ConfReq id=0x1]
sent [IPCP ConfAck id=0x1]
rcvd [IPCP ConfAck id=0x3 <addr 10.26.73.219> <ms-dns1 221.11.1.67> <ms-dns3 221.11.1.68>]
Could not determine remote IP address: defaulting to 10.64.64.64
not replacing existing default route via 192.168.0.201 <<<<<這步怎么回事,我寫了個腳本,把默認(rèn)路由給刪了,不知道是否對結(jié)果有影響
local IP address 10.26.73.219
remote IP address 10.64.64.64
primary DNS address 221.11.1.67
secondary DNS address 221.11.1.68 <<<<<<<卡在這步不動了,我看別人的日志,這下面不是還會打印 Script /etc/ppp/ip-up started (pid ***) Script /etc/ppp/ip- down started (pid ***)嗎? 確定接口就ttyUSB2能用,3G網(wǎng)卡有流量。還有的博客說到我這步已經(jīng)成功,添加nameserver *.*.*.* 到/etc/resolv.conf ,輸出ifconfig -a就會打印ppp0,可是我沒有呀。 跪求大牛。
|
|