MulletRobZ Posted January 8, 2004 Share Posted January 8, 2004 Hopefully, I won't need to ask anymore questions after this, but I'm curious about changing the host name for my computer. By default, it is read as darkstar.example.net and I want to change it so if I need to restart my computer, the address won't change. I tried just changing the /etc/HOSTNAME file, but I'm sure that's not enough because if I do the change, the host is just known as anonymous. What files need to be changed if I want to change the host name? Thanks in advance. Link to comment https://www.neowin.net/forum/topic/130070-changing-host-names-in-slackware/ Share on other sites More sharing options...
markwolfe Veteran Posted January 8, 2004 Veteran Share Posted January 8, 2004 If you type hostname at the shell prompt, it will tell you your PCs hostname. You can also use hostname to set your hostname. Type man hostname to read the manual on hostname. :) Link to comment https://www.neowin.net/forum/topic/130070-changing-host-names-in-slackware/#findComment-1571845 Share on other sites More sharing options...
MulletRobZ Posted January 10, 2004 Author Share Posted January 10, 2004 Oh, and through that, I learned that one other file had to be changed as well. Thanks. Now my FTP server doesn't need address changes on every reboot. Link to comment https://www.neowin.net/forum/topic/130070-changing-host-names-in-slackware/#findComment-1580090 Share on other sites More sharing options...
markwolfe Veteran Posted January 10, 2004 Veteran Share Posted January 10, 2004 Webgraph said: Oh, and through that, I learned that one other file had to be changed as well. Thanks. Now my FTP server doesn't need address changes on every reboot. Glad I could help! :) And, as you will learn, rebooting to make changes is a Windows Thing, and is only needed in Linux to change kernels or add hardware. :D Link to comment https://www.neowin.net/forum/topic/130070-changing-host-names-in-slackware/#findComment-1580352 Share on other sites More sharing options...
Recommended Posts