/etc/HOSTNAME
Change it to
computer_name.domainname.whatever
and then in /etc/hosts (add this or replace a similar line)
127.0.0.1 domainname.whatever computer_name
Right now, my computer's name is localhost and i want to change it to something better. How do I do that?
/etc/HOSTNAME
Change it to
computer_name.domainname.whatever
and then in /etc/hosts (add this or replace a similar line)
127.0.0.1 domainname.whatever computer_name
I don't have a etc/hostname but i do have a etc/host etc/host.conf
etc/allowedhosts etc/blockedhosts thingy....
there's a big difference between HOSTNAME and hostname, look for HOSTNAME
[quote author=countach44 link=board=12;threadid=8701;start=0#msg78638 date=1076964259]
there's a big difference between HOSTNAME and hostname, look for HOSTNAME
[/quote]
I don't have a HOSTNAME or a hostname.![]()
What distro are you using?
[quote author=chessforce link=board=12;threadid=8701;start=0#msg78646 date=1076979566]
What distro are you using?
[/quote]
Mandrake v.9.2
did you change it in /etc/hosts
I found this at another forum: You can try adding the line hostname [NAME] to your rc.local file (which is usually in /etc/rc.d/).
Bookmarks