From owner-freebsd-hackers Fri Apr 28 12:30:59 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA22784 for hackers-outgoing; Fri, 28 Apr 1995 12:30:59 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id MAA22769 for ; Fri, 28 Apr 1995 12:30:48 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA13345; Fri, 28 Apr 1995 21:26:49 +0200 Received: by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id VAA25139 for hackers@freebsd.org; Fri, 28 Apr 1995 21:26:48 +0200 Received: (from j@localhost) by jette.heep.sax.de (8.6.8/8.6.9) id UAA00307 for hackers@freebsd.org; Fri, 28 Apr 1995 20:20:16 +0200 From: J Wunsch Message-Id: <199504281820.UAA00307@jette.heep.sax.de> Subject: Re: Is there any FAQ on thge serial in FreeBSD? To: hackers@FreeBSD.org Date: Fri, 28 Apr 1995 20:20:12 +0200 (MET DST) Reply-To: hackers@FreeBSD.org In-Reply-To: from "Anthony Graphics" at Apr 28, 95 09:51:04 am Reply-To: joerg_wunsch@uriah.heep.sax.de X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1572 Sender: hackers-owner@FreeBSD.org Precedence: bulk > From what I understand I should initiate the modem once with either > tip or cu and then AT&W. So, /usr/libexec/getty loads the NVRAM profile > with ATZ? What is not clear is: what would happen if NVRAM'd get lost > or corrupted someshow? Could I init the modem from the batch file The NVRAM should never be corrupted except by user action. Anyway good modems are able to perform the equivalent of ATZ at a DTR drop. I've seen it at least on a Hayes Optima. Note that every close of the device causes a DTR drop under Unix, so this is indeed a nice way to reset the modem to its defaults. As Ollivier also remarked, decent modems don't pick up the phone line if they miss DTR. Alas, alot of modems are broken in this field. > (WEll, something that has the same effect as /etc/default/uu*S? in gettyps) > ? I suppose I could, but what is the proper tool to do this? Kermit or > chat from pppd-2.1.2c package? chat might be worth a try, i think it's fairly easy (but misses a man page). Btw., it's in the system by default, you don't need a package for it. Kermit in connection with some script might also do it. > Hmm, I tried mgetty under linux but I still can't get into one thing: > is there any way to use this stuff in the system with zoo of modems > of different type, init strings are hardwired, right? Sorry, i don't have an idea. I'm using mgetty only as a workaround for my broken modem, and as soon as i've got a better modem, be sure: i will go back to the regular getty. Joerg (without the umlaut, since i also hate quoted-printable replies :)