Brian Somers writes: > > Well, I'd hoped I'd be able to do a little more before bothering the list, > > but... > > > > I'd last built world around the end of April, with no problems. I then > > grew a fairly heavy workload, and so didn't get a chance to build world > > again until 2 days ago (May 24). During that time, something changed with > > ppp so it no longer works correctly for me (details shortly). > > > [.....] > > May 25 11:02:53 moran ppp[3577]: tun0: LCP: deflink: Stopped timer expired > > May 25 11:02:53 moran ppp[3577]: tun0: LCP: deflink: State change Stopped > > --> Closed > > This happens because the peer hasn't said anything in the five > seconds you've been connected (``set openmode passive'' says to wait > for the peer to start talking and ``set stopped 5'' says to bring the > layer down if we find ourselves in the STOPPED state for 5 seconds). > > Your login script looks suspect - it's always dangerous to have a > login script that sends your password and waits for no confirmation > of success (or failure). Isn't there something you can ``expect'' ? > > Try increasing your ``set stopped'' value to (say) 20 and see if that > helps. > > [.....]
I raised my `set stopped' to 20; that just made it wait 20 seconds before it said `stopped timer expired' :-(. I removed the `set openmode passive' and got ############ May 26 17:49:59 moran ppp-4[28641]: tun0: LCP: FSM: Using "deflink" as a transpo rt May 26 17:49:59 moran ppp-4[28641]: tun0: LCP: deflink: State change Initial --> Closed May 26 17:49:59 moran ppp-4[28641]: tun0: LCP: deflink: State change Closed --> Stopped May 26 17:50:00 moran ppp-4[28641]: tun0: LCP: deflink: LayerStart May 26 17:50:00 moran ppp-4[28641]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped May 26 17:50:00 moran ppp-4[28641]: tun0: LCP: ACFCOMP[2] May 26 17:50:00 moran ppp-4[28641]: tun0: LCP: PROTOCOMP[2] May 26 17:50:00 moran ppp-4[28641]: tun0: LCP: ACCMAP[6] 0x00000000 May 26 17:50:00 moran ppp-4[28641]: tun0: LCP: MRU[4] 1500 May 26 17:50:00 moran ppp-4[28641]: tun0: LCP: MAGICNUM[6] 0x1f0d216b May 26 17:50:00 moran ppp-4[28641]: tun0: LCP: deflink: State change Stopped --> Req-Sent May 26 17:50:00 moran ppp-4[28641]: tun0: LCP: deflink: RecvConfigReq(1) state = Req-Sent May 26 17:50:00 moran ppp-4[28641]: tun0: LCP: ACFCOMP[2] May 26 17:50:00 moran ppp-4[28641]: tun0: LCP: PROTOCOMP[2] May 26 17:50:00 moran ppp-4[28641]: tun0: LCP: ACCMAP[6] 0x00000000 May 26 17:50:00 moran ppp-4[28641]: tun0: LCP: MRU[4] 1500 May 26 17:50:00 moran ppp-4[28641]: tun0: LCP: MAGICNUM[6] 0x1f0d216b May 26 17:50:00 moran ppp-4[28641]: tun0: LCP: Magic is same (1f0d216b) - 1 time s May 26 17:50:01 moran ppp-4[28641]: tun0: LCP: deflink: SendConfigNak(1) state = Req-Sent May 26 17:50:01 moran ppp-4[28641]: tun0: LCP: MAGICNUM[6] 0x1f0d216b May 26 17:50:01 moran ppp-4[28641]: tun0: LCP: deflink: RecvConfigNak(1) state = Req-Sent May 26 17:50:01 moran ppp-4[28641]: tun0: LCP: MAGICNUM[6] 0x1f0d216b May 26 17:50:01 moran ppp-4[28641]: tun0: LCP: Magic 0x1f0d216b is NAKed! May 26 17:50:01 moran ppp-4[28641]: tun0: LCP: deflink: SendConfigReq(2) state = Req-Sent May 26 17:50:01 moran ppp-4[28641]: tun0: LCP: ACFCOMP[2] May 26 17:50:01 moran ppp-4[28641]: tun0: LCP: PROTOCOMP[2] May 26 17:50:01 moran ppp-4[28641]: tun0: LCP: ACCMAP[6] 0x00000000 May 26 17:50:01 moran ppp-4[28641]: tun0: LCP: MRU[4] 1500 May 26 17:50:01 moran ppp-4[28641]: tun0: LCP: MAGICNUM[6] 0x38e4a5bd May 26 17:50:01 moran ppp-4[28641]: tun0: LCP: deflink: RecvConfigReq(2) state = Req-Sent May 26 17:50:01 moran ppp-4[28641]: tun0: LCP: ACFCOMP[2] May 26 17:50:01 moran ppp-4[28641]: tun0: LCP: PROTOCOMP[2] May 26 17:50:01 moran ppp-4[28641]: tun0: LCP: ACCMAP[6] 0x00000000 May 26 17:50:01 moran ppp-4[28641]: tun0: LCP: MRU[4] 1500 May 26 17:50:01 moran ppp-4[28641]: tun0: LCP: MAGICNUM[6] 0x38e4a5bd May 26 17:50:01 moran ppp-4[28641]: tun0: LCP: Magic is same (38e4a5bd) - 2 time s May 26 17:50:02 moran ppp-4[28641]: tun0: LCP: deflink: SendConfigNak(2) state = Req-Sent [...] May 26 17:50:50 moran ppp-4[28641]: tun0: LCP: ACFCOMP[2] May 26 17:50:50 moran ppp-4[28641]: tun0: LCP: PROTOCOMP[2] May 26 17:50:50 moran ppp-4[28641]: tun0: LCP: ACCMAP[6] 0x00000000 May 26 17:50:50 moran ppp-4[28641]: tun0: LCP: MRU[4] 1500 May 26 17:50:50 moran ppp-4[28641]: tun0: LCP: MAGICNUM[6] 0x534d1784 May 26 17:50:53 moran ppp-4[28641]: tun0: Phase: deflink: Too many LCP REQs sent - abandoning negotiation May 26 17:50:53 moran ppp-4[28641]: tun0: LCP: deflink: SendTerminateReq(13) sta te = Req-Sent May 26 17:50:53 moran ppp-4[28641]: tun0: LCP: deflink: State change Req-Sent -- > Closing May 26 17:50:56 moran ppp-4[28641]: tun0: LCP: deflink: SendTerminateReq(13) sta te = Closing ################ which didn't do much good. Finally, I told it to expect `Welcome' after logging in, and received the following -- note the extra `e' it says it's Expecting, which is definitely NOT in my ppp.conf file. I tried Expecting `Last' also, and it wanted to Expect `Lastt' and timed out again. ################ May 26 17:55:15 moran ppp-4[28664]: tun0: Chat: Received: Password: May 26 17:55:15 moran ppp-4[28664]: tun0: Chat: Send: xxxxxx^M May 26 17:55:15 moran ppp-4[28664]: tun0: Chat: Expect(5): Welcomee May 26 17:55:15 moran ppp-4[28664]: tun0: Chat: Received: ^M May 26 17:55:15 moran ppp-4[28664]: tun0: Chat: Received: Last login: Wed May 26 17:53:17 on ttyd0^M May 26 17:55:15 moran ppp-4[28664]: tun0: Chat: Received: FreeBSD 2.1-STABLE (WATSON) #0: Wed May 19 07:47:08 EST 1999^M May 26 17:55:15 moran ppp-4[28664]: tun0: Chat: Received: ^M May 26 17:55:15 moran ppp-4[28664]: tun0: Chat: Received: Welcome to FreeBSD!^M May 26 17:55:15 moran ppp-4[28664]: tun0: Chat: Received: ^M May 26 17:55:20 moran ppp-4[28664]: tun0: Chat: Expect timeout May 26 17:55:20 moran ppp-4[28664]: tun0: Warning: Chat script failed ################ Thanks again... -- Richard Kuhns r...@grauel.com PO Box 6249 Tel: (765)477-6000 \ 100 Sawmill Road x319 Lafayette, IN 47903 (800)489-4891 / To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message