Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I redirect console output to /dev/term/b port

Status
Not open for further replies.

lmcbeto

Technical User
Feb 11, 2003
5
CA
Hi. I installed Solaris 9 on a ULTRA SPARC 5 workstation.
The console output goes to the video output that is connected via the video card. I want to send the output to the /dev/term/b port where I have a terminal server that can allow me to remotely connect to the unix machine. Any ideas how I can do it?
 
Try this. Get to the [tt]ok>[/tt] prompt, then type the following commands...
[tt]
ok> setenv input-device ttyb
ok> setenv output-device ttyb
ok> boot
[/tt]
This will cause ttyb to be the console on this machine.

Actually, before you do the commands, type a [tt]printenv[/tt] at the [tt]ok>[/tt] prompt and see what input-device is set to. Use that if you want to set it back.

Hope this helps.
 
Thanks SamBones. I'll try it tomorrow when I get into the office.
One thing though. Will this entry be part of the environment every time
I do a shutdown -i6 -y -g0 or will I have to go to the OK prompt everytime
and have to type these commands? My feeling is that once I enter these
parameters; it's history from then on. I'll report to this thread as soon as
I try it.

Thanks again.
 
This changes settings in the boot PROM, so I believe it survives reboots. BUT, the definitive answer is always to give it a try!
 
If not, you can probably add it to the nvramrc which will update the PROM after each reset I believe. Annihilannic.
 
Hello Everybody,

I tried it this morning.

from OK prompt

ok> setenv input-device ttyb
ok> setenv output-device ttyb
ok> boot

works perfectly. And no need to re-enter these values.

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top