Hi,
ppp does connect, over my bridging dsl router, but it drops the
connection after approx 20 seconds. I think the important log entry
is this:
tun0: Warning: 0.0.0.0/0: Change route failed: errno: Network is unreachable
I tried with and without my regular ppp.linkup so I'm sure it's
nothing in there.
I'm working on this from about 10.5k miles remote so I've got to be a
bit careful, but I've bunged my public key in .ssh/authorized_keys and
added passwordless sudo for meself so I can do a fair bit with my
precious 20 seconds.
I've included the log between two redials below, followed closely by
my ppp.conf, ppp.linkup and finally a 'netstat -nrfinet'. Please cc
me in replies as I'm not on list.
thanks a lot & rgds
Tom Ryan
Oct 12 01:14:55 fairfield ppp[24551]: tun0: Phase: deflink: HUPing 25083
Oct 12 01:14:55 fairfield ppp[24551]: tun0: Phase: deflink: hangup -> opening
Oct 12 01:14:55 fairfield ppp[24551]: tun0: Phase: deflink: Enter
pause (15) for redialing.
Oct 12 01:14:55 fairfield ppp[24551]: tun0: Chat: deflink: Reconnect
try 328 of 10000
Oct 12 01:15:10 fairfield ppp[24551]: tun0: Chat: deflink: Redial timer expired.
Oct 12 01:15:10 fairfield ppp[24551]: tun0: Warning: Carrier settings ignored
Oct 12 01:15:10 fairfield ppp[24551]: tun0: Phase: deflink: Connected!
Oct 12 01:15:10 fairfield ppp[24551]: tun0: Phase: deflink: opening -> dial
Oct 12 01:15:10 fairfield ppp[24551]: tun0: Phase: deflink: dial -> carrier
Oct 12 01:15:10 fairfield ppp[24551]: tun0: Phase: deflink: carrier -> login
Oct 12 01:15:10 fairfield ppp[24551]: tun0: Phase: deflink: login -> lcp
Oct 12 01:15:10 fairfield ppp[24551]: tun0: LCP: FSM: Using "deflink"
as a transport
Oct 12 01:15:10 fairfield ppp[24551]: tun0: LCP: deflink: State change
Initial --> Closed
Oct 12 01:15:10 fairfield ppp[24551]: tun0: LCP: deflink: State change
Closed --> Stopped
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: deflink: LayerStart
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: deflink:
SendConfigReq(247) state = Stopped
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: MRU[4] 1500
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: MAGICNUM[6] 0x12e40f3c
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: QUALPROTO[8] proto
c025, interval 5000ms
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: deflink: State change
Stopped --> Req-Sent
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: deflink:
RecvConfigReq(117) state = Req-Sent
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: MRU[4] 1492
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: AUTHPROTO[5] 0xc223
(CHAP 0x05)
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: MAGICNUM[6] 0x78576f89
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: deflink:
SendConfigAck(117) state = Req-Sent
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: MRU[4] 1492
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: AUTHPROTO[5] 0xc223
(CHAP 0x05)
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: MAGICNUM[6] 0x78576f89
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: deflink: State change
Req-Sent --> Ack-Sent
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: deflink:
RecvConfigRej(247) state = Ack-Sent
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: QUALPROTO[8] proto
c025, interval 5000ms
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: deflink:
SendConfigReq(248) state = Ack-Sent
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: MRU[4] 1500
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: MAGICNUM[6] 0x12e40f3c
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: deflink:
RecvConfigAck(248) state = Ack-Sent
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: MRU[4] 1500
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: MAGICNUM[6] 0x12e40f3c
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: deflink: State change
Ack-Sent --> Opened
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: deflink: LayerUp
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: deflink:
SendEchoRequest(0) state = Opened
Oct 12 01:15:11 fairfield ppp[24551]: tun0: Phase: bundle: Authenticate
Oct 12 01:15:11 fairfield ppp[24551]: tun0: Phase: deflink: his = CHAP
0x05, mine = none
Oct 12 01:15:11 fairfield ppp[24551]: tun0: Phase: Chap Input:
CHALLENGE (16 bytes from vez8-exhibition)
Oct 12 01:15:11 fairfield ppp[24551]: tun0: Phase: Chap Output:
RESPONSE (###########)
Oct 12 01:15:11 fairfield ppp[24551]: tun0: LCP: deflink:
RecvEchoReply(0) state = Opened
Oct 12 01:15:13 fairfield ppp[24551]: tun0: LCP: deflink:
RecvConfigReq(2) state = Opened
Oct 12 01:15:13 fairfield ppp[24551]: tun0: LCP: deflink: LayerDown
Oct 12 01:15:13 fairfield ppp[24551]: tun0: LCP: AUTHPROTO[5] 0xc223
(CHAP 0x05)
Oct 12 01:15:13 fairfield ppp[24551]: tun0: LCP: MAGICNUM[6] 0x78e2a657
Oct 12 01:15:13 fairfield ppp[24551]: tun0: LCP: deflink:
SendConfigReq(249) state = Opened
Oct 12 01:15:13 fairfield ppp[24551]: tun0: LCP: MRU[4] 1500
Oct 12 01:15:13 fairfield ppp[24551]: tun0: LCP: MAGICNUM[6] 0x4273c88f
Oct 12 01:15:13 fairfield ppp[24551]: tun0: LCP: QUALPROTO[8] proto
c025, interval 5000ms
Oct 12 01:15:13 fairfield ppp[24551]: tun0: LCP: deflink:
SendConfigAck(2) state = Opened
Oct 12 01:15:13 fairfield ppp[24551]: tun0: LCP: AUTHPROTO[5] 0xc223
(CHAP 0x05)
Oct 12 01:15:13 fairfield ppp[24551]: tun0: LCP: MAGICNUM[6] 0x78e2a657
Oct 12 01:15:13 fairfield ppp[24551]: tun0: LCP: deflink: State change
Opened --> Ack-Sent
Oct 12 01:15:13 fairfield ppp[24551]: tun0: LCP: deflink:
RecvConfigAck(249) state = Ack-Sent
Oct 12 01:15:13 fairfield ppp[24551]: tun0: LCP: MRU[4] 1500
Oct 12 01:15:13 fairfield ppp[24551]: tun0: LCP: MAGICNUM[6] 0x4273c88f
Oct 12 01:15:13 fairfield ppp[24551]: tun0: LCP: QUALPROTO[8] proto
c025, interval 5000ms
Oct 12 01:15:13 fairfield ppp[24551]: tun0: LCP: deflink: State change
Ack-Sent --> Opened
Oct 12 01:15:13 fairfield ppp[24551]: tun0: LCP: deflink: LayerUp
Oct 12 01:15:13 fairfield ppp[24551]: tun0: Phase: deflink: his = CHAP
0x05, mine = none
Oct 12 01:15:13 fairfield ppp[24551]: tun0: Phase: Chap Input:
CHALLENGE (16 bytes from RNS01-DRYB-MEL)
Oct 12 01:15:13 fairfield ppp[24551]: tun0: Phase: Chap Output:
RESPONSE (######)
Oct 12 01:15:14 fairfield ppp[24551]: tun0: Phase: Chap Input: SUCCESS
Oct 12 01:15:14 fairfield ppp[24551]: tun0: CCP: FSM: Using "deflink"
as a transport
Oct 12 01:15:14 fairfield ppp[24551]: tun0: CCP: deflink: State change
Initial --> Closed
Oct 12 01:15:14 fairfield ppp[24551]: tun0: CCP: deflink: LayerStart.
Oct 12 01:15:14 fairfield ppp[24551]: tun0: CCP: MPPE: Not usable without CHAP81
Oct 12 01:15:14 fairfield ppp[24551]: tun0: CCP: deflink:
SendConfigReq(1) state = Closed
Oct 12 01:15:14 fairfield ppp[24551]: tun0: CCP: DEFLATE[4] win 15
Oct 12 01:15:14 fairfield ppp[24551]: tun0: CCP: PRED1[2]
Oct 12 01:15:14 fairfield ppp[24551]: tun0: CCP: deflink: State change
Closed --> Req-Sent
Oct 12 01:15:14 fairfield ppp[24551]: tun0: Phase: deflink: lcp -> open
Oct 12 01:15:14 fairfield ppp[24551]: tun0: Phase: bundle: Network
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: FSM: Using "deflink"
as a transport
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: deflink: State
change Initial --> Closed
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: deflink: LayerStart.
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: deflink:
SendConfigReq(166) state = Closed
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: IPADDR[6] 220.240.244.132
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: COMPPROTO[6] 16 VJ
slots with slot compression
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: PRIDNS[6] 203.194.56.150
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: SECDNS[6] 203.194.27.58
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: deflink: State
change Closed --> Req-Sent
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: deflink:
RecvConfigReq(1) state = Req-Sent
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: IPADDR[6] 203.220.79.65
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: deflink:
SendConfigAck(1) state = Req-Sent
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: IPADDR[6] 203.220.79.65
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: deflink: State
change Req-Sent --> Ack-Sent
Oct 12 01:15:14 fairfield ppp[24551]: tun0: LCP: deflink:
RecvProtocolRej(3) state = Opened
Oct 12 01:15:14 fairfield ppp[24551]: tun0: LCP: deflink: -- Protocol
0x80fd (Compression Control Protocol) was rejected!
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: deflink:
RecvConfigRej(166) state = Ack-Sent
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: COMPPROTO[6] 16 VJ
slots with slot compression
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: deflink:
SendConfigReq(167) state = Ack-Sent
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: IPADDR[6] 220.240.244.132
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: PRIDNS[6] 203.194.56.150
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: SECDNS[6] 203.194.27.58
Oct 12 01:15:14 fairfield ppp[24551]: tun0: LCP: deflink:
RecvProtocolRej(4) state = Opened
Oct 12 01:15:14 fairfield ppp[24551]: tun0: LCP: deflink: -- Protocol
0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Oct 12 01:15:14 fairfield ppp[24551]: tun0: Phase: deflink: IPV6CP
protocol reject closes IPV6CP !
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: deflink:
RecvConfigAck(167) state = Ack-Sent
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: IPADDR[6] 220.240.244.132
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: PRIDNS[6] 203.194.56.150
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: SECDNS[6] 203.194.27.58
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: deflink: State
change Ack-Sent --> Opened
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: deflink: LayerUp.
Oct 12 01:15:14 fairfield ppp[24551]: tun0: IPCP: myaddr
220.240.244.132 hisaddr = 203.220.79.65
Oct 12 01:15:14 fairfield ppp[24551]: tun0: Warning: 0.0.0.0/0: Change
route failed: errno: Network is unreachable
Oct 12 01:15:15 fairfield ppp[24551]: tun0: LCP: deflink:
RecvEchoRequest(1) state = Opened
Oct 12 01:15:15 fairfield ppp[24551]: tun0: LCP: deflink:
SendEchoReply(1) state = Opened
Oct 12 01:15:44 fairfield ppp[24551]: tun0: Phase: deflink: ** Too
many LQR packets lost **
Oct 12 01:15:44 fairfield ppp[24551]: tun0: CCP: deflink: State change
Stopped --> Closed
Oct 12 01:15:44 fairfield ppp[24551]: tun0: CCP: deflink: State change
Closed --> Initial
Oct 12 01:15:44 fairfield ppp[24551]: tun0: LCP: deflink: LayerDown
Oct 12 01:15:44 fairfield ppp[24551]: tun0: LCP: deflink: State change
Opened --> Starting
Oct 12 01:15:44 fairfield ppp[24551]: tun0: Phase: deflink: open -> lcp
Oct 12 01:15:44 fairfield ppp[24551]: tun0: Warning: 0.0.0.0/0: Change
route failed: errno: Network is unreachable
Oct 12 01:15:44 fairfield ppp[24551]: tun0: IPCP: deflink: LayerDown:
220.240.244.132
Oct 12 01:15:44 fairfield ppp[24551]: tun0: IPCP: deflink: State
change Opened --> Starting
Oct 12 01:15:44 fairfield ppp[24551]: tun0: IPCP: deflink: LayerFinish.
Oct 12 01:15:44 fairfield ppp[24551]: tun0: IPCP: Connect time: 30
secs: 13944 octets in, 13908 octets out
Oct 12 01:15:44 fairfield ppp[24551]: tun0: IPCP: 4971 packets in,
5732 packets out
Oct 12 01:15:44 fairfield ppp[24551]: tun0: IPCP: total 928
bytes/sec, peak 1745 bytes/sec on Wed Oct 12 01:15:35 2005
Oct 12 01:15:44 fairfield ppp[24551]: tun0: IPCP: deflink: State
change Starting --> Initial
Oct 12 01:15:44 fairfield ppp[24551]: tun0: Phase: bundle: Terminate
Oct 12 01:15:44 fairfield ppp[24551]: tun0: LCP: deflink: LayerFinish
Oct 12 01:15:44 fairfield ppp[24551]: tun0: LCP: deflink: State change
Starting --> Initial
Oct 12 01:15:44 fairfield ppp[24551]: tun0: Phase: deflink: Disconnected!
Oct 12 01:15:44 fairfield ppp[24551]: tun0: Phase: deflink: lcp -> logout
Oct 12 01:15:44 fairfield ppp[24551]: tun0: Phase: deflink: Disconnected!
Oct 12 01:15:44 fairfield ppp[24551]: tun0: Phase: deflink: logout -> hangup
Oct 12 01:15:44 fairfield ppp[24551]: tun0: Phase: deflink: Connect
time: 34 secs: 14263 octets in, 15118 octets out
Oct 12 01:15:44 fairfield ppp[24551]: tun0: Phase: deflink: 6251
packets in, 8316 packets out
Oct 12 01:15:44 fairfield ppp[24551]: tun0: Phase: total 864
bytes/sec, peak 1817 bytes/sec on Wed Oct 12 01:15:35 2005
Oct 12 01:15:44 fairfield ppp[24551]: tun0: Phase: deflink: HUPing 17986
Oct 12 01:15:44 fairfield ppp[24551]: tun0: Phase: deflink: hangup -> opening
Oct 12 01:15:44 fairfield ppp[24551]: tun0: Phase: bundle: Establish
Oct 12 01:15:44 fairfield ppp[24551]: tun0: Phase: deflink: Enter
pause (15) for redialing.
Oct 12 01:15:44 fairfield ppp[24551]: tun0: Chat: deflink: Reconnect
try 329 of 10000
---------------------------
default:
set log Phase Chat LCP IPCP CCP tun command
set redial 15 0
set reconnect 15 10000
pppoe:
set device "!/usr/sbin/pppoe -i rl1"
disable acfcomp protocomp
deny acfcomp
set mtu 1492
set speed sync
enable lqr
set lqrperiod 5
set cd 5
set dial
set login
set timeout 0
set authname "#####"
set authkey "'#####"
enable dns
enable mssfixup
--------
MYADDR:
! sh -c "/sbin route delete 0"
! sh -c "/sbin/route add 0 HISADDR -mtu 1492"
--------
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu Interface
default 203.220.79.65 UGS 1 1256 1500 tun0
127/8 127.0.0.1 UGRS 0 0 33224 lo0
127.0.0.1 127.0.0.1 UH 1 2 33224 lo0
192.168.20/24 192.168.30.1 UGS 0 0 - rl0
192.168.30/24 link#1 UC 1 0 - rl0
192.168.30.1 0:0:21:cb:4a:c3 UHLc 1 0 - lo0
203.220.79.65 220.240.244.132 UH 1 0 1500 tun0
224/4 127.0.0.1 URS 0 0 33224 lo0
-------