Re: Mgetty+Cyclades
Hi, Thanks. But I have done more changes in the getty configuration and now it prints: INIT: ID S2 respawning too fast: disabled for 5 minutes What is wrong this time? Quoting Richard Kaszeta ([EMAIL PROTECTED]): Paulo Henrique Baptista de Oliveira writes (Mgetty+Cyclades): I'm trying to use mgetty to control my Cyclades ports to use a¨56K modem as dial in I used setserial so my serial on ttyC0 is set like that: ttyC0, Line 0, UART: Cirrus, Port: 0x, IRQ: 2 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: infinte, closing_wait2: infinte Flags: spd_vhi I put a line on inittab to load mget on ttyC0 S3:23456: respawn:/sbin/mgetty -x3 ttyC0 and on mgetty.config i set a line to the serial on ttyC0 like that port ttyC0 debug 3 speed 56600 This should be 57600 -- Richard W Kaszeta PhD. Candidate and Sysadmin [EMAIL PROTECTED] University of MN, ME Dept http://www.menet.umn.edu/~kaszeta -- Abraços,PH Paulo Henrique Baptista de Oliveira -- [EMAIL PROTECTED] Information Technology Consultant Linux Solutions -- http://www.linuxsolutions.com.br Av. Presidente Vargas, 509/4o andar - 852-4564 - Rio de Janeiro - RJ Brazil
Re: Mgetty+Cyclades
On Fri, Nov 19, 1999 at 04:07:28PM -0200, Paulo Henrique Baptista de Oliveira wrote Hi, Thanks. But I have done more changes in the getty configuration and now it prints: INIT: ID S2 respawning too fast: disabled for 5 minutes ^^ If the inittab fragment you posted below is still current this does not relate to your Cyclades port, which you assigned to init ID S3. What is wrong this time? Quoting Richard Kaszeta ([EMAIL PROTECTED]): Paulo Henrique Baptista de Oliveira writes (Mgetty+Cyclades): I'm trying to use mgetty to control my Cyclades ports to use a¨56K modem as dial in I used setserial so my serial on ttyC0 is set like that: ttyC0, Line 0, UART: Cirrus, Port: 0x, IRQ: 2 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: infinte, closing_wait2: infinte Flags: spd_vhi I put a line on inittab to load mget on ttyC0 S3:23456: respawn:/sbin/mgetty -x3 ttyC0 ^ Don't do that. Run level 6 is reserved for reboots, at least in my copy of init. Also, if you want last and who to work correctly you should use an init ID that corresponds to the last two letters on the port involved, like so: c0:2345:respawn:/sbin/mgetty -x3 ttyC0 and on mgetty.config i set a line to the serial on ttyC0 like that port ttyC0 debug 3 speed 56600 This should be 57600 115200 would be a whole lot better. What does 'ls -l /dev/ttyC0' say? I see: crw--- 1 root dialout 19, 0 Nov 20 00:08 /dev/ttyC0 What version of the kernel are you using? Which Cyclades unit? John P. -- [EMAIL PROTECTED] [EMAIL PROTECTED] Oh - I - you know - my job is to fear everything. - Bill Gates in Denmark
Mgetty+Cyclades
I'm trying to use mgetty to control my Cyclades ports to use a¨56K modem as dial in I used setserial so my serial on ttyC0 is set like that: ttyC0, Line 0, UART: Cirrus, Port: 0x, IRQ: 2 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: infinte, closing_wait2: infinte Flags: spd_vhi I put a line on inittab to load mget on ttyC0 S3:23456: respawn:/sbin/mgetty -x3 ttyC0 and on mgetty.config i set a line to the serial on ttyC0 like that port ttyC0 debug 3 speed 56600 But I´m receiving some error messages 11/09 20:32:13 yC0 WARNING: obsolete setserial spd_hi/spd_vhi used, 38400 is not real port speed 11/09 20:34:02 # data dev=ttyC0, pid=1971, caller='none', conn='115200', name='', cmd='/bin/login', user='luis' -- 11/09 20:34:30 yC0 invalid port speed: 56600: Success 11/09 20:34:30 yC0 Usage: mgetty [-x debug] [-s speed] [-r] line: Success What I´m doing wrong? Please, if you can give me any help I apreciate. Thanks in advance. Paulo Henrique