Hi:
I have test my CDMA Link with traceroute and
finally got some results. list in bellow, Now I wonder
wethere it is my hardware problem or the ISP use
special IP compress method. I have try to make my pppd
go with
noccp
nobsdcomp
novj
novjcomp
noaccomp
nopcomp
and the peer refused me and ask for compress method.
so I wonder will it be the problems ? my localarea
GPRS provider use no compress method, I can link to it
under Linux with no problem.
bellow are some outputs when Linked to my ISP. they
very like output of GPRS, except in my CDMA link when
use traceroute 202.96.x.x, my pppd file cdma1x output
will give some LCP messages, would it be error
messages?
//////////////////////////////////////////////////////////////////////////
**************************************************************************
//PPPd Dial Up
**************************************************************************
//////////////////////////////////////////////////////////////////////////
OK
OK
OK
CONNECT
Serial connection established.
using channel 5
Using interface ppp0
Connect: ppp0 <--> /dev/modem
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
0x87797fe0> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic
0x87797fe0> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
0x87797fe0> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic
0x87797fe0> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap
MD5> <magic 0x6e5d7c22> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap
MD5> <magic 0x6e5d7c22> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x87797fe0]
rcvd [LCP EchoReq id=0x0 magic=0x6e5d7c22]
sent [LCP EchoRep id=0x0 magic=0x87797fe0]
rcvd [CHAP Challenge id=0x1
<a4b3765d18970ae1ccbbdea5c01ff2a9>, name = "PIWF1"]
sent [CHAP Response id=0x1
<7fb9155237b60530281cafb82d4967a0>, name = "cdma1x"]
rcvd [LCP EchoRep id=0x0 magic=0x6e5d7c22]
rcvd [CHAP Success id=0x1 "Welcome!"]
Remote message: Welcome!
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ
0f 01>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#)
15>]
rcvd [IPCP ConfReq id=0x1 <addr 172.16.0.1> <compress
VJ 0f 01>]
sent [IPCP ConfAck id=0x1 <addr 172.16.0.1> <compress
VJ 0f 01>]
rcvd [CCP ConfReq id=0x1 < 12 06 00 00 00 01> < 11 05
00 01 04> <deflate 15>]
sent [CCP ConfRej id=0x1 < 12 06 00 00 00 01> < 11 05
00 01 04>]
rcvd [IPCP ConfNak id=0x1 <addr 172.16.1.27>]
sent [IPCP ConfReq id=0x2 <addr 172.16.1.27> <compress
VJ 0f 01>]
rcvd [CCP ConfAck id=0x1 <deflate 15> <deflate(old#)
15>]
rcvd [CCP ConfReq id=0x2 <deflate 15>]
sent [CCP ConfAck id=0x2 <deflate 15>]
Deflate (15) compression enabled
rcvd [IPCP ConfAck id=0x2 <addr 172.16.1.27> <compress
VJ 0f 01>]
local IP address 172.16.1.27
remote IP address 172.16.0.1
Script /etc/ppp/ip-up started (pid 1532)
Script /etc/ppp/ip-up finished (pid 1532), status =
0x0
//////////////////////////////////////////////////////////////////////////
**************************************************************************
//ifconfig output
**************************************************************************
//////////////////////////////////////////////////////////////////////////
ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
frame:0
TX packets:0 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
ppp0 Link encap:Point-to-Point Protocol
inet addr:172.16.1.27 P-t-P:172.16.0.1
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST
MTU:1500 Metric:1
RX packets:34 errors:15 dropped:0 overruns:0
frame:0
TX packets:79 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:3
RX bytes:895 (895.0 b) TX bytes:3377 (3.2
Kb)
//////////////////////////////////////////////////////////////////////////
**************************************************************************
// traceroute output
**************************************************************************
//////////////////////////////////////////////////////////////////////////
traceroute 202.96.199.133
traceroute to 202.96.199.133 (202.96.199.133), 30 hops
max, 38 byte packets
1 172.16.0.1 (172.16.0.1) 408.781 ms 219.944 ms
179.973 ms
2 * * *
3 211.95.9.42 (211.95.9.42) 240.058 ms 389.966 ms
*
4 * * 211.94.44.9 (211.94.44.9) 440.036 ms
5 * * *
6 211.102.30.10 (211.102.30.10) 220.064 ms * *
7 * 202.97.37.62 (202.97.37.62) 240.020 ms *
8 * * *
9 202.101.63.133 (202.101.63.133) 240.066 ms * *
10 * * *
11 * 202.96.199.133 (202.96.199.133) 239.959 ms *
//////////////////////////////////////////////////////////////////////////
**************************************************************************
//netstat -in output
**************************************************************************
//////////////////////////////////////////////////////////////////////////
netstat -in
Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK
TX-ERR TX-DRP TX-OVR Flg
lo 16436 0 0 0 0 0 0
0 0 0 LRU
ppp0 1500 0 34 15 0 0 79
0 0 0 MOPRU
//////////////////////////////////////////////////////////////////////////
**************************************************************************
//netstat -nr output
**************************************************************************
//////////////////////////////////////////////////////////////////////////
Kernel IP routing table
Destination Gateway Genmask Flags
MSS Window irtt Iface
172.16.0.1 0.0.0.0 255.255.255.255 UH
40 0 0 ppp0
127.0.0.0 0.0.0.0 255.0.0.0 U
40 0 0 lo
0.0.0.0 172.16.0.1 0.0.0.0 UG
40 0 0 ppp0
//////////////////////////////////////////////////////////////////////////
**************************************************************************
//ppp output when trace route
//Error Message ???
**************************************************************************
//////////////////////////////////////////////////////////////////////////
sent [LCP EchoReq id=0x1 magic=0x87797fe0]
rcvd [LCP EchoRep id=0x1 magic=0x6e5d7c22]
rcvd [CCP ResetReq id=0x3]
sent [CCP ResetAck id=0x3]
sent [LCP EchoReq id=0x2 magic=0x87797fe0]
sent [LCP EchoReq id=0x3 magic=0x87797fe0]
rcvd [LCP EchoRep id=0x3 magic=0x6e5d7c22]
rcvd [Compressed data] 00 04 82 68 7c 09 d2 b8 ...
sent [CCP ResetReq id=0x2]
rcvd [CCP ResetAck id=0x2]
sent [LCP EchoReq id=0x4 magic=0x87797fe0]
rcvd [LCP EchoRep id=0x4 magic=0x6e5d7c22]
sent [LCP EchoReq id=0x5 magic=0x87797fe0]
rcvd [LCP EchoRep id=0x5 magic=0x6e5d7c22]
sent [LCP EchoReq id=0x6 magic=0x87797fe0]
rcvd [LCP EchoRep id=0x6 magic=0x6e5d7c22]
sent [LCP EchoReq id=0x7 magic=0x87797fe0]
rcvd [LCP EchoRep id=0x7 magic=0x6e5d7c22]
rcvd [CCP ResetReq id=0x4]
sent [CCP ResetAck id=0x4]
sent [LCP EchoReq id=0x8 magic=0x87797fe0]
rcvd [LCP EchoRep id=0x8 magic=0x6e5d7c22]
rcvd [CCP ResetReq id=0x5]
sent [CCP ResetAck id=0x5]
sent [LCP EchoReq id=0x9 magic=0x87797fe0]
rcvd [LCP EchoRep id=0x9 magic=0x6e5d7c22]
sent [LCP EchoReq id=0xa magic=0x87797fe0]
rcvd [LCP EchoRep id=0xa magic=0x6e5d7c22]
rcvd [Compressed data] 00 05 22 ac 11 68 04 d0 ...
sent [CCP ResetReq id=0x3]
rcvd [CCP ResetAck id=0x3]
sent [LCP EchoReq id=0xb magic=0x87797fe0]
rcvd [LCP EchoRep id=0xb magic=0x6e5d7c22]
sent [LCP EchoReq id=0xc magic=0x87797fe0]
rcvd [LCP EchoRep id=0xc magic=0x6e5d7c22]
sent [LCP EchoReq id=0xd magic=0x87797fe0]
rcvd [LCP EchoRep id=0xd magic=0x6e5d7c22]
sent [LCP EchoReq id=0xe magic=0x87797fe0]
rcvd [LCP EchoRep id=0xe magic=0x6e5d7c22]
rcvd [Compressed data] 00 02 42 d2 a8 fc eb 54 ...
sent [CCP ResetReq id=0x4]
rcvd [CCP ResetAck id=0x4]
sent [LCP EchoReq id=0xf magic=0x87797fe0]
rcvd [LCP EchoRep id=0xf magic=0x6e5d7c22]
rcvd [CCP ResetReq id=0x6]
sent [CCP ResetAck id=0x6]
sent [LCP EchoReq id=0x10 magic=0x87797fe0]
rcvd [LCP EchoRep id=0x10 magic=0x6e5d7c22]
sent [LCP EchoReq id=0x11 magic=0x87797fe0]
rcvd [LCP EchoRep id=0x11 magic=0x6e5d7c22]
rcvd [CCP ResetReq id=0x7]
sent [CCP ResetAck id=0x7]
sent [LCP EchoReq id=0x12 magic=0x87797fe0]
rcvd [LCP EchoRep id=0x12 magic=0x6e5d7c22]
rcvd [Compressed data] 00 02 82 6b fc c9 c8 15 ...
sent [CCP ResetReq id=0x5]
rcvd [CCP ResetAck id=0x5]
sent [LCP EchoReq id=0x13 magic=0x87797fe0]
rcvd [LCP EchoRep id=0x13 magic=0x6e5d7c22]
sent [LCP EchoReq id=0x14 magic=0x87797fe0]
rcvd [LCP EchoRep id=0x14 magic=0x6e5d7c22]
rcvd [CCP ResetReq id=0x8]
sent [CCP ResetAck id=0x8]
sent [LCP EchoReq id=0x15 magic=0x87797fe0]
rcvd [LCP EchoRep id=0x15 magic=0x6e5d7c22]
rcvd [Compressed data] 00 02 c2 a1 f1 ba 3f 5c ...
sent [CCP ResetReq id=0x6]
rcvd [CCP ResetAck id=0x6]
sent [LCP EchoReq id=0x16 magic=0x87797fe0]
rcvd [LCP EchoRep id=0x16 magic=0x6e5d7c22]
sent [LCP EchoReq id=0x17 magic=0x87797fe0]
rcvd [LCP EchoRep id=0x17 magic=0x6e5d7c22]
rcvd [Compressed data] 00 02 82 68 3c 06 d6 e8 ...
sent [CCP ResetReq id=0x7]
rcvd [CCP ResetAck id=0x7]
sent [LCP EchoReq id=0x18 magic=0x87797fe0]
rcvd [LCP EchoRep id=0x18 magic=0x6e5d7c22]
sent [LCP EchoReq id=0x19 magic=0x87797fe0]
sent [LCP EchoReq id=0x1a magic=0x87797fe0]
rcvd [LCP EchoRep id=0x1a magic=0x6e5d7c22]