From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96177078808907.tru64-unix-managers.marc@archive.invalid> From: David LaPorte Date: Fri, 23 Jun 2000 14:33:04 +0000 To: tru64-unix-managers Subject: SUMMARY: Changing console without reboot X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96177078808907 The general consensus seems to be that this cannot be done. In order to change it, you must drop down to the SRM and issue a "set console serial" - exactly what I wanted to avoid. It seems that you can at least set it on some machines using "consvar", but I was unable to on my PW433 (4.0D PK3, FW6.8-20). A reboot would still be required after setting it anyways. Thanks to all who responded... Dave LaPorte Special thanks to: Dr. Thomas P. Blinn ------------------------------------------------------------------------- No. There are things that happen inside the kernel during boot time that differ depending on the setting of the SRM console's "console" variable, and there is absolutely no way, without rebooting the system, to get the changes to occur once the system is running. To effect the change, you must halt the system, change the "console" in the SRM console from graphics to serial, then "init" the system to get the change to be effective. Make sure that you have connected the new terminal server to the correct serial port on the system; if you don't see the system's initialization messages, but instead have to press the "return" or "enter" key to get the console's attention, you've got the terminal server connected to the wrong serial port. You want to hook up to "COM1" on the system enclosure. Tom Bryan Lavelle ------------------------------------------------------------------------ Most console environment variables require an init to take place before going into affect. Hence a reboot is necessary. Bryan Jason Carthew ------------------------------------------------------------------------ NO Alan Davis ------------------------------------------------------------------------ (msg1) You can change the console variable using consvar, but it won't take effect until the next reboot. The manpage doesn't list all of the variables that consvar can access, and the -l switch doesn't list all of them either. Alan Davis davis@tessco.com (reply) I didn't have any luck getting or setting the value: [root@socrates /]# /sbin/consvar -g console Failed to get console [root@socrates /]# /sbin/consvar -s console serial Failed to set console Dave LaPorte (msg2) Interesting. It may be a version difference. I'm able to both get and set it, but then have to halt and init to get it switched. DS20 and AS4100 running v4.0e pk3 and reasonably recent fw Alan Davis davis@tessco.com Danielle Georgette -------------------------------------------------------------------------- I'm pretty sure there isn't, mores the pity. I think wait for an outage period (like a weekend?) then reboot is the only answer. Danielle