LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   hostname keeps changing? (https://www.linuxquestions.org/questions/slackware-14/hostname-keeps-changing-293952/)

darkleaf 02-23-2005 01:00 PM

hostname keeps changing?
 
My hostname keeps on changing to darkstar. If I use hostname to set my hostname it doesn't stay. I edited the file with the comment about how it should give an error with the loopback device as well and there weren't any other files with something like host in it that would make sense to edit. Sometimes it only works for a couple of consoles, when I went to the 5th console it suddenly was changed back to darkstar there (the others were still OK) Also when I reboot it's lost.

brokenflea 02-23-2005 01:11 PM

did you try running netconfig ?

Tinkster 02-23-2005 02:07 PM

Or editing
/etc/HOSTNAME


Cheers,
Tink

darkleaf 02-23-2005 03:57 PM

I completely overlooked /etc/HOSTNAME cause of the caps :) Thanks for the help!


All times are GMT -5. The time now is 07:13 AM.