Knoppix Changed Hostname
Hell-o,
After I booted Knoppix from a disc, my hostname in Mandrake 10.1 changed to "name"@Knoppix. I am on a cable modem with dhcp. How do I get my previous hostname back? Thanks, Jason Hodges |
Check /etc/sysconfig/network
|
Quote:
Blessed Be, Jason Hodges |
Hello Deadlove, i m having a problem similar to yours on RedHad enterprise 4, I m not sure of the reason, one day the host name on the command prompt has changed to be root@dhcppc0:~ although at the time, I didn't try to work on dhcp (I m still in learning stage, & sometimes I make trials utilizing my few resources just to practise like making DNS using IP alias). Any way, I checked /etc/sysconfig/network & /etc/hosts & the host name in both is the old one: localhost@localdomain localhost. I m wondering how could you solve this problem???
Thank you |
Quote:
If you have a fixed IP address, you might want to put your computers name and that IP in your host file and remove the localhost stuff. Please back up your file before you do that; I'm not really sure what it'll do. If your IP address changes, you may not be able to get online until you change your host file and put the new IP address in. It was something that I learned to live with. If it really bothers you, you may want to get a router. It's nice to have one just for security reasons. Blessed Be, Jason Hodges |
All times are GMT -5. The time now is 12:41 AM. |