Sponsored Content
Homework and Emergencies Emergency UNIX and Linux Support HP UX - ILO Console hostname different than Machine Hostname... Post 302550397 by dude2cool on Thursday 25th of August 2011 03:14:25 PM
Old 08-25-2011
Hmm interesting. Thanks for sharing the solution with the rest of us :-)

Curious though, /etc/gettydefs has only baud rate etc. settings to connect to the console. Did the file have your old hostname in there? or maybe I misunderstood.
This User Gave Thanks to dude2cool For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Hostname

Hello, I am installing redhat linux 6.2 on an intel based system. Whether i want to know any naming conventions should i follow. ie Any convention to follow to name a linux machine(To give hostname). Simillarly for domain name also. Please suggest in this regard (1 Reply)
Discussion started by: bache_gowda
1 Replies

2. IP Networking

looking up hostname

Using Solaris 8 (or WINXP). I am trying to look up a specific DNS hostname, but I don't know which DNS server houses that entry. How can I find the hostname? nslookup gives me the following: C:\>nslookup hostname Server: dnsserver Address: x.x.x.x *** dnsserver can't find hostname:... (2 Replies)
Discussion started by: dangral
2 Replies

3. UNIX for Dummies Questions & Answers

Solaris - unknown hostname - how can I change hostname?

Hello, I am new to Solaris. I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies

4. Solaris

Access Solaris machine over http by hostname

Hi all, I need to be able to connect to the web server enabled on my solaris box by hostname e.g. http://<hostname_of_solaris_box>. How can I achieve this? I am able to access the web server via the IP of the solaris box but not the hostname. Any help or pointers would be appreciated. ... (1 Reply)
Discussion started by: dpillay
1 Replies

5. Red Hat

Change hostname

Hello, I would like to change the hostname on a Linux server (RHEL4). I try different methods in vain : - by using hostname command - by changing /etc/hosts and /etc/hostname But after restarting server, the old hostname re-appears... :confused: And the file ./proc/sys/kernel/hostname... (3 Replies)
Discussion started by: madmat
3 Replies

6. Linux

Findout iLO type installed in a machine

I have to write Linux script to findout what kind of ilo is been installed in the given ip address either ilo/LO100 or no device found. IP address will be given in the command line of the script. -> With out log on to the ip address, should get the ilo type installed in that machine. 1. I... (1 Reply)
Discussion started by: skmdu
1 Replies

7. SuSE

HOSTNAME not being applied

I have set up my hostname in dhcp and my dns server, but I cannot get the client to pick up the hostname that is listed for the ip. IE. 10.32.23.4 hostname should be client4 Anyone know why? It was working before and just stopped working (1 Reply)
Discussion started by: 3junior
1 Replies

8. UNIX for Dummies Questions & Answers

How do I know my user@hostname ?

(8 Replies)
Discussion started by: wojeezy
8 Replies

9. UNIX for Advanced & Expert Users

Hostname -f hostname: Unknown host

deleted (0 Replies)
Discussion started by: hce
0 Replies

10. UNIX for Beginners Questions & Answers

How to perform kickstart installation with virtual floppy image from ILO console?

HI All, I have created a kickstart file and converted into .img with below procedure to mount this as a floppy image file to supply the kickstart file during the installation time. But installation failing with unknown ks file location and other error messages. 1. Build an empty floppy... (3 Replies)
Discussion started by: venumutyalu
3 Replies
gettydefs(4)						     Kernel Interfaces Manual						      gettydefs(4)

NAME
gettydefs - Terminal attributes SYNOPSIS
/etc/gettydefs DESCRIPTION
The gettydefs file supplies the getty command with information about various terminal attributes, such as the default initialization and the login message. The gettydefs file contains single line entries that are separated by blank lines. Each entry contains five fields; each field is separated by a number sign (#). You can indicate comments in the file by putting a number sign (#) at the beginning of a line. When the getty command is invoked, it scans the gettydefs file for the first entry with a matching identifier field (see below). If the gettydefs file cannot be opened, internal default settings are used. If a match is found, then the matching entry is parsed, and the ter- minal attributes are set based on the fields specified in the entry. If a match is not found, the first gettydefs file entry is used; therefore the first entry in gettydefs must be the default entry. The maximum length of each entry is 255 characters. The format of each entry is as follows: Identifier#Iflag#Fflag#Message#Next Identifier Identifies an entry. The getty command uses an identifier as an argument and searches for the first entry with a matching identifier field. The identifier must be unique. Specifies the initial terminal flags that the getty command uses to set the terminal attributes after a line has been successfully opened. There are four categories for the terminal attributes. The input flags control the basic input attributes. The output flags control how the terminal system processes output. The control flags describe how the hardware controls the terminal. The local flags control various terminal functions. Refer to termios(4) for the description of the possible settings on a ter- minal port. You can specify the symbol SANE to select default settings. The default settings set the input flags to BRKINT, IGNPAR, ICRNL and IXON; the output flags to OPOST and ONLCR; the control flags to CS8, and CREAD; and the local flags to ISIG, ICANON, IEXTEN, ECHO, ECHOK. Specifies the final terminal flags used by the getty command. These flags are set after the getty command receives a valid login name from the standard input. The output flags and the control flags are set to the terminal attributes specified in Fflag. The input flags and local flags are appended to the initial flags specified in the Iflag field. Specifies the login message. The login message can include the character sequence %h to obtain the host name and %t to obtain the terminal name. This field is limited to 79 characters. Specifies that if the speed specified in the current entry was incorrect, the entry corresponding to this field should be used. The getty command obtains the new entry from this field, and the scan process is repeated. EXAMPLES
The following is an example of an entry in the gettydefs file containing settings for an 8 bit, no parity, 9600 baud, locally connected terminal line: 9600# B9600 HUPCL CS8 CLOCAL # B9600 SANE IXANY TAB3 CLOCAL #login: #9600 The following is an example of an entry in the gettydefs file containing settings for a 8 bit, no parity, 2400 baud, dial in modem line: M2400# B2400 HUPCL CS8 # B2400 SANE IXANY TAB3 HUPCL #login: #M1200 FILES
Specifies the command that initializes and controls terminal lines. RELATED INFORMATION
Commands: getty(8) Functions: kill(2) delim off gettydefs(4)
All times are GMT -4. The time now is 12:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy