Subject: getty not responding to modem
To: None <netbsd-users@NetBSD.ORG>
From: Brook Milligan <brook@trillium.NMSU.Edu>
List: netbsd-users
Date: 05/14/1997 14:01:17
I am trying to get an incoming modem line set up on NetBSD 1.2/i386.
The modem answers fine and raises CD, but my getty does not respond.
Note that when getty is not running on the modem port I can
communicate with the modem via kermit if I switch the flags to softcar
so that the port can be opened.
Following are some details about the setup:
/dev:
lrwxr-xr-x 1 root wheel 5 Jan 11 14:39 /dev/modem -> tty02
crw------- 1 root wheel 8, 2 May 14 07:15 /dev/tty02
/etc/ttys (in part):
modem "/usr/libexec/getty Pc" dialup on rtscts
/etc/gettytab (in part):
default:\
:ap:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:
P|Pc|Pc console:\
:np:ap:sp#9600:
stty -a -f /dev/modem
speed 9600 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 cs7 parenb -parodd hupcl -clocal -cstopb crtscts -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;
ps -aux (in part):
root 2471 0.0 0.0 24 48 ?? IW 7:15AM 0:00.08 /usr/libexec/getty Pc modem
Any ideas on what to do here to wake up getty?
--
Brook G. Milligan Internet: brook@nmsu.edu
Department of Biology
New Mexico State University Telephone: (505) 646-7980
Las Cruces, New Mexico 88003 U.S.A. FAX: (505) 646-5665