Sponsored Content
Full Discussion: console
Top Forums UNIX for Dummies Questions & Answers console Post 15263 by thehoghunter on Tuesday 12th of February 2002 01:15:05 PM
Old 02-12-2002
You mentioned the keyboard is plugged into the monitor - Do you mean a dumb terminal? Is the 'monitor' plugged into the serial port (a or b)?

Here is the info -

The definition of a headless system is one that does not have an attached
keyboard or does not have a Sun console. It will by default send the boot
information out serial port A if the keyboard or console are not attached.
Serial port B can also be used.

Attach using NULL modem cable to:

-An ascii terminal- For example, Wyse terminal
-Another Sun workstation that has a Sun console
-A Network terminal concentrator/server

Technical Support does not recommend booting off a serial port with a
modem attached or not having any type of console.

A console allows the ability to send a break signal dropping the
system to the OK prompt for diagnostics. The console device is
/dev/console.


What needs to be configured on Solaris
--------------------------------------

A. Open Boot Prom:

OK> setenv output-device ttya
OK> setenv input-device ttya

Note: the above is not necesary on tty A if the keyboard is disconnected.
It is necessary to change these setting for serial port B regardless.

Additional settings:
ttya-rts-dtr-off=false
ttya-ignore-cd=true

Syntax for changing Open Boot Prom value:

OK> setenv ttya-rts-dtr-off false
OK> setenv ttya-ignore-cd true

Use printenv to verify the following settings:

ttya-mode=9600,8,n,1,-
To change:
OK> setenv ttya-mode 9600,8,n,1,-

Run the "reset" command to make the above settings take effect

OK> reset


B. The terminal type, /etc/inittab and port monitors

Do not start port monitor services for the serial port. Verify with pmadm -l.
Make sure there are no listings for the tty port that is acting as the
console. (Solaris 2.5 ttya and ttyb have port monitor services enabled for
modem logins by default- These services need to be removed)

To remove type:

pmadm -p zsmon -r -s <SVCTAG>

SVCTAG will be ttya or ttyb.

/etc/inittab takes care of setting the console port characteristics
with the following line:

co:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` console login: "
-T sun -d /dev/console -l console -m ldterm,ttcompat

By default the console terminal type is "sun" specified with the
-T option above. This means that for ascii terminals vi will not work.
Inorder for programs like vi to work the TERM variable needs to be
changed to match the "personality" of the terminal.
This can be done by modifing -T in /etc/initab to 'wyse30' (for example)
or changing the TERM variable in .login, .profile, or .cshrc or at
the command line, for example:

setenv TERM wyse30

C. Sending a Break Signal

Unpluging the serial cable is the equivalent to sending a break
and will bring the Sun box down to the OK prompt. If the cable was
not attached during bootup plugging it in may send a break. When
a Network Terminal Server is rebooted this will also send a break
and bring the Sun boxes down to the OK prompt.


What needs to be configured on the terminal
-------------------------------------------

Ascii terminals have a setup mode. For the wys30 <shift><setup> keys
will bring up the terminals parameters. Use the arrow keys and
the space bar to proceed thru the settings.

settings: 8 data bits, no parity, 1 stop bit (8, none, 1)
baud: Use 9600!
personality (modes) : vt100, wyse60, etc needs to match the Solaris
TERM variable

Related SRDB's
--------------

SRDB ID: 13758
SYNOPSIS: Headless 4.x connected to Network Terminal Server displays garbage until login.

INFODOC ID: 13760
SYNOPSIS: Ways to Send Break (L1-A) to remotely logged into serial console device.

INFODOC ID: 14672
SYNOPSIS: Solaris 2.4/2.5 Modem configuration

INFODOC ID: 13766
SYNOPSIS: Warning - ttymon cannot allocate controlling tty on /dev/console,

INFODOC ID: 13724
SYNOPSIS: Allowing root logins over modem lines in /etc/ttytab


Also:

OpenBoot Command Reference Manual
A. Setting Up a TIP connection
thehoghunter
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Console

Hi everybody, I have a Solaris 220 Entrprise SunMicrosystems UNIX box. I would like to know if my availability to connect a monitor, keyboard and mouse is limited? Can I connect whatever 'make' or it has to be a Sun one ?? Thanks very much (4 Replies)
Discussion started by: guest100
4 Replies

2. UNIX for Advanced & Expert Users

/console

hi ! sorry for the stupid question but my /console is full and i need to clean it how do i clean it ? :confused: (2 Replies)
Discussion started by: karine
2 Replies

3. AIX

How to get console

Hi Guys, Please let me know how to get console for a pSeries 610 machine. It doesn't have a display card attached...Tried to user serial ports on that...not getting anything...but system is booting..displaying messages on the display pannel present in the front. please help in this....what... (1 Reply)
Discussion started by: b_manu78
1 Replies

4. HP-UX

reset console

I have HP-UX 11i. My serial console is not responding to any input. How can I reset the console without rebooting the system? I can telnet in with no problem and system runs fine other than the console. Thanks. (2 Replies)
Discussion started by: mizzleman
2 Replies

5. UNIX for Dummies Questions & Answers

Console

Hi all, Where we can run two same program on unix console at same time? (7 Replies)
Discussion started by: sonali
7 Replies

6. HP-UX

console question

Are there any reprocussions to leaving the consoles unplugged on HP L & N Class machines? We are cramped for space in the server room and we are thinking about unplugging all the console/terminals and only keeping one terminal to plug in when we need to log in directly on a box. I did a small... (3 Replies)
Discussion started by: gonzotonka
3 Replies

7. UNIX for Advanced & Expert Users

console /dev/console get image

We are using software (Pegasys) which runs on SunOS 5.8 and reads images from a Philips nuclear camera. The software is designed to run from the console. I need to be able to capture the images it produces on the display. The caveat is that I cannot use the X Windows display because the X Server... (3 Replies)
Discussion started by: sreyes27
3 Replies

8. Shell Programming and Scripting

how to access console of a switch having rj45 on switch side to db 9 female on pc side console cable

hi, how to access console of a switch having rj45 on switch side to db 9 female on pc side console cable which needs to be connected to one console server having rj11 on its side and db 9 female on other end.i.e. on switch side,console cable has rj45 and db 9 pin female connector on other side of... (1 Reply)
Discussion started by: pankajd
1 Replies

9. 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

10. UNIX for Dummies Questions & Answers

IP Console Vs Serial console.

Hi Gurus, Can some one explain me the difference between a IP console and a serial console. (1 Reply)
Discussion started by: rama krishna
1 Replies
cyr(1)								   User Manuals 							    cyr(1)

NAME
cyr - setup Cyrillic on Linux console SYNOPSIS
cyr [ options ]... [ keyboard [ keyboard_options ... ]] DESCRIPTION
cyr is a program for fast and easy setup of Cyrillic on the Linux console. OPTIONS
-C, --copyright Display copying conditions and warranty information. -h, --help Display help information and exit. --save Saves given parametes as default for latter use in ~/.cyr_defaults. -v, --verbose Be more verbose. -s, --style=fontstyle -f, --size=fontsize Use the given fontstyle (i.e. fontface) and fontsize. Type cyr --help to see possible fontstyle-fontsize combinations. --font=fontfile Use this fontfile. The options -s and -f get ingnored if this option is given. You will use this argument if you want to use font that is not directly supported by cyr. -e, --encoding=encoding Setup the Linux console for this encoding. --ttys='console1 console2...' Setup Cyrillic in these consoles. keyboard keyboard_options Use this keyboard and keyboard options. CONFIGURATION FILE
cyr reads it defaults from ~/.cyr_defaults or (if the former file doesn't exist) from /etc/console-cyrillic. Lines that contain only spaces or begin with `#' are simply ignored. All other lines should have the form keyword parameters Different keywords correspond to different arguments of cyr as follows: `ttys terminals...' is equivalent to `--tty='terminals...''. `style fontstyle' is equivalent to `--style=fontstyle'. `size fontsize' is equivalent to `--size=fontsize'. `encoding enc' is equivalent to `--encoding=enc'. `fontfile fntfile' is equivalent ot `--font=fntfile'. `layout kbd' specifies kbd as default keyboard to use. `options opt...' specifies opt as default keyboard options. AUTHOR
Anton Zinoviev <anton@lml.bas.bg>, <zinoviev@debian.org> console-cyrillic JUN 2002 cyr(1)
All times are GMT -4. The time now is 08:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy