Subject: SLIP configuration Q:
To: None <macbsd-general@NetBSD.ORG>
From: Bradley Carlson <carlson@Free-Net.Mpls-StPaul.MN.US>
List: macbsd-general
Date: 11/22/1994 11:59:38
I'm having trouble connecting to the modem port with 'cu'.  From the SLIP faq:

        % cu -l /dev/tty00 -s 19200  (assumes your modem is on the modem port)

The above produces an error:
        /dev/tty00: Permission denied.
        /dev/tty00: Line in use.

        Disconnected.

I've checked that /etc/ttys has tty00 set to "unknown off secure", and ps
-ax doesn't show any getty's for tty00.

I noticed that alot of the old documentation suggested using /dev/ser0 for
connections to the serial port instead of /dev/tty00; is that a
pre-NETBSD1.0 configuration?

For fun, I tried issuing "dip com0c" since I noticed that /etc/remote
listed com0c as using tty00.  This produced a "Line down" message.  Any
pointers on taming the rogue serial port would be appreciated.

-Bradley Carlson
carlson@Free-Net.Mpls-StPaul.MN.US

PS--relevant files listed below for the curious

# /etc/ttys
#
#
console "/usr/libexec/getty Pc"         vt100   off secure
ttye0   "/usr/libexec/getty Pc"         vt100   on secure

# Hardwired lines are marked off, by default, so getty(8)
# is quiet when they don't exist.
tty00   "/usr/libexec/getty std.9600"   unknown off secure
tty01   "/usr/libexec/getty std.9600"   h29 on secure
tty02   "/usr/libexec/getty std.9600"   unknown off secure
tty03   "/usr/libexec/getty std.9600"   unknown off secure
tty04   "/usr/libexec/getty std.9600"   unknown off secure
tty05   "/usr/libexec/getty std.9600"   unknown off secure
tty06   "/usr/libexec/getty std.9600"   unknown off secure
tty07   "/usr/libexec/getty std.9600"   unknown off secure

ttyp0   none                    network
ttyp1   none                    network
ttyp2   none                    network
ttyp3   none                    network
ttyp4   none                    network
ttyp5   none                    network
ttyp6   none                    network
ttyp7   none                    network
ttyp8   none                    network
ttyp9   none                    network
ttypa   none                    network
ttypb   none                    network
ttypc   none                    network
ttypd   none                    network
ttype   none                    network
ttypf   none                    network
ttyq0   none                    network
ttyq1   none                    network
ttyq2   none                    network
ttyq3   none                    network
ttyq4   none                    network
ttyq5   none                    network
ttyq6   none                    network
ttyq7   none                    network
ttyq8   none                    network
ttyq9   none                    network
ttyqa   none                    network
ttyqb   none                    network
ttyqc   none                    network
ttyqd   none                    network
ttyqe   none                    network
ttyqf   none                    network



# /etc/remote
#
unix1200|1200 Baud dial-out to another UNIX system:\
        :el=^U^C^R^O^D^S^Q:ie=%$:oe=^D:tc=dial1200:
unix300|300 Baud dial-out to another UNIX system:\
        :el=^U^C^R^O^D^S^Q:ie=%$:oe=^D:tc=dial300:

dial2400|2400 Baud Hayes attributes:\
        :dv=/dev/tty00:br#2400:cu=/dev/tty00:at=hayes:du:
dial1200|1200 Baud Hayes attributes:\
        :dv=/dev/tty00:br#1200:cu=/dev/tty00:at=hayes:du:

# Hardwired line
com0c|com0:dv=/dev/tty00:br#9600:
com0b:dv=/dev/tty00:br#2400:


carlson@Free-Net.Mpls-StPaul.MN.US
"...Cause THAT'S what Tiggers love Best!"