Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!zip.eecs.umich.edu!panix!cmcl2!newsserv.cs.sunysb.edu!home.stark.cs.sunysb.EDU!stark!stark!gene From: stark!gene@newsserv.cs.sunysb.edu (Gene Stark) Newsgroups: comp.os.386bsd.questions Subject: Re: FreeBSD & Modem unusable :-( Date: 23 Jun 94 08:03:03 Organization: Gene Stark's home system Lines: 27 Message-ID: <STARK!GENE.94Jun23080303@stark.uucp> References: <772309400snz@bstone.demon.co.uk> NNTP-Posting-Host: home.stark.cs.sunysb.edu In-reply-to: Ian@bstone.demon.co.uk's message of Wed, 22 Jun 1994 18:23:20 +0000 >Can someone PLEASE help me as it has been 2 months now and I still can't get >my modem to hangup when using FreeBSD 1.1 > >Its a Miracom Courier DS HST connected to tty01. I can dial up ok and connect >to my internet service provider (demon uk), but after receiving mail, etc I >cannot get the modem to hang up. I've tried echoing "+++\c" followed by a >pause, then echoing "ath" but it just sits there on line. First, make sure that you have your modem set up for hangup/reset on DTR drop. Second, you don't say it, but since you mention internet provider, I am assuming you are using SLIP or PPP? Are you using PPP? If so, then apply the following patch to /usr/src/libexec/pppd/main.c, recompile and reinstall. I posted this patch to the FreeBSD hackers mailing list about two months ago, there was discussion, but apparently not much agreement among the principals as to which part of the system was broken, since the patch was not made part of the subsequent distributions. 583,584c583,584 < if (!modem) < tios.c_cflag |= CLOCAL; --- > /* if (!modem) > tios.c_cflag |= CLOCAL; */ - Gene Stark