Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 1997 07:30:06 -0600
From:      John Prince <johnp@lodgenet.com>
To:        Lee Crites <adonai@jump.net>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: still more digiboard and modem questions/problems... 
Message-ID:  <199703181330.HAA28482@milo.lodgenet.com>
In-Reply-To: Your message of "Tue, 18 Mar 1997 01:31:33 CST." <1.5.4.32.19970318073133.0069556c@jump.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
Lee Crites writes:
> I have come to the conclusion that using a digiboard was not my best move.

I Agree...

> ALL of them used to say uucp:dialer.  What changes them is a mystery to me.
> I know that from time to time I have to chmod rw-rw-rw- to make them usable.
> But why they change in the first place is beyond me.  I can say that if
> cu/tip don't exit properly (using ^c insteaf of using ~.), then the perms
> will be set to 600:root:wheel, but other than that, I'm in the dark...

Add yourself and/or all users the need to access the tty to the
group dialer.. 


> * I added these records to /etc/ttys:
> ttyD00 "/usr/libexec/getty std.57600" dialup on insecure
> ttyD01 "/usr/libexec/getty std.57600" dialup on insecure
> ttyD02 "/usr/libexec/getty std.57600" dialup on insecure
> ttyD03 "/usr/libexec/getty std.57600" dialup on insecure
> ttyD04 "/usr/libexec/getty std.57600" dialup off insecure
> ttyD05 "/usr/libexec/getty std.57600" dialup off insecure
> ttyD06 "/usr/libexec/getty std.57600" dialup off insecure
> ttyD07 "/usr/libexec/getty std.57600" dialup off insecure
> #cuaD00 "/usr/libexec/getty std.57600" dialup on insecure
> cuaD01 "/usr/libexec/getty std.57600" dialup on insecure
> cuaD02 "/usr/libexec/getty std.57600" dialup on insecure
> cuaD03 "/usr/libexec/getty std.57600" dialup on insecure
> cuaD04 "/usr/libexec/getty std.57600" dialup off insecure
> cuaD05 "/usr/libexec/getty std.57600" dialup off insecure
> cuaD06 "/usr/libexec/getty std.57600" dialup off insecure
> cuaD07 "/usr/libexec/getty std.57600" dialup off insecure
> cuaD00 "/usr/local/sbin/mgetty" dialup on insecure

It not a good idea to enable both Dialout and Dialin, probably part of your 
problem.
Set the correct device here (ttyD).

> I got a suggestion to use mgetty instead of getty, so I compiled and
> installed it from the ports area.  As you can see, I'm testing one of both
> (cuaD00 as mgetty and cuaD01 as getty).

I Agree.. Try using Mgetty.

> [side question: Isn't there a way to export the stty settings from one port
> and add them to another?  I remember doing something like this long ago but
> don't remember how it was done.  I tried "stty -g -f /dev/cuaD01 <
> /dev/cuaD00", but it didn't seem to work the way I thought it should...]

A better way is to use rc.serial.. 
Have you initialized your ttys?? (look at /etc/rc.serial, uncomment the
line under Digiboard..


Good Luck
John


-- 
John Prince	<johnp@lodgenet.com>
		<jprince@iw.net>






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703181330.HAA28482>