Visit Our UNIX and Linux User Community

Full Discussion: solaris remote console
Top Forums UNIX for Dummies Questions & Answers solaris remote console Post 302069540 by RTM on Monday 27th of March 2006 10:50:08 AM
Old 03-27-2006
From Sunsolve: "Alternate Console using TIP"
Quote:
Connect a null-modem cable between serial port A of the sick machine and one of the serial ports of the healthy machine. The port (a or b) on the healthy machine depends on the hardwire entry in the /etc/remote file on the healthy system.

Here is the hardwire entry /etc/remote that uses port b on the healthy machine.

hardwire: :dv=/dev/term/b:br#9600:el=^C^S^Q^U^D:ie=%$Smiliee=^D:


A null modem cable in its most basic form is an rs232 serial cable with a minimal pin connections as follows:

2 ------ 3
3 ------ 2
7 ------ 7


A standard serial cable with a null modem adapter from an electronics store will work too.

There should be an entry for hardwire already in /etc/remote. It comes with the default OS. If one is not there, you can always copy it from another Solaris[TM] system.

If you wish to use script to log the session, now would be the time to start it in the terminal session on the healthy system.

$ script
Script started, file is typescript


To start tip in this session type:

$ tip hardwire


You should see a connected message

NOTE: you will get the connected message regardless of the presence of the serial cable. Connected just means your tip session is talking to the serial port, not to another system.

On the sick system console, at the ok prompt do the following:

ok setenv output-device ttya
ok setenv input-device ttya
ok reset


On a machine with a graphics head, screen and keyboard are the default values for these settings.

Shortly, you should see boot messages in the tip session on the healthy system. At this point, the tip session is now the system console for the sick system.

Once you are in tip, if you need to bring it down to the ok prompt (or kadb), the keys ~# send a break signal to the system console and have the same effect as a STOP-A.

Once you are finished, the keys ~. exit the tip session. If you are running script, this would be the time to exit your shell in order to have a complete typescript file reflecting the session
 
Test Your Knowledge in Computers #86
Difficulty: Easy
Windows NT was developed as a Unix-like operating system.
True or False?

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 console , how to ..?

Does anyone know how to change the default property of the Solaris 10 console?, I've installed solaris 10 x86 03/05. The property that I want to change is the console colors, to behave like Linux, FreeBSD, NetBSD, etc. (foreground white, background black) and not to be foreground black,... (1 Reply)
Discussion started by: infierno
1 Replies

2. Solaris

solaris 9 console inactivity timeout

All, I log into Solaris 9 server through a command line at the console and want enable a inactivity timer to log out of the server after 5 minutes. How can it be done? (1 Reply)
Discussion started by: bubba112557
1 Replies

3. Solaris

run xclock from local solaris to remote solaris

Hello - I am trying to connect to a remote solaris box from a solaris box i have locally present with me using 'ssh login@IP' ... Its connecting fine but... when I run xclock - it says 'Can't open display' Whereas, IF I connect to same remote solaris IP from my windows desktop locally via putty... (9 Replies)
Discussion started by: panchpan
9 Replies

4. Solaris

New to Solaris, want to only install the console

Hi all, I just found out I will need to start learning solaris at work. I downloaded Solaris and want to install it as a VM. The install ISO was about 2GB and I didn't see any options not to install the GUI. Is there a way to do the install so I only boot to the console and not install any of... (4 Replies)
Discussion started by: gojericho0
4 Replies

5. UNIX for Dummies Questions & Answers

remote system console

Hi, when I run the rsc comms the rsclogin, I type the loginname and the password, the rscpromt is coming, I type console and nothing is gone. What's wrong? Thanks (3 Replies)
Discussion started by: MuellerUrs
3 Replies

6. UNIX for Dummies Questions & Answers

Windows to Linux remote console using VNC brings up blank console screen with only mouse pointer

:confused:Hi This was installed on the Linux box a few weeks back by a guy that no longer works for us. All worked fine until last week. Now when we connect its just a blank screen with no icons. I get a whole bunch of errors when starting the service too: Tue Feb 23 14:29:45 2010 ... (1 Reply)
Discussion started by: wbdevilliers
1 Replies

7. Solaris

X11 errors on Solaris 10 - SL Console not showing up

Hi all, I have been administrating large backup environments for quite some time now, but I have never seen the types of errors I'm getting for a client I have in Asia, so I humbly appeal to your expertise in order to fix things. Set up: StreamLine 8500 library connected to a Solaris... (7 Replies)
Discussion started by: dilibau
7 Replies

8. Emergency UNIX and Linux Support

Solaris: Not able to access E2900 console

Hi, I have a scheduled activity to reboot E2900 server. But suddenly I came to know that console ip is not pinging, not connecting via telnet, as it used to connect. I already checked with my onsite person and he changed cable, still no luck. Network person checked his switch, which is showing... (8 Replies)
Discussion started by: solaris_1977
8 Replies

9. Solaris

How to add Solaris text console to Solaris grub2 menu?

Hi, I am new to sloaris and just instlled the solaris 11.2, i know little more about linux, i open the /boot/grub/grub.cfg in solaris and there is many other entries forl solaris 11.2 one of them is for 'Oracle Solaris 11.2 text console' but at boot grub2 only show the first default entry that... (1 Reply)
Discussion started by: shamsat
1 Replies
ports(7)						 Miscellaneous Information Manual						  ports(7)

NAME
ports, port_names - Device (tty and lp) names for serial and parallel ports SYNOPSIS
Default Serial Ports: /dev/tty00 /dev/tty01 (not present on a single-port system) Parallel Port: /dev/lp0 DESCRIPTION
AlphaStation and AlphaServer systems provide one or two 9-pin serial communication ports. These ports are usually labelled 1 (COMM1) and 2 (COMM2), but they may be identified by different icons. Using the appropriate serial cable and terminator, you can connect a serial printer, external modem, or character-cell terminal to a serial port. Most AlphaStation and AlphaServer systems also provide one parallel port, for use with a parallel printer. When you add a device to your system, the installation documentation may instruct you to map the device pathname to the port. These devices are located in the /dev directory. For serial-line ports, the two default device pathnames are: This pathname always maps to 1, COMM1, the lowest port number, an icon for a terminal console, or the only serial port (on a single-port system). This pathname always maps to 2, COMM2, the next numbered port, or (if one serial port is labeled with an icon for a terminal console) the remaining serial port. If your system hardware has been extended to include additional serial ports, the pathnames /dev/tty02, /dev/tty03, and so forth, may also be available to you. However, most systems have only /dev/tty00 and /dev/tty01 as the device pathnames for serial ports. The one parallel port on an AlphaStation or AlphaServer may be labeled with the word printer or a printer icon. On some systems, the paral- lel port may not be labeled. The device pathname for the parallel port is /dev/lp0. Currently, Tru64 UNIX does not fully support parallel printers, so fewer devices are connected to this port as compared to serial ports. If you are connecting a terminal console to your system, it must be connected to the serial port mapped to /dev/tty00. For other serial devices, it does not matter which of the serial ports you choose for the connection. For example, suppose you are setting up a system that has two serial ports, labeled 1 and 2. You intend to use a serial-line terminal rather than a workstation monitor as the system console and also want to connect a serial-line printer to the system. In this case, you must connect the terminal to the port labeled 1 (with the device pathname /dev/tty00). Therefore, you must connect the printer to the remaining port labeled 2 (with the device pathname /dev/tty01). If, for the same type of system, you intend to use a workstation monitor as the system console, it does not matter which serial port you use for a serial-line printer or modem. In other words, you can connect the printer to either port 1 (with pathname /dev/tty00) or port 2 (with pathname /dev/tty01). When prompted to enter a /dev/tty** pathname by the lprsetup script or the Print configuration tool in the CDE Application Manager, you would specify /dev/tty00 if you connected the printer to port 1 or /dev/tty01 if you connected the printer to port 2. See the System Administration manual for more information on setting up consoles (including remote consoles) and printers. See the modem(7) reference page for more information on setting up modems. SEE ALSO
Commands: lprsetup(8) Devices: ace(7), modem(7) System Administration delim off ports(7)

Featured Tech Videos

All times are GMT -4. The time now is 06:11 PM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy