From owner-freebsd-doc Thu Mar 27 13:08:20 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA22313 for doc-outgoing; Thu, 27 Mar 1997 13:08:20 -0800 (PST) Received: from adam.adonai.net ([205.182.92.2]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA22257 for ; Thu, 27 Mar 1997 13:08:10 -0800 (PST) Received: from localhost (leec@localhost) by adam.adonai.net (8.8.5/8.7.3) with SMTP id PAA28389 for ; Thu, 27 Mar 1997 15:09:32 -0600 (CST) Date: Thu, 27 Mar 1997 15:09:31 -0600 (CST) From: "Lee Crites (AEI)" To: freebsd-doc@freebsd.org Subject: dialup modem setup documentation Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-doc@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am thinking this is the right place to send this. If I'm wrong, please let me know where I should send it. After spending hours and hours sweating blood trying to get my dialup modems to work, I finally got it! I got pointers from several people here and there, from a few web pages and faq's, and from phone calls to hardware vendors. But nowhere could I find the complete answer. What was the question? How do you make dialup modems work? I would have thought this a pretty simple question which would be found in one of several faqs. Since nobody has put something like this into the handbook, I thought I'd toss something together. I'm sure it will have to be prettied up before it is acceptable as real documentation, but this is the raw information to start with. Anyway, here's what I had to do to make my dialup modems work. I am using a digiboard, so keep that in mind. However, one of the pointers I got which was most helpful came from someone using a boca 16 port board, so I assume the concepts are generic enough to be helpful no matter what kind of board you are using. * kernel configuration and MAKEDEV are assumed to have already been done. * change the /etc/rc.serial file to call modem() for each port you will be using. Here's my modem() and call: # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= modem() { # Modem that supports CTS and perhaps RTS handshaking. ci=$1; shift # call-in device identifier co=$1; shift # call-out device identifier for i in $* do # may depend on modem comcontrol /dev/tty$ci$i dtrwait 100 drainwait 180 # Lock crtscts on. # Speed reasonable for V42bis. stty , is this already in some very nice format in the handbook and I was just too brain-dead to find it? Any hints or ideas are welcome. Lee Crites leec@adonai.net