[Prev][Next][Index][Thread]

getty/telnet on direct and dialin line



Hello managers,

We bought an ELSA MicroLink 28800 TQV V.34 modem to attach to our DEC Alpha 
3000/300LX OSF/1 V3.0 (Rev. 347). Following the manpage instructions and methods 
discussed in this list I tried to set it up as follows:

- /etc/gettydefs: (with empty lines)

19200 # B19200 HUPCL CS8 CLOCAL # B19200 SANE IXANY TAB3 CLOCAL #login: #9600

38400 # B38400 HUPCL CS8 CLOCAL # B38400 SANE IXANY TAB3 CLOCAL #login: #19200

M19200# B19200 HUPCL CS8 # B19200 SANE IXANY TAB3 HUPCL #login: #M9600

M38400# B38400 HUPCL CS8 # B38400 SANE IXANY TAB3 HUPCL #login: #M19200

- /etc/inittab:
modem:23:respawn:/usr/sbin/getty /dev/ttyd0  M38400  vt100

- modem with settings:
       Auto Answer, Hardware Flow, 28800 8bit no parity 1 stop, 
       MNP5 and V.42bis, Auto-reliable

- executing 'init q' somteimes works, sometimes reports:
	scco: input silo overflow

As you may guess, login sometimes works and sometimes not. Usually it works for 
2-3 times, then I get unreadable characters AFTER the login prompt.
This is the behaviour I know from connecting a simple VT terminal at a false 
speed/settings.


To check the line I try to login directly:

- /etc/inittab:
ttyd0:23:respawn:/usr/sbin/getty /dev/ttyd0  38400  vt100

No problem. But telnet doesn't work! 
session log:
--------------------------------------------
pollux> stty all
speed 38400 baud; 24 rows; 80 columns
erase = ^?; werase = ^W; kill = ^U; intr = ^C; quit = ^\; susp = ^Z
dsusp = ^Y; eof = ^D; eol <undef>; eol2 <undef>; stop = ^S; start = ^Q
lnext = ^V; discard = ^O; reprint = ^R; status <undef>; time = 0
min = 1
-parenb -parodd cs8 -cstopb -hupcl cread clocal 
-ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc 
ixon -ixany -ixoff imaxbel 
isig icanon -xcase echo echoe echok -echonl -noflsh -mdmbuf -nohang 
-tostop echoctl -echoprt echoke -altwerase iexten -nokerninfo 
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tabs -onoeot 
pollux> stty -ignpar
pollux> 
pollux> telnet siwaps
Trying 141.99.207.200...
Connected to siwaps.physik.uni-siegen.de.
Escape character is '^]'.

ULTRIX V4.4 (Rev. 69) (siwaps.physik.uni-siegen.de)


login: 
Connection closed by foreign host.
pollux> 
pollux> rsh siwaps
...... This works
siwaps> rsh pollux
...... Always works
...... Try telnet again
pollux> telnet siwaps
Trying 141.99.207.200...
Connected to siwaps.physik.uni-siegen.de.
Escape character is '^]'.
....... etc
-------------------------------------------

So telnet doesn't work: neither from the direct login nor by modem dialin.
But rsh and also 'kermit -c -j XXXXX' works.

I suppose it is an stty setting problem, could it be a broken getty?

Thanks for any hints.

-------------------------------------------
Klaus Untch			untch@xxxxxxxxxxxxxxxxxxxxxxxxxxx
Uni Siegen
Siegen, Germany