PPP link to ppp0 terminated.
[root@FriendlyARM ppp]# ./ppp-on
Serial connection established.
using channel 4
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS2
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=0x1 <ACCOMP
>]
rcvd [LCP ConfAck id=0x1 <ACCOMP
>]
rcvd [LCP ConfReq id=0xb ]
sent [LCP ConfRej id=0xb ]
rcvd [LCP ConfReq id=0xc <AC
comp>]
sent [LCP ConfAck id=0xc <AC
comp>]
sent [IPCP ConfReq id=0x1 ]
sent [CCP ConfReq id=0x1 ]
rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f 32]
sent [IPCP ConfReq id=0x1 ]
rcvd [IPCP ConfRej id=0x1 ]
sent [IPCP ConfReq id=0x2 ]
rcvd [IPCP ConfReq id=0x4 ]
sent [IPCP ConfAck id=0x4 ]
rcvd [IPCP ConfNak id=0x2 ]
sent [IPCP ConfReq id=0x3 ]
rcvd [IPCP ConfAck id=0x3 ]
local IP address 10.145.91.91
remote IP address 10.0.0.1
ppp0 Link encap:Point-to-Point Protocol
inet addr:10.124.91.12 P-t-P:10.0.0.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1600 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:40 (40.0 B) TX bytes:77 (77.0 B)
上面是PPP拨号的调试信息,及拨号完的PPP0的信息,虽然得到了IP就是PING不能其它的10.0.0.1,外网的IP地址也PING不通,也不能用SOCKET进行通信。我用的是SIM508,平台是友善之臂的MINI2410,拨号用的是PPP-2.4.1。请问这是为什么。 |