From owner-freebsd-hardware Wed Jun 12 05:12:52 1996 Return-Path: owner-hardware Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA28424 for hardware-outgoing; Wed, 12 Jun 1996 05:12:52 -0700 (PDT) Received: from core.apana.org.au (core.apana.org.au [203.12.236.10]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA28418 for ; Wed, 12 Jun 1996 05:12:43 -0700 (PDT) Received: from jparnas.cybercom.net (jparnas.cybercom.net [205.198.82.58]) by core.apana.org.au (8.7.5/8.7.3) with SMTP id WAA08908 for ; Wed, 12 Jun 1996 22:12:27 +1000 Received: from localhost.cybercom.net (localhost.cybercom.net [127.0.0.1]) by jparnas.cybercom.net (8.6.10/8.6.10) with SMTP id IAA12368; Wed, 12 Jun 1996 08:11:17 -0400 Message-Id: <199606121211.IAA12368@jparnas.cybercom.net> X-Authentication-Warning: jparnas.cybercom.net: Host localhost.cybercom.net didn't use HELO protocol To: mollyt cc: apana-lists-os-freebsd-hardware@apana.org.au X-External-Networks: yes Subject: Re: Modem connects 9600 only WHY? In-reply-to: Your message of 12 Jun 1996 00:03:31 GMT. <01bb57f2.c0393f60$6e0d038c@pc-molly> Date: Wed, 12 Jun 1996 08:11:14 -0400 From: "Jacob M. Parnas" Sender: owner-hardware@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <01bb57f2.c0393f60$6e0d038c@pc-molly>you write: >I am running BSD/2.0 and have connected a modem to it for remote shell >access, the next step was to allow PPP access BUT. >I have a microcom deskporte fast modem (28.8k). >the box is a pentium 75 with 8meg ram. > >I cannot get the modem to connect at any Baud-rate than 9600 and below, I >have placed my own entries in ETC/GETTYTAB following the format of the >entries that are there but no good I get no table entry when I modify ttys >and let a getty run on tty00. > >Can anyone tell me how I get a modem to run on my BSD machine including: I'm using a US Robotics V.everything on a Sun Sparc 2 running SunOS 4.1.3_U1. >1) How to dictate com port speed (computer to modem) AT&B10 -- sets computer->modem at 115200 baud >2) How to dictate communication speed (modem to modem) AT&N0 -- negotiates the highest >3) What files I need to modify and how (ie gettytab entries ttys entries). I need a special card (Magma, $275, I think with 2 serial ports, 1 parallel) and put the following in my /etc/rc.local # MAGMA Sp # MAGMA Sp Driver # installed on 04/07/95 15:48 by jparnas.cybercom.net!jparnas ttyp2 Apr 7 15:31 (:0.0) # if [ -d /etc/MAGMA/Sp ] ; then dir=`pwd` cd /etc/MAGMA/Sp /usr/etc/modload mh.o -entry _mh_vdcmd -exec mh.exec /etc/MAGMA/Sp/setport cum01 115200 -parenb cs8 crtscts ixoff 709 -hangup /etc/MAGMA/Sp/setport ttym01 115200 -parenb cs8 crtscts ixoff 709 -hangup cd $dir fi rm -f /u/jparnas/tmp/slip.output rm -f /u/jparnas/tmp/slip.pid rm /usr/spool/uucp/LCK* It uses 1800 baud as 115200 baud (since 1800 is pretty much never used). Thus my gettytab entry is like this: j|std.115200|115200-baud:\ :sp#115200 And I'd have a ttytab entry like: # name getty type status comments # ttym01 "/usr/etc/getty std.1800" unknown off local secure And when not in use /etc/ttys would be like: (for that port) 1jttym01 I think that about covers it. Note, Your modem might be different so I'd double check the commands, and freebsd is almost certainly different than SunOS. But this should give you the basic idea. Jacob