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 CENTOS
hostname
HOSTNAME(5) hostname HOSTNAME(5)
NAME
hostname - Local hostname configuration file
SYNOPSIS
/etc/hostname
DESCRIPTION
The /etc/hostname file configures the name of the local system that is set during boot using the sethostname(2) system call. It should
contain a single newline-terminated hostname string. The hostname may be a free-form string up to 64 characters in length; however, it is
recommended that it consists only of 7-bit ASCII lower-case characters and no spaces or dots, and limits itself to the format allowed for
DNS domain name labels, even though this is not a strict requirement.
Depending on the operating system, other configuration files might be checked for configuration of the hostname as well, however only as
fallback.
You may use hostnamectl(1) to change the value of this file from the command line.
HISTORY
The simple configuration file format of /etc/hostname originates from Debian GNU/Linux.
SEE ALSO
systemd(1), sethostname(2), hostname(1), hostname(7), machine-id(5), machine-info(5), hostnamectl(1), systemd-hostnamed.service(8)
systemd 208 HOSTNAME(5)