Article View: comp.os.linux.misc
Article #1157Forcing DTR low on modem to hangup from Linux?
From: Jon Thackray
Date: Tue, 19 Jul 1994 20:25
Date: Tue, 19 Jul 1994 20:25
13 lines
1546 bytes
1546 bytes
I've been trying to get a 'hangup' program to run after PPP terminates, to hang up the modem. SLIP (via the DIP program) use the '+++' and 'ATH' commands, but these don't seem to work if the modem is busy receiving data. (I think the manual says that '+++' needs a 1 second gap) What's the best way to force DTR low (it is DTR, isn't it?), so that the modem is /guaranteed/ to go offline ...? Would I need to add a call to the kernel to be able to do this, or could it be done from user mode? Cheers, Jon. -- // Jon Thackray, 18 Windmill Wood, Amersham, Bucks. (0494) 721234.
Technical Details
Message-ID:
<30hcgo$rc@froggy.demon.co.uk>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!news.dfn.de!xlink.net!howland.reston.ans.net!pipex!demon!froggy.demon.co.uk!froggy.demon.co.uk!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,80980dfa81d91b8e,start X-Google-Attributes: gid1103af,public X-Google-Thread: 151d78,80980dfa81d91b8e,start X-Google-Attributes: gid151d78,public X-Google-Thread: 108f6a,80980dfa81d91b8e,start X-Google-Attributes: gid108f6a,public X-Google-ArrivalTime: 1994-07-19 17:02:39 PST Newsgroups: comp.os.linux.misc,demon.ip.support.unix,ukc.micro From: jrmt@froggy.demon.co.uk (Jon Thackray) Path: arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!news.dfn.de!xlink.net!howland.reston.ans.net!pipex!demon!froggy.demon.co.uk!froggy.demon.co.uk!not-for-mail Subject: Forcing DTR low on modem to hangup from Linux? Organization: Jon's box, Canterbury, UK. Lines: 13 NNTP-Posting-Host: froggy.demon.co.uk Reply-To: News admin <News.admin@froggy.demon.co.uk> X-Organization: Jon's Home Linux box Date: Tue, 19 Jul 1994 20:25:38 +0000 Message-ID: <30hcgo$rc@froggy.demon.co.uk> Sender: usenet@demon.co.uk