Dumb Terminal (Serial Port) Login Hangs.

Dumb Terminal (Serial Port) Login Hangs.

Post by Simon Morle » Sun, 31 Dec 1899 09:00:00



I'm trying to use a dumb terminal on ttyS0.
When I hit 'enter' on the terminal I get the login screen/prompt.
I enter a username and it just hangs for about 60 seconds, then if I hit
enter I get the same login screen.
No password prompt.
Log shows that mgettty is has got the entered user name and will start
'login'.
'ps' shows that Login starts, but is not assigned to any tty - the TTY
column is '?'.
What am a doing wrong? Help please.

I'm running Mandrake 6.5.

In /etc/inittab I have:

    3:2345:respawn:/sbin/mgetty -r -s 9600 ttyS0

In /etc/mgetty+sndfax/login.config I have:


In /etc/securetty I have added:

    ttyS0

Thanks.

 
 
 

Dumb Terminal (Serial Port) Login Hangs.

Post by Simon Morle » Sun, 31 Dec 1899 09:00:00


I'm trying to use a dumb terminal on ttyS0.
When I hit 'enter' on the terminal I get the login screen/prompt.
I enter a username and it just hangs for about 60 seconds, then if I hit
enter I get the same login screen.
No password prompt.
Log shows that mgettty is has got the entered user name and will start
'login'.
'ps' shows that Login starts, but is not assigned to any tty - the TTY
column is '?'.
What am a doing wrong? Help please.

I'm running Mandrake 6.5.

In /etc/inittab I have:

    3:2345:respawn:/sbin/mgetty -r -s 9600 ttyS0

In /etc/mgetty+sndfax/login.config I have:


In /etc/securetty I have added:

    ttyS0

Thanks.

 
 
 

Dumb Terminal (Serial Port) Login Hangs.

Post by Charles Blackbu » Sun, 31 Dec 1899 09:00:00



>I'm trying to use a dumb terminal on ttyS0.
>When I hit 'enter' on the terminal I get the login screen/prompt.
>I enter a username and it just hangs for about 60 seconds, then if I hit
>enter I get the same login screen.
>No password prompt.
>Log shows that mgettty is has got the entered user name and will start
>'login'.
>'ps' shows that Login starts, but is not assigned to any tty - the TTY
>column is '?'.

it won't get assigned a tty until you get the bash prompt.

>In /etc/mgetty+sndfax/login.config I have:


try removing this line (or commenting it out) and see if the default one
works. also, try removing the ttyS0 line from securetty.

also, what does /var/log/messages say?

--
Charles Blackburn
Summerfield Technology Limited - Official SuSE Reseller
Sponser Of the Birmingham (UK) Linux User Group


WWW: http://www.summerfieldtechnology.co.uk