Jump to content

How to change name of computer?


fuzzylizard
 Share

Recommended Posts

Hello,

 

I just setup a firewall/router using an old computer and Smoothwall. Very easy product to install and get up and running. However, now I would like to change the name of my computer, how do I do this?

 

Currently it the name needed for my cable modem connection to work, but this name has been given to the router computer and I would like to change the name of my desktop computer, anyone know how to do this?

Link to comment
Share on other sites

  • 3 weeks later...

Didn't work perfectly. I have used hostname on my red hat 8.0 computer and the change worked, but on my Mandrake computer, I can't get the name change to stick.

 

I use the hostname command to change the name, but when I reboot, the name reverts back to what I set it as when I did the install.

 

Any suggestions on how to make this name change thing permanent?

Link to comment
Share on other sites

from the LOST archive

 

To change the host name of your machine, as root edit the file

/etc/hostname. Alternatively, use the 'hostname' program. "man

hostname" for details ...

 

ciao!

 

When I tried this, it didn't take through a reboot of the machine. Instead I ran the Wizard under Mandrake Control Center -> Network to get the change to take.

 

Until I did this, the hostname was restored everytime I rebooted the machine. Seemed weird to me, but since I got it changed, what the heck...

Link to comment
Share on other sites

Instead I ran the Wizard under Mandrake Control Center -> Network to get the change to take.

 

Until I did this, the hostname was restored everytime I rebooted the machine. Seemed weird to me, but since I got it changed, what the heck...

 

Yea, this what I did. I just reran the networking wizard in the Mandrake Control Center and then rebooted and the name change stuck. I had to reboot though.

 

Although, I did the hostname command on Red Hat 8.0 and it worked. I wished more things worked consistently across distros.

 

Thanks for the info.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...