Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 1998 17:41:14 -0800 (PST)
From:      Venus Chow <vchow@whistle.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   problem with getty in 2.2.5
Message-ID:  <Pine.BSF.3.95q.980112173657.597C-100000@venus>

next in thread | raw e-mail | index | archive | help

Hi:

I got the following error from getty while trying to
connect from a remote client machine to the modem
attached to ttyd1 (COM2):

getty[379]: tcgetattr /dev/ttyd1: Inappropriate ioctl for device

My system has been upgraded recently from 2.2.1 to 2.2.5
I don't remember if I have it running at 2.2.1 before or not.

And, here are the configuration:

/etc/ttys
---------
ttyd1   "/usr/libexec/getty std.57600"  dialup on insecure

/etc/gettytab
-------------
std.57600|57600-baud:\
        :np:sp#57600:


output of "stty -a -f /dev/ttyd1"
---------------------------------
speed 57600 baud; 0 rows; 0 columns;
lflags: -icanon -isig -iexten -echo -echoe -echok -echoke -echonl
        -echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin
        -nokerninfo -extproc
iflags: -istrip -icrnl -inlcr -igncr -ixon -ixoff -ixany -imaxbel -ignbrk
        -brkint -inpck -ignpar -parmrk
oflags: -opost -onlcr -oxtabs
cflags: cread cs8 -parenb -parodd -hupcl -clocal -cstopb crtscts -dsrflow
        -dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
        eol2 = <undef>; erase = ^?; intr = ^C; kill = ^U; lnext = ^V;
        min = 1; quit = ^\; reprint = ^R; start = ^Q; status = <undef>;
        stop = ^S; susp = ^Z; time = 0; werase = ^W;

On the client side, this is what it gets:
--------------------------------------------
# tip hardwire
at
OK
atdt (phone number)

(Welcome message)
login:
NO CARRIER
---------------------------------------------
Would somebody let me know what I am missing?
If there is information I haven't provided, please ask.

thanks, venus.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.980112173657.597C-100000>