Re: Enabling Serial Console

2004-09-04 Thread Mike Tancsa
On Fri, 3 Sep 2004 11:18:20 -0300 (ADT), in
sentex.lists.freebsd.questions you wrote:


Wish to enable the serial console on my servers so that I can remotely 
view a reboot when it crashes ... 

Add -Dh to /boot.config
And to /etc/ttys
- ttyd0 /usr/libexec/getty std.9600   dialup  off secure
+ ttyd0 /usr/libexec/getty std.9600   vt100   on secure


want to set it so that even if the keyboard is plugged in, the serial 
console works, what do I need to add?  I always thought -P, but reading 
the man page, I'm not so sure :(

At boot up time if you want output to go to the console, hit F1 as
normal, and then at the booting prompt hit the space bar, and then
enter in -h and enter.  It will then go to the console as normal.

---Mike
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Enabling Serial Console

2004-09-03 Thread Steve Bertrand

 Wish to enable the serial console on my servers so that I can remotely
 view a reboot when it crashes ... I know to  plug the serial cable
 into
 COM1 ... and I know I have to add something to /boot.config, but, if I
 want to set it so that even if the keyboard is plugged in, the serial
 console works, what do I need to add?  I always thought -P, but
 reading
 the man page, I'm not so sure :(

I believe what you are looking for is:

# echo '-h'  /boot.config

 Also ... I'm going to cross-connect the servers for now ...
 ServerA/COM1-ServerB/COM2, ServerB/COM1-ServerC/COM2, etc ... what
 happens if all machines come up at once?  I see nothing in the man
 page
 about 'detecting serial', so I'm assuming that the serial console will
 still work, even if there is nothing at the other end 'listening' yet?

 Thanks ...

 
 Marc G. Fournier   Hub.Org Networking Services
 (http://www.hub.org)
 Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ:
 7615664
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Enabling Serial Console

2004-09-03 Thread mailing lists at MacTutor
Marc,
Try putting either '-h' or '-D' in /boot.config. I found '-D' worked 
for me. Personally, I'm wondering if I can put together a serial 
multiplexer to USB device and write a C or Perl script that will tee 
the output to respective files that I can 'tail -f' on.

For a more thorough treatment in a non-intuitive place checkout the 
Handbook:

http://www.freebsd.org/doc/handbook/serialconsole-setup.html
Alex

On Sep 3, 2004, at 10:18 AM, Marc G. Fournier wrote:
Wish to enable the serial console on my servers so that I can remotely 
view a reboot when it crashes ... I know to  plug the serial cable 
into COM1 ... and I know I have to add something to /boot.config, but, 
if I want to set it so that even if the keyboard is plugged in, the 
serial console works, what do I need to add?  I always thought -P, but 
reading the man page, I'm not so sure :(

Also ... I'm going to cross-connect the servers for now ... 
ServerA/COM1-ServerB/COM2, ServerB/COM1-ServerC/COM2, etc ... what 
happens if all machines come up at once?  I see nothing in the man 
page about 'detecting serial', so I'm assuming that the serial console 
will still work, even if there is nothing at the other end 'listening' 
yet?

Thanks ...

Marc G. Fournier   Hub.Org Networking Services 
(http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 
7615664
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Alexander Sendzimir (owner)802 863 5502
 MacTutor: Apple Mac OS X Consulting   [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]