Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 1995 15:30:27 +1100 (EST)
From:      Anthony Hill <ahill@interconnect.com.au>
To:        Andrew Stevenson <andrew@flopsy.hobart.tased.edu.au>
Cc:        questions@freebsd.org
Subject:   Re: Dial In
Message-ID:  <Pine.BSI.3.91.951220151741.12337A-100000@tulpi.interconnect.com.au>
In-Reply-To: <199512200141.MAA00481@flopsy.hobart.tased.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 20 Dec 1995, Andrew Stevenson wrote:

> As a forerunner to setting up PPP I am trying to get a plain terminal dial in working.  When I dial up the unix the modem answers and spews out 'crap' ie.  The type of characters you never knew existed.  If I use watch to look at the ttyd I get the login prompt on the watch screen.  Using watch, everything acts normally and if I get output on stdout, corrosponding (in volume) 'crap' appears on the dial in terminal window.  Typing anything (ie. returns) on the dial in window makes the 'rd' light on the modem flash, but nothing appears on the watch window.  The appropriate line in /etc/ttys reads :
> 	ttyd2	"/usr/libexec/getty V19200"	dialup on secure
> The appropriate line in /etc/gettytab reads :
> 	<Taken from handbook for 14.4 modem>
> The appropriate line in /etc/rc.serial reads :
> 	stty -f /dev/ttyid2 crtscts
> 
> I am running FreeBSD 2.1, the modems are both Avtek Mega DataFax 144.

Andrew,

You do not need to modify gettytab or rc.serial, (at least I didnt need 
to in 2.0.5 or 2.1), the only file you should need to modify is /etc/ttys

My /etc/ttys line reads :-

ttyd1   "/usr/libexec/getty std.38400"  dialup on insecure

This is for a 28.8kbs modem on COM2 (is your modem on COM3 cause thats 
the port your config files point to.) As your modem is only 14.4kbs, you 
prolly will want to substitute the 38400 for 19200.

You should initilize you modem using tip or from DOS with :-

at&f
at&k3/n3%c3s0=2&w

(I think this is the default for your modem anyway)


Anthony Hill
connect.com.au



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.91.951220151741.12337A-100000>