*BSD News Article 67742


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!disco.iinet.net.au!news.uoregon.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!newsfeed.internetmci.com!in1.uu.net!news.vader.org!news.demon.co.uk!dispatch.news.demon.net!demon!skate.demon.co.uk!skate.demon.co.uk!not-for-mail
From: plunky@skate.demon.co.uk (Iain Hibbert)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: NetBSD/sparc cannot configure dial out modem - Please Help
Date: 5 May 1996 11:32:25 +0100
Organization: The Bath Room
Lines: 49
Distribution: inet
Message-ID: <4mi03p$a9n@skate.demon.co.uk>
References: <uxd94m60yu.fsf@ness.arch.su.EDU.AU>
NNTP-Posting-Host: skate.demon.co.uk
X-NNTP-Posting-Host: skate.demon.co.uk
X-Newsreader: Brians News Reader V0.8 [NetBSD]

Doug Scoular <doug@arch.su.EDU.AU> writes:
> 	I've got NetBSD/sparc 1.1 up and running on an old SLC which
> 	I want to use as a PPP to Ethernet IP router.

> 	The problem is I can't even get "tip" to talk direct to the
> 	modem.

I had this sort of problem, don't know how I got around it though it
works fine now..

> 	MAKEDEV didn't make tty00 or cua0, just ttya and ttyb so I've
> 	tried several things.

shouldn't matter what you call it, ttya and ttyb are the internal serial
ports..

> 	2) I try making a cua0 device by adding 128 to the minor device
> 	   number a la SunOS 4.x. This is obviously a no brainer as tip
> 	   says "/dev/cua0: Device not configured".

I've never used cua0 devices, don't think you need them..

> 	This is *REALLY* embarrassing as I've been a Systems Admin for
> 	10 years and can't figure this out!!!

> 	Please, please, pretty please... can anyone help ?

I have my modem on ttyb, so..  my /etc/remote is like this:

ttyb:dv=/dev/ttyb:pa=none:el=^C^S^Q^U^D:ie=%$:oe=^D:
modem:dv=/dev/ttyb:br#19200:el=^C^S^Q^U^D:ie=%$:oe=^D:

(tip ttyb and tip modem both work, don't recall why I have two entries..)

and /etc/ttys is like this:

ttyb    "/usr/libexec/getty std.9600"   unknown off rtscts local parenb cs8

my eeprom settings are thus:

ttyb-mode=19200,8,n,1,h
ttyb-rts-dtr-off=false
ttyb-ignore-cd=false

btw, if you just want to use PPP on the modem, then you probably don't need to
use tip at all - I got PPP working long before I got tip and cu working, pppd
can use chat to dial up and login just fine..

]ain