Re: login via serial console respawns too fast
I think some other device is using your serial port, may be a modem deviceor so. There is also a possibility that your entry in /etc/inittab isincorrect. 'getty' is trying to restart it, but is getting killed. Check thecorrectness of getty with "getty -c /etc/gettydefs"If you have any ppp client or server configuration, take it out to closethis error!-Rameshhello again,so, i've edited my inittab to listen on ttyS0 on 9600 baud. the "id" isT0. i keep getting "T0: repawning too fast, disabled for 5 mintues." andi am not able to use minicom to connect to it from the other pc. i'msure my (only) serial port is ttyS0. any thoughts?also, for a null modem cable... i'm using a serial (rs232?) to rj45adapter on both sides... tried a straight cat 5 cable, read the postabout a null modem cable, then switched to a crossover cable. this didnot effect the respawning tho, it does it without anything plugged intoit!also, there's no funky bios setting going on since i am able to usettyS0 to connect to the router... so the serial port does work... lsmoddidn't show any serial modules being loaded, so i tried gen_serial, butthe same still occured.thanks,jason
Re: login via serial console
On Mon, Mar 25, 2002 at 06:45:56AM -0500, Jason M. Harvey wrote: | On Sun, Mar 24, 2002 at 09:13:04PM -0600, Ramesh Panuganty wrote: | | | | Edit /etc/inittab to add the line, (if you use COM2 to connect, change ttyS0 | | to ttyS1) | | s0:2345:respawn:/sbin/getty ttyS0 DT9600 | | | | Then issue: kill -HUP 1 | | | | If you also need to see the boot-up messages, you need to change | | /etc/lilo.conf to pass the options for console. | | | | -Ramesh | | http://panuganty.tripod.com/debiantips/ | | -- snip -- hello again, i just thought of something... with this same set-up, would i be able to get pppd to listen on a serial port (not a modem) and authenticate that way, to establish a ppp interface so that i can use ip and things such as samba? i know it would be super-slow, but is it possible? thanks again, jason -- --- | http://theigloo.dhs.org:81 | http://counter.li.org/| | Debian GNU/Linux 3.0 Woody | 2.4.16-k6 | | [EMAIL PROTECTED] | registered linux user #202942 | --- pgpeQtKfOto0a.pgp Description: PGP signature
Re: login via serial console respawns too fast
hello again, so, i've edited my inittab to listen on ttyS0 on 9600 baud. the id is T0. i keep getting T0: repawning too fast, disabled for 5 mintues. and i am not able to use minicom to connect to it from the other pc. i'm sure my (only) serial port is ttyS0. any thoughts? also, for a null modem cable... i'm using a serial (rs232?) to rj45 adapter on both sides... tried a straight cat 5 cable, read the post about a null modem cable, then switched to a crossover cable. this did not effect the respawning tho, it does it without anything plugged into it! also, there's no funky bios setting going on since i am able to use ttyS0 to connect to the router... so the serial port does work... lsmod didn't show any serial modules being loaded, so i tried gen_serial, but the same still occured. thanks, jason -- --- | http://theigloo.dhs.org:81 | http://counter.li.org/| | Debian GNU/Linux 3.0 Woody | 2.4.16-k6 | | [EMAIL PROTECTED] | registered linux user #202942 | --- pgpNtZndVtKGI.pgp Description: PGP signature
Re: login via serial console
On Sun, Mar 24, 2002 at 09:13:04PM -0600, Ramesh Panuganty wrote: | | Edit /etc/inittab to add the line, (if you use COM2 to connect, change ttyS0 | to ttyS1) | s0:2345:respawn:/sbin/getty ttyS0 DT9600 | | Then issue: kill -HUP 1 | | If you also need to see the boot-up messages, you need to change | /etc/lilo.conf to pass the options for console. | | -Ramesh | http://panuganty.tripod.com/debiantips/ | | i have two woody boxes at home. each of them can connect to a router via | serial cable at 9600 baud (8N1). i thought that by running the serial cable | from one to the other i would be greeted by a login screen, but i wasn't. i | haven't set up any thing out-of-the-ordinary to allow login on the serial | port, i just thought it would work. any thoughts on what i need to do? | hello, thanks! that's what i wanted. sorry i wan't too clear. i'm having trouble with a nic in that box, and only have one nic in this pc (the one one the 'net (smtp)), and i wanted to be able to access that other pc (with the bad nic) without hooking up monitor/keyboard/mouse. i just looked in my /etc/inittab, and found: #T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100 #T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100 so, that's pretty cool... i just didn't know where to look. i have a few more questions: 1. must i use 9600 baud or can i just go higher? 2. the id field - you've said s) and the example says T0, should that matter? that's about it. too bad i have to wait until later to try it! thanks! jason -- --- | http://theigloo.dhs.org:81 | http://counter.li.org/| | Debian GNU/Linux 3.0 Woody | 2.4.16-k6 | | [EMAIL PROTECTED] | registered linux user #202942 | --- pgp6tTjQfWw2F.pgp Description: PGP signature
FW: login via serial console
| thanks! that's what i wanted. sorry i wan't too clear. i'm Cool! | so, that's pretty cool... i just didn't know where to look. i | have a few more questions: | | 1. must i use 9600 baud or can i just go higher? You can try out 19200, 38400 (keep doubling). I guess 9600 is the safe parameter for first attempts. You may try increasing it further. | 2. the id field - you've said s) and the example says T0, | should that matter? The id field T0 in your case, should be okay - as long as you don't have any other entries with the same id in /etc/inittab. It can be any non-repetitive name. -Ramesh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: login via serial console
On Sun, 24 Mar 2002, Ramesh Panuganty wrote: Edit /etc/inittab to add the line, (if you use COM2 to connect, change ttyS0 to ttyS1) s0:2345:respawn:/sbin/getty ttyS0 DT9600 Then issue: kill -HUP 1 If you also need to see the boot-up messages, you need to change /etc/lilo.conf to pass the options for console. don't you need a null modem cable as well? that's rx - tx and vice versa. -- Dave Mallery, K5EN (r/h 7.2 krud; debian woody+ximian) PO Box 520 Ramah, NM 87321 no gates .~. no windows... /V\ /( )\ running GNU/Linux ^^-^^ (Linux TM Linus Torvalds) free at last! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
login via serial console
hello, i have two woody boxes at home. each of them can connect to a router via serial cable at 9600 baud (8N1). i thought that by running the serial cable from one to the other i would be greeted by a login screen, but i wasn't. i haven't set up any thing out-of-the-ordinary to allow login on the serial port, i just thought it would work. any thoughts on what i need to do? tia, jason -- --- | http://theigloo.dhs.org:81 | http://counter.li.org/| | Debian GNU/Linux 3.0 Woody | 2.4.16-k6 | | [EMAIL PROTECTED] | registered linux user #202942 | --- pgpPl1oxP6Mbm.pgp Description: PGP signature
Re: login via serial console
Edit /etc/inittab to add the line, (if you use COM2 to connect, change ttyS0 to ttyS1) s0:2345:respawn:/sbin/getty ttyS0 DT9600 Then issue: "kill -HUP 1" If you also need to see the boot-up messages, you need to change /etc/lilo.conf to pass the options for console. -Ramesh http://panuganty.tripod.com/debiantips/ i have two woody boxes at home. each of them can connect to a router via serial cable at 9600 baud (8N1). i thought that by running the serial cable from one to the other i would be greeted by a login screen, but i wasn't. i haven't set up any thing out-of-the-ordinary to allow login on the serial port, i just thought it would work. any thoughts on what i need to do?
Re: login via serial console
On 03/25 09:02 Jason M. Harvey wrote: hello, i have two woody boxes at home. each of them can connect to a router via serial cable at 9600 baud (8N1). i thought that by running the serial cable from one to the other i would be greeted by a login screen, but i wasn't. i haven't set up any thing out-of-the-ordinary to allow login on the serial port, i just thought it would work. any thoughts on what i need to do? I think you weren't so clear about what you wanted... Anyway, you have a router, in which it connects to the Internet, and you have two woody boxes you'd like to connect from outside, correct? I think you'd need to have PPP running on your woodies, and your router needs it too. Oki -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: login via serial console
At 11:31 PM 3/24/2002, you wrote: On 03/25 09:02 Jason M. Harvey wrote: hello, i have two woody boxes at home. each of them can connect to a router via serial cable at 9600 baud (8N1). i thought that by running the serial cable from one to the other i would be greeted by a login screen, but i wasn't. i haven't set up any thing out-of-the-ordinary to allow login on the serial port, i just thought it would work. any thoughts on what i need to do? I think you weren't so clear about what you wanted... Anyway, you have a router, in which it connects to the Internet, and you have two woody boxes you'd like to connect from outside, correct? I think you'd need to have PPP running on your woodies, and your router needs it too. I think he means that he would like to control the router serial port with a woody box via a serial cable, instead of using something like 'doze HyperTerminal... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]