Serial line login via mgetty and pppd-server
Hello, I cannot login with modem connection to my SuSE 9.0 AMD 64 from a SuSE 8.1 system and other systems???, I don't know. The chat-script failed. I get the login prompt and can send the password and than fails the procedure, minicom cannot login also. The modem devices are "/dev/ttyS0" or/and "/dev/ttyUSB0". The way in return direction (9.0 --> 8.1) works for chat and pppd. I tested it with setuid-bit for pppd, but no success. If I login in a opened xterm via $ su - ppploginname than pppd server starts. If I login on ASCII console (Alt-Ctrl-F1) then pppd cannot start properly. No answer for pppd on stdout. Has anybody the same problem? Is there a bug in mgetty or/and pppd? My system is. username@mond64:~> uname -a Linux mond64 2.4.21-193-default #1 Thu Jan 22 16:49:48 UTC 2004 x86_64 x86_64 x86_64 GNU/Linux username@mond64:~> The connection to the internet service provider works also. The direct connect without modem I didn't test. Gruss Lothar Hansche, Berlin
On Mon, 8 Mar 2004, Lothar Hansche wrote:
I cannot login with modem connection to my SuSE 9.0 AMD 64 from a SuSE 8.1 system and other systems???, I don't know. The chat-script failed. I get the login prompt and can send the password and than fails the procedure, minicom cannot login also.
The modem devices are "/dev/ttyS0" or/and "/dev/ttyUSB0".
The way in return direction (9.0 --> 8.1) works for chat and pppd. I tested it with setuid-bit for pppd, but no success.
If I login in a opened xterm via $ su - ppploginname
than pppd server starts.
If I login on ASCII console (Alt-Ctrl-F1) then pppd cannot start properly. No answer for pppd on stdout.
Has anybody the same problem?
Not the same problem, but a similar one. I had a hard time getting ttyS0 to start and I also had problems with pppd. For me, the solution was to force the boot process to load the serial mdules. Look in /var/log/messages and see if you can determine where the error occurs. Usually the system leaves complaints there :-) Patience, persistence, truth, Dr. mike
Don't that it is agetty rather than mingetty or mgetty that works reliably for serial lines. On Monday 08 March 2004 6:34 pm, Mike Rosing wrote:
On Mon, 8 Mar 2004, Lothar Hansche wrote:
I cannot login with modem connection to my SuSE 9.0 AMD 64 from a SuSE 8.1 system and other systems???, I don't know. The chat-script failed. I get the login prompt and can send the password and than fails the procedure, minicom cannot login also.
The modem devices are "/dev/ttyS0" or/and "/dev/ttyUSB0".
The way in return direction (9.0 --> 8.1) works for chat and pppd. I tested it with setuid-bit for pppd, but no success.
If I login in a opened xterm via $ su - ppploginname
than pppd server starts.
If I login on ASCII console (Alt-Ctrl-F1) then pppd cannot start properly. No answer for pppd on stdout.
Has anybody the same problem?
Not the same problem, but a similar one. I had a hard time getting ttyS0 to start and I also had problems with pppd. For me, the solution was to force the boot process to load the serial mdules.
Look in /var/log/messages and see if you can determine where the error occurs. Usually the system leaves complaints there :-)
Patience, persistence, truth, Dr. mike
-- Yours, Daniel. -------------------------------------------------------------- Dr. Dan Kidger, Quadrics Ltd. daniel.kidger@quadrics.com One Bridewell St., Bristol, BS1 2AA, UK 0117 915 5505 ----------------------- www.quadrics.com --------------------
Thanks to Dan Kidger and Mike Rosing for the answers.
I didn't solve this problem, because this had burned my time.
The return connection is Ok. And I can use these.
Therefore I think the serial line interface is OK from booting.
I have to do more imported thinks (programming in Eiffel).
I wait for SuSE 9.1 and hope that it works than.
Gruss
Lothar Hansche
====================================================================
Lothar Hansche, Berlin
email:
On Mon, 8 Mar 2004, Lothar Hansche wrote:
I cannot login with modem connection to my SuSE 9.0 AMD 64 from a SuSE 8.1 system and other systems???, I don't know. The chat-script failed. I get the login prompt and can send the password and than fails the procedure, minicom cannot login also.
The modem devices are "/dev/ttyS0" or/and "/dev/ttyUSB0".
The way in return direction (9.0 --> 8.1) works for chat and pppd. I tested it with setuid-bit for pppd, but no success.
If I login in a opened xterm via $ su - ppploginname
than pppd server starts.
If I login on ASCII console (Alt-Ctrl-F1) then pppd cannot start properly. No answer for pppd on stdout.
Has anybody the same problem?
Not the same problem, but a similar one. I had a hard time getting ttyS0 to start and I also had problems with pppd. For me, the solution was to force the boot process to load the serial mdules.
Look in /var/log/messages and see if you can determine where the error occurs. Usually the system leaves complaints there :-)
Patience, persistence, truth, Dr. mike
participants (3)
-
Dan Kidger
-
Lothar Hansche
-
Mike Rosing