NeoXP Posted March 15, 2004 Report Share Posted March 15, 2004 I've recently installed ML 10.0 CE. In ML 9.2 I could specify my hostname to a more fancier name, but I can't seem to get it to work in ML 10.0 CE. Does anyone have a suggestion? Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted March 16, 2004 Report Share Posted March 16, 2004 I had the same problem. Load the tool updates, remove the nic, add it back in, and enter your host name. That's how I fixed it using gui. Quote Link to comment Share on other sites More sharing options...
Guest pipplo Posted March 16, 2004 Report Share Posted March 16, 2004 You can change your host name by adding the command hostname yourhostnamehere in the top of your rc.local file, should be in /etc/rc.d/ directory Quote Link to comment Share on other sites More sharing options...
aRTee Posted March 16, 2004 Report Share Posted March 16, 2004 ?? Don't do anything in /etc/rc.local, just adapt the file: /etc/hosts and you're done. You have to logout and back in to see the changes, naturally you can do that by doing su in konsole. Quote Link to comment Share on other sites More sharing options...
NeoXP Posted March 16, 2004 Author Report Share Posted March 16, 2004 just adapt the file: /etc/hosts and you're done. Please explain how to do this, I've never done this before. Thxs. Quote Link to comment Share on other sites More sharing options...
Ronin Posted March 16, 2004 Report Share Posted March 16, 2004 ?? Don't do anything in /etc/rc.local, just adapt the file: /etc/hosts and you're done. You have to logout and back in to see the changes, naturally you can do that by doing su in konsole. Isnt that gone though on a reboot? Not that any of us reboot that much mind you. I'm not on 10 yet but I assume the process is the same. Edit the /etc/sysconfig/network file so it has a line saying HOSTNAME="hostname here" then restart the network. That should change your hosname and keep it when you reboot for whatever reason. Quote Link to comment Share on other sites More sharing options...
aRTee Posted March 16, 2004 Report Share Posted March 16, 2004 Ronin, think you're right -- doing things from memory doesn't always work, I guess... thanks for correcting it. Quote Link to comment Share on other sites More sharing options...
NeoXP Posted March 16, 2004 Author Report Share Posted March 16, 2004 (edited) You can change your host name by adding the command CODE hostname yourhostnamehere in the top of your rc.local file, should be in /etc/rc.d/ directory Thxs Pipplo this works for me! [edit] typo [/edit] Edited March 17, 2004 by NeoXP Quote Link to comment Share on other sites More sharing options...
Guest pipplo Posted March 17, 2004 Report Share Posted March 17, 2004 ?? Don't do anything in /etc/rc.local, just adapt the file: /etc/hosts and you're done. You have to logout and back in to see the changes, naturally you can do that by doing su in konsole. Isnt that gone though on a reboot? Not that any of us reboot that much mind you. I'm not on 10 yet but I assume the process is the same. Edit the /etc/sysconfig/network file so it has a line saying HOSTNAME="hostname here" then restart the network. That should change your hosname and keep it when you reboot for whatever reason. This might be a better solution.. I dunno Quote Link to comment Share on other sites More sharing options...
NeoXP Posted March 18, 2004 Author Report Share Posted March 18, 2004 I also tried Ronin's solution, but it did'nt work for me.... Quote Link to comment Share on other sites More sharing options...
Ronin Posted March 18, 2004 Report Share Posted March 18, 2004 I also tried Ronin's solution, but it did'nt work for me.... Umm a bit more information then it didnt work for me please. :-) I set my hostname that way last night and restarted the network and it works fine on all my machines. Quote Link to comment Share on other sites More sharing options...
NeoXP Posted March 18, 2004 Author Report Share Posted March 18, 2004 Funny thing is, I checked /etc/sysconfig/network and my hostname was already there! At boot there was a message like "setting hostname to: trinity.com. But when it was completely booted it would still give the standard hostname. After editing /etc/rc.d/rc.local my prob was solved, dunno why! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.