*BSD News Article 30042


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!sol.ctr.columbia.edu!proto.ida.org!dthomas-mac.ida.org!dcthomas
From: Dean Thomas <dcthomas@ida.org>
Newsgroups: comp.os.386bsd.questions
Subject: Modem problems
Date: 28 Apr 1994 13:38:20 GMT
Organization: IDA
Lines: 66
Distribution: world
Message-ID: <2poe8c$c4q@dmsoproto.ida.org>
NNTP-Posting-Host: dthomas-mac.ida.org
X-UserAgent: Version 1.1.3
X-XXMessage-ID: <A9E533C53E012866@dthomas-mac.ida.org>
X-XXDate: Thu, 28 Apr 94 02:35:01 GMT


Hello everyone,

I have a problem that I hope the experts can help me with.
I have a 486/33 PC on which I am running FreeBSD & XFree86
(the Walnut Creek CDROM distribution).  I have it set up as a 
dual boot system, the other OS is MSDOS/Windoze.  I also have an
internal Intel 14.4i modem.  Under DOS/Windoze, the modem works
perfectly, under FreeBSD I have a problem.  

I'm using Kermit to operate the modem.  I start Kermit, 
set modem hayes, set line /dev/tty02 (MSDOS COM3), 
set speed 2400, and dial my number (e.g., Compuserve).  

I can hear the modem dial up the number and make the connection.  
After the connection is established, I DO NOT receive the remote 
login prompt or any other information on the screen.  If I use the 
Kermit escape sequence to jump back to the Kermit command line, 
and issue the command "connect", approx. a dozen characters from the 
remote system  will I appear on the screen.  If I hit the space 
bar a few times and then the return key, I will get another dozen or
so characters.  If I ignore what I see on the screen and type in my 
login name, password, etc., I can login, but I never receive more than 
about a dozen characters at a time from the remote system.  

I have read the FAQ, and I believe that I have correctly followed the
procedures outlined in it (e.g., stty clocal). 
 
If I issue the command "stty -f /dev/tty02" BEFORE starting Kermit
I receive the following output:

speed 9600 baud;
lflags: -icanon -isig -iexten -echo
iflags: -icrnl -ixon -ixany -imaxbel -brkint
oflags: -opost -onlcr -oxtabs
cflags: cs8 -parenb clocal

After starting Kermit, setting line speed, and dialing a number,
the stty settings are:

speed 2400 baud;
lflags: -icanon -isig -iexten -echo
iflags: -icrnl ixoff -ixany -imaxbel ignbrk -brkint ignpar
oflags: -opost -onlcr -oxtabs
cflags: cs8 -parenb

My /etc/ttys file is:

#
#	@(#)ttys	5.1 (Berkeley) 4/17/89
#
# name	getty				type	status		comments
#
vga	"/usr/X386/bin/xdm-nodes -nodaemon" pc3	on secure
#console	"/usr/libexec/getty Pc"	pc3	on secure
tty00	"/usr/libexec/getty std.9600"	unknown	off secure
tty01	"/usr/libexec/getty D1200n"     mouse	off secure
tty02	none				unknown	off secure
tty03	none				unknown	off secure
ttyp0	none			network
(remaining ttyp* entries deleted)

Looking at the stty results, I can see that I am losing the 
clocal setting after dialing the number.  But I don't
know why.  Is this the cause of my problems? Does anyone have 
any suggestions.  Thanks in advance...Dean