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
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
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
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
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
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
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
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
(8 Replies)
Discussion started by: wojeezy
8 Replies
9. UNIX for Advanced & Expert Users
deleted (0 Replies)
Discussion started by: hce
0 Replies
10. UNIX for Beginners Questions & Answers
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
LEARN ABOUT HPUX
gettydefs
gettydefs(4) Kernel Interfaces Manual gettydefs(4)
NAME
gettydefs - speed and terminal settings used by getty
DESCRIPTION
The file contains information used by to set up the speed and terminal settings for a line (see getty(1M)). It supplies information on
what the prompt should look like. It also supplies the speed to try next if the user indicates the current speed is not correct by typing
a Break character.
Each entry in has the following format:
Each entry is followed by a blank line. The various fields can contain quoted characters of the form etc., as well as where nnn is the
octal value of the desired character. The various fields are:
label This is the string against which tries to match its second argument. It is often the speed, such as at which the terminal
is supposed to run, but it need not be (see below).
initial-flags These flags are the initial settings to which the terminal is to be set if a terminal type is not specified to (see
ioctl(2)). The flags that understands are the same as the ones listed in (see termio(7)). Normally only the speed flag is
required in the initial-flags. automatically sets the terminal to raw input mode and takes care of most of the other flags.
The initial-flag settings remain in effect until executes
final-flags These flags take the same values as the initial-flags and are set just before executes The speed flag is again required.
The composite flag takes care of most of the other flags that need to be set so that the processor and terminal are communi-
cating in a rational fashion. The other two commonly specified final-flags are so that tabs are sent to the terminal as
spaces, and so that the line is hung up on the final close.
login-prompt This entire field is printed as the login-prompt. Unlike the above fields where white space is ignored (a space, tab or
new-line), they are included in the login-prompt field.
next-label If this entry does not specify the desired speed, indicated by the user typing a Break character, searches for the entry
with next-label as its label field and set up the terminal for those settings. Usually, a series of speeds are linked
together in this fashion, into a closed set. For example, linked to which in turn is linked to which finally is linked to
If is called without a second argument, the first entry of is used, thus making the first entry of the default entry. It is also used if
cannot find the specified label. If itself is missing, there is one entry built into the command which brings up a terminal at baud.
It is strongly recommended that after making or modifying it be run through with the check option to ensure that there are no errors.
EXAMPLES
The following two lines show an example of 300/1200 baud toggle, which is useful for dial-up ports:
The following line shows a typical 9600 baud entry for a hard-wired connection:
FILES
SEE ALSO
getty(1M), login(1), ioctl(2), termio(7).
gettydefs(4)