LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   hostname problem (https://www.linuxquestions.org/questions/linux-software-2/hostname-problem-336846/)

matrixon 06-24-2005 01:42 PM

hostname problem
 
im using gentoo
i modofied /etc/hosts

127.0.0.1 localhost hector

and when i bott my system it says set /etc/hosts to a valid hostname no matter what host name i use it still says this

david_ross 06-24-2005 03:08 PM

What do you get from running the "hostname" command?

Make sure that is in your hosts file.

matrixon 06-24-2005 03:10 PM

re
 
i can change the hostname with the hostname command
but i still get the error invalid hostname at startup

comprookie2000 06-24-2005 03:27 PM

This works for static also;
http://forums.gentoo.org/viewtopic-t...omainname.html


All times are GMT -5. The time now is 10:37 AM.