ddial mode problem on ppp over tcp

From: Huang wen hui <huang_at_gddsn.org.cn>
Date: Fri, 11 Jun 2004 16:33:14 +0800
hi,
 I've recenly setup PPP ove TCP. Everything works fine, except
in ddial mode the link won't come up again after the daily disconnect.
when the link come up, I get "deflink: Already in NETWORK phase",
and after that an endless stream of "deflink: Oops, RCR in Initial." 
I can't close or down the link when "PPp" prompt. 


--hwh


# ppp
Working in interactive mode
Using interface: tun0
ppp ON hwh> load gw
tun0: Command: gw: set escape 0xff
tun0: Command: gw: set device 210.72.99.251:6669/tcp
tun0: Command: gw: set reconnect 5 0
tun0: Command: gw: set timeout 360
tun0: Command: gw: set dial
tun0: Command: gw: set ifaddr 172.16.255.251 172.16.255.1 
255.255.255.255 172.16.255.251
ppp ON hwh> set mode ddial
tun0: Command: /dev/ttyp1: set mode ddial
tun0: Phase: bundle: Establish
tun0: Phase: deflink: closed -> opening
tun0: Warning: ff02:4::/32: Change route failed: errno: Network is 
unreachable
tun0: Phase: deflink: Connecting to 210.72.99.251:6669/tcp
tun0: Phase: deflink: Connected!
tun0: Phase: deflink: opening -> dial
tun0: Phase: deflink: dial -> carrier
tun0: Phase: deflink: carrier -> login
tun0: Phase: deflink: login -> lcp
tun0: LCP: FSM: Using "deflink" as a transport
tun0: LCP: deflink: State change Initial --> Closed
tun0: LCP: deflink: State change Closed --> Stopped
ppp ON hwh> tun0: LCP: deflink: LayerStart
tun0: LCP: deflink: SendConfigReq(1) state = Stopped
tun0: LCP:  ACFCOMP[2]
tun0: LCP:  PROTOCOMP[2]
tun0: LCP:  ACCMAP[6] 0x00000000
tun0: LCP:  MRU[4] 1500
tun0: LCP:  MAGICNUM[6] 0xebab60d9
tun0: LCP: deflink: State change Stopped --> Req-Sent
tun0: LCP: deflink: RecvConfigReq(1) state = Req-Sent
tun0: LCP:  ACFCOMP[2]
tun0: LCP:  PROTOCOMP[2]
tun0: LCP:  ACCMAP[6] 0x00000000
tun0: LCP:  MRU[4] 1500
tun0: LCP:  MAGICNUM[6] 0x7429fee7
tun0: LCP: deflink: SendConfigAck(1) state = Req-Sent
tun0: LCP:  ACFCOMP[2]
tun0: LCP:  PROTOCOMP[2]
tun0: LCP:  ACCMAP[6] 0x00000000
tun0: LCP:  MRU[4] 1500
tun0: LCP:  MAGICNUM[6] 0x7429fee7
tun0: LCP: deflink: State change Req-Sent --> Ack-Sent
tun0: LCP: deflink: RecvConfigAck(1) state = Ack-Sent
tun0: LCP:  ACFCOMP[2]
tun0: LCP:  PROTOCOMP[2]
tun0: LCP:  ACCMAP[6] 0x00000000
tun0: LCP:  MRU[4] 1500
tun0: LCP:  MAGICNUM[6] 0xebab60d9
tun0: LCP: deflink: State change Ack-Sent --> Opened
tun0: LCP: deflink: LayerUp
tun0: IPCP: Using trigger address 172.16.255.251
tun0: CCP: FSM: Using "deflink" as a transport
tun0: CCP: deflink: State change Initial --> Closed
tun0: CCP: deflink: LayerStart.
tun0: CCP: MPPE: Not usable without CHAP81
tun0: CCP: deflink: SendConfigReq(1) state = Closed
tun0: CCP:  DEFLATE[4] win 15
tun0: CCP:  PRED1[2]
tun0: CCP: deflink: State change Closed --> Req-Sent
tun0: Phase: deflink: lcp -> open
tun0: Phase: bundle: Network
tun0: IPCP: FSM: Using "deflink" as a transport
tun0: IPCP: deflink: State change Initial --> Closed
tun0: IPCP: deflink: LayerStart.
tun0: IPCP: deflink: SendConfigReq(1) state = Closed
tun0: IPCP:  IPADDR[6] 172.16.255.251
tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
tun0: IPCP:  PRIDNS[6] 211.136.17.107
tun0: IPCP:  SECDNS[6] 255.255.255.255
tun0: IPCP: deflink: State change Closed --> Req-Sent
PPp ON hwh> tun0: LCP: deflink: RecvIdent(0) state = Opened
tun0: LCP:  MAGICNUM 7429fee7
tun0: LCP:  TEXT user-ppp 3.1 (built Nov
tun0: CCP: deflink: RecvConfigReq(1) state = Req-Sent
tun0: CCP:  DEFLATE[4] win 15
tun0: CCP:  PRED1[2]
tun0: CCP: deflink: SendConfigRej(1) state = Req-Sent
tun0: CCP:  PRED1[2]
tun0: IPCP: deflink: RecvConfigReq(1) state = Req-Sent
tun0: IPCP:  IPADDR[6] 172.16.255.1
tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
tun0: IPCP:  PRIDNS[6] 210.21.6.33
tun0: IPCP:  SECDNS[6] 255.255.255.255
tun0: IPCP: deflink: SendConfigRej(1) state = Req-Sent
tun0: IPCP:  PRIDNS[6] 210.21.6.33
tun0: IPCP:  SECDNS[6] 255.255.255.255
tun0: CCP: deflink: RecvConfigRej(1) state = Req-Sent
tun0: CCP:  PRED1[2]
tun0: CCP: MPPE: Not usable without CHAP81
tun0: CCP: deflink: SendConfigReq(2) state = Req-Sent
tun0: CCP:  DEFLATE[4] win 15
tun0: LCP: deflink: RecvIdent(1) state = Opened
tun0: LCP:  MAGICNUM 7429fee7
tun0: LCP:  TEXT user-ppp 3.1 (built Nov
tun0: IPCP: deflink: RecvConfigRej(1) state = Req-Sent
tun0: IPCP:  PRIDNS[6] 211.136.17.107
tun0: IPCP:  SECDNS[6] 255.255.255.255
tun0: IPCP: deflink: SendConfigReq(2) state = Req-Sent
tun0: IPCP:  IPADDR[6] 172.16.255.251
tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
tun0: LCP: deflink: RecvIdent(2) state = Opened
tun0: LCP:  MAGICNUM 7429fee7
tun0: LCP:  TEXT user-ppp 3.1 (built Nov
tun0: LCP: deflink: RecvIdent(3) state = Opened
tun0: LCP:  MAGICNUM 7429fee7
tun0: LCP:  TEXT user-ppp 3.1 (built Nov
tun0: CCP: deflink: RecvConfigReq(2) state = Req-Sent
tun0: CCP:  DEFLATE[4] win 15
tun0: CCP: deflink: SendConfigAck(2) state = Req-Sent
tun0: CCP:  DEFLATE[4] win 15
tun0: CCP: deflink: State change Req-Sent --> Ack-Sent
tun0: LCP: deflink: RecvIdent(4) state = Opened
tun0: LCP:  MAGICNUM 7429fee7
tun0: LCP:  TEXT user-ppp 3.1 (built Nov
tun0: IPCP: deflink: RecvConfigReq(2) state = Req-Sent
tun0: IPCP:  IPADDR[6] 172.16.255.1
tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
tun0: IPCP: deflink: SendConfigAck(2) state = Req-Sent
tun0: IPCP:  IPADDR[6] 172.16.255.1
tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
tun0: CCP: deflink: RecvConfigAck(2) state = Ack-Sent
tun0: CCP:  DEFLATE[4] win 15
tun0: CCP: deflink: State change Ack-Sent --> Opened
tun0: CCP: deflink: LayerUp.
tun0: CCP: Deflate: Input channel reset
tun0: CCP: Deflate: Output channel reset
tun0: CCP: deflink: Out = DEFLATE[26], In = DEFLATE[26]
tun0: Warning: ff02:4::/32: Change route failed: errno: Network is 
unreachable
tun0: IPCP: deflink: RecvConfigAck(2) state = Ack-Sent
tun0: IPCP:  IPADDR[6] 172.16.255.251
tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
tun0: IPCP: deflink: State change Ack-Sent --> Opened
tun0: IPCP: deflink: LayerUp.
tun0: IPCP: myaddr 172.16.255.251 hisaddr = 172.16.255.1
tun0: Warning: ff02:4::/32: Change route failed: errno: Network is 
unreachable
PPP ON hwh> tun0: Phase: deflink: read (2): Got zero bytes
tun0: CCP: deflink: LayerDown.
tun0: CCP: deflink: State change Opened --> Starting
tun0: CCP: deflink: LayerFinish.
tun0: CCP: deflink: State change Starting --> Initial
tun0: LCP: deflink: LayerDown
tun0: LCP: deflink: State change Opened --> Starting
tun0: Phase: deflink: open -> lcp
tun0: Warning: ff02:4::/32: Change route failed: errno: Network is 
unreachable
tun0: IPCP: deflink: LayerDown: 172.16.255.251
tun0: IPCP: Using trigger address 172.16.255.251
tun0: IPCP: deflink: State change Opened --> Starting
tun0: IPCP: deflink: LayerFinish.
tun0: IPCP: Connect time: 15 secs: 0 octets in, 0 octets out
tun0: IPCP: 0 packets in, 0 packets out
tun0: IPCP:  total 0 bytes/sec, peak 0 bytes/sec on Fri Jun 11 16:10:31 2004
tun0: IPCP: deflink: State change Starting --> Initial
tun0: LCP: deflink: LayerFinish
tun0: LCP: deflink: State change Starting --> Initial
tun0: Phase: deflink: Disconnected!
tun0: Phase: deflink: lcp -> logout
tun0: Phase: deflink: Disconnected!
tun0: Phase: deflink: logout -> hangup
tun0: Phase: deflink: Connect time: 17 secs: 523 octets in, 385 octets out
tun0: Phase: deflink: 8 packets in, 15 packets out
tun0: Phase:  total 53 bytes/sec, peak 273 bytes/sec on Fri Jun 11 
16:10:31 2004
tun0: Phase: deflink: hangup -> opening
tun0: Phase: deflink: Enter pause (5) for redialing.
tun0: Chat: deflink: Reconnect try 1 of 0
 
PPp ON hwh> tun0: Chat: deflink: Redial timer expired.
tun0: Phase: deflink: Connecting to 210.72.99.251:6669/tcp
tun0: Phase: deflink: Connected!
tun0: Phase: deflink: opening -> dial
tun0: Phase: deflink: dial -> carrier
tun0: Phase: deflink: carrier -> login
tun0: Phase: deflink: login -> lcp
tun0: LCP: FSM: Using "deflink" as a transport
tun0: LCP: deflink: State change Initial --> Closed
tun0: LCP: deflink: State change Closed --> Stopped
tun0: LCP: deflink: LayerStart
tun0: LCP: deflink: SendConfigReq(5) state = Stopped
tun0: LCP:  ACFCOMP[2]
tun0: LCP:  PROTOCOMP[2]
tun0: LCP:  ACCMAP[6] 0x00000000
tun0: LCP:  MRU[4] 1500
tun0: LCP:  MAGICNUM[6] 0x5ce8dd79
tun0: LCP: deflink: State change Stopped --> Req-Sent
tun0: LCP: deflink: RecvConfigReq(1) state = Req-Sent
tun0: LCP:  ACFCOMP[2]
tun0: LCP:  PROTOCOMP[2]
tun0: LCP:  ACCMAP[6] 0x00000000
tun0: LCP:  MRU[4] 1500
tun0: LCP:  MAGICNUM[6] 0x909e29d0
tun0: LCP: deflink: SendConfigAck(1) state = Req-Sent
tun0: LCP:  ACFCOMP[2]
tun0: LCP:  PROTOCOMP[2]
tun0: LCP:  ACCMAP[6] 0x00000000
tun0: LCP:  MRU[4] 1500
tun0: LCP:  MAGICNUM[6] 0x909e29d0
tun0: LCP: deflink: State change Req-Sent --> Ack-Sent
tun0: LCP: deflink: RecvConfigAck(5) state = Ack-Sent
tun0: LCP:  ACFCOMP[2]
tun0: LCP:  PROTOCOMP[2]
tun0: LCP:  ACCMAP[6] 0x00000000
tun0: LCP:  MRU[4] 1500
tun0: LCP:  MAGICNUM[6] 0x5ce8dd79
tun0: LCP: deflink: State change Ack-Sent --> Opened
tun0: LCP: deflink: LayerUp
tun0: Phase: deflink: Already in NETWORK phase
tun0: Phase: deflink: lcp -> open
tun0: Warning: ff02:4::/32: Change route failed: errno: Network is 
unreachable
tun0: LCP: deflink: RecvIdent(0) state = Opened
tun0: LCP:  MAGICNUM 909e29d0
tun0: LCP:  TEXT user-ppp 3.1 (built Nov
tun0: CCP: deflink: RecvConfigReq(1) state = Initial
tun0: CCP:  DEFLATE[4] win 15
tun0: CCP:  PRED1[2]
tun0: LCP: deflink: SendProtocolRej(6) state = Opened
tun0: IPCP: deflink: RecvConfigReq(1) state = Initial
tun0: IPCP:  IPADDR[6] 172.16.255.1
tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
tun0: IPCP:  PRIDNS[6] 210.21.6.33
tun0: IPCP:  SECDNS[6] 255.255.255.255
tun0: IPCP: deflink: Oops, RCR in Initial.
tun0: IPCP: deflink: RecvConfigReq(1) state = Initial
tun0: IPCP:  IPADDR[6] 172.16.255.1
tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
tun0: IPCP:  PRIDNS[6] 210.21.6.33
tun0: IPCP:  SECDNS[6] 255.255.255.255
tun0: IPCP: deflink: Oops, RCR in Initial.
tun0: IPCP: deflink: RecvConfigReq(1) state = Initial
tun0: IPCP:  IPADDR[6] 172.16.255.1
tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
tun0: IPCP:  PRIDNS[6] 210.21.6.33
tun0: IPCP:  SECDNS[6] 255.255.255.255
tun0: IPCP: deflink: Oops, RCR in Initial.
tun0: IPCP: deflink: RecvConfigReq(1) state = Initial
tun0: IPCP:  IPADDR[6] 172.16.255.1
tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
tun0: IPCP:  PRIDNS[6] 210.21.6.33
tun0: IPCP:  SECDNS[6] 255.255.255.255
tun0: IPCP: deflink: Oops, RCR in Initial.
tun0: IPCP: deflink: RecvConfigReq(1) state = Initial
tun0: IPCP:  IPADDR[6] 172.16.255.1
tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
tun0: IPCP:  PRIDNS[6] 210.21.6.33
tun0: IPCP:  SECDNS[6] 255.255.255.255
tun0: IPCP: deflink: Oops, RCR in Initial.

PPp ON hwh> close
tun0: Command: /dev/ttyp1: close
tun0: Phase: deflink: Disconnected!
tun0: Phase: deflink: Enter pause (5) for redialing.
tun0: Chat: deflink: Reconnect try 1 of 0
PPp ON hwh> down
tun0: Command: /dev/ttyp1: down
tun0: Phase: deflink: Disconnected!
tun0: Phase: deflink: Enter pause (5) for redialing.
tun0: Chat: deflink: Reconnect try 1 of 0
PPp ON hwh>
Received on Fri Jun 11 2004 - 06:33:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:56 UTC