*BSD News Article 36966


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!uwm.edu!lll-winken.llnl.gov!sol.ctr.columbia.edu!howland.reston.ans.net!cs.utexas.edu!utnut!nott!cunews!freenet.carleton.ca!FreeNet.Carleton.CA!ab578
From: ab578@FreeNet.Carleton.CA (Bill Cheung)
Subject: Dialin setup for FreeBSD 1.1.5.1
Message-ID: <Cxorvu.H43@freenet.carleton.ca>
Sender: news@freenet.carleton.ca (Usenet News Admin)
Reply-To: ab578@FreeNet.Carleton.CA (Bill Cheung)
Organization: The National Capital FreeNet
Date: Fri, 14 Oct 1994 23:28:42 GMT
Lines: 70




I've been trying to setup the dialin for my computer (with FreeBSD
1.1.5.1) at home for a couple of days without much of success.  I can
dialout alright, but not dialin. When I tried to dialin, the system
hanged after the "connected at 14400 baud..." message, and there's no
login prompt. If I type a couple of CRs after the message, then I'll
get "`f`f"... characters on the screen and the whole thing gets locked
up.

The internal US Robotics Sportster 14.4 modem is connected to com3, ie.,
/386bsd: sio2 at 0x3e8-0x3ef irq 5 on isa 
/386bsd: sio2: type 16550A

Here're my setups.... 

####################  modem setup #############################
OK
atti4
USRobotics Sportster 14400 Fax Settings...
   B0  E1  F1  L2  M1  Q0  V1  X4  Y0                                          
   BAUD=38400   PARITY=N  WORDLEN=8 
   DIAL=HUNT   ON HOOK

   &A3  &B1  &C1  &D2  &G0  &H1  &I0  &K1
   &M4  &N0  &P0  &R2  &S0  &T5  &Y1 

   S00=001  S01=000  S02=043  S03=013  S04=010  S05=008  S06=002 
   S07=060  S08=002  S09=006  S10=007  S11=070  S12=050  S13=000
   S14=000  S15=000  S16=000  S17=000  S18=000  S19=000  S20=000 
   S21=010  S22=017  S23=019  S24=000  S25=005  S26=000  S27=000
   S28=008  S29=020  S30=000  S31=000  S32=000  S33=000  S34=006
   S35=000  S36=014  S37=000  S38=000  S39=000  S40=000  S41=000
   S42=000  S43=000  S44=015  S45=000  S46=000  S47=000  S48=000
   S49=000  S50=000  S51=000                                                                                 
   LAST DIALED #: 

OK

#################### /etc/rc.serial ###########################
modem() {
        for i in $*
        do
                comcontrol /dev/ttyd$i dtrwait 100
                stty </dev/ttyid$i -clocal crtscts 57600
                stty </dev/ttyld$i -clocal crtscts
                stty </dev/cuai0$i -clocal crtscts 57600
                stty </dev/cual0$i -clocal crtscts
        done
}

modem             2

###################### /etc/gettytab  #########################
g|std.19200|19200-baud:\
        :np:sp#19200:

###################### /etc/ttys ##############################
ttyd2   "/usr/libexec/getty std.19200"  dialup on secure

###############################################################

Did I miss anything or did I do something wrong? Why can't I dialin?

Thanks for reading, and if there's a demand, I'll summarize after I
gathered all responses.

-Bill