hostname command returned (none)
Hi, a weired problem!
I edited /etc/hostname so that I have a hostname, but I issued the hostname command at the prompt it returned (none)!! Any ideas? p.s: I'm running debian/testing Thank you all in advance. |
Try the following.
Code:
host |
Quote:
"command not found"!!! |
You may have to shutdown and restart the service that uses the /etc/hostname. If I remember correctly isn't that service BIND.
|
Not bind (a computer doesn't have to be running bind to have a hostname). In Fedora it is set when bringing up the networking rc scripts. If you do /etc/init.d/networking restart (don't know if reload is an option) it should set it. you could also do
Code:
# hostname name_of_computer |
Quote:
Your right. Forgot about that one. |
All times are GMT -5. The time now is 08:55 AM. |