From owner-freebsd-stable Sun Mar 16 10:05:31 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA10692 for stable-outgoing; Sun, 16 Mar 1997 10:05:31 -0800 (PST) Received: from pinky.tcn.net (Pkrw.tcn.net [199.166.4.58]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA10649 for ; Sun, 16 Mar 1997 10:05:25 -0800 (PST) Received: (from krw@localhost) by pinky.tcn.net (8.8.5/8.8.5) id MAA00411; Sun, 16 Mar 1997 12:35:22 -0500 (EST) Date: Sun, 16 Mar 1997 12:35:21 -0500 (EST) From: "Kenneth R. Westerback" To: freebsd-stable@freebsd.org Subject: 2.1.7 (src-2.1 291) ppp does not hang up! Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 2.1.7 with deltas up to 291 applied. ppp.conf: default: set device /dev/cuaa1 set speed 57600 disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" set redial 10 5 set debug phase Chat LCP tcn: set phone 3590900 set login "TIMEOUT 10 login:-\\r-login: **** word: ***" set timeout 120 set ifaddr 199.166.4.58 199.166.4.2 ppp.linkup: 199.166.4.58: add 0 0 HISADDR I run ppp -auto tcn from rc.local. The first time I need it, everything works fine. But when the idle time out expires ppp closes the link but does not hang the modem up. Thus subsequent redial attempts all fail since the modem is not in command mode and ignores all AT commands. ppp.log: 03-16 11:27:44 [172] Idle timer expired. 03-16 11:27:44 [172] LCP: LayerDown 03-16 11:27:44 [172] OsLinkdown: 199.166.4.2 03-16 11:27:44 [172] Phase: Terminate 03-16 11:27:44 [172] LCP: SendTerminateReq. 03-16 11:27:44 [172] LCP: state change Opend --> Closing 03-16 11:27:44 [172] LCP: Received Terminate Ack (2) state = Closing (4) 03-16 11:27:44 [172] LCP: state change Closing --> Closed 03-16 11:27:44 [172] LCP: LayerFinish 03-16 11:27:44 [172] Phase: Dead 03-16 11:29:08 [172] Expecting 03-16 11:29:08 [172] sending: ATE1Q0 03-16 11:29:08 [172] Expecting OK-AT-OK 03-16 11:29:08 [172] Wait for (5): OK --> OK 03-16 11:29:13 [172] can't get (5). 03-16 11:29:13 [172] sending: AT 03-16 11:29:13 [172] Wait for (5): OK --> OK 03-16 11:29:18 [172] can't get (5). I had this working great under a 3.0 snapshot. What's the trick to get ppp to hang up (i.e. toggle DTR I assume) when the timer expires? ---- Ken