-
change "localhost"
Hey, is there anyway that I can change my computer name from localhost? When I set up Mandrake, I didn't get an option to do so for some reason. I just got it all configured to how I want it, so I don't want to re-install again just to change it. Are there any other ways? Thanks
-
---------------------------------------------------------------
Linux user #355624 Debian Linux
Latitude D810 --Pentium M 1.86Ghz , 1GB DDR II PC-4300. X600 ,15.4". SATA 60GB
Home ssh / ftp server P 4 @ 2.8Ghz , 225gb 3 x maxtors
===== www.kanotix.com=====
-
i changed localhost to the name that i want it to be, so now do i need to log out and log back in for any changes to take effect? or should the terminal automatically start displaying the new host name?
-
you edit both files
then reboot
---------------------------------------------------------------
Linux user #355624 Debian Linux
Latitude D810 --Pentium M 1.86Ghz , 1GB DDR II PC-4300. X600 ,15.4". SATA 60GB
Home ssh / ftp server P 4 @ 2.8Ghz , 225gb 3 x maxtors
===== www.kanotix.com=====
-
when i vim etc/hostname it's blank. what do i put in it
Last edited by hurleyint1386; 05-03-2005 at 03:59 PM.
-
I think SuSE uses either /etc/HOSTNAME or /etc/sysconfig/network.
Edit: I thought you were using SuSE..
djserz.com.ar
"All the drugs in this world won't save you from yourself..."
-
well im using mandrake, and i have /etc/hosts and /etc/hostname, so once i know what to edit /etc/hostname to, then i think i'll be fine
linux user #388813
Gateway SOLO 5300
Pentium III 750 Mhz
256 MB RAM
20 GB HD
Mandrake 10.1
-
I'm pretty sure you can change this somewhere in the mandrake control panel - networking setup.
-
I'll take a look into it and post back with the results
linux user #388813
Gateway SOLO 5300
Pentium III 750 Mhz
256 MB RAM
20 GB HD
Mandrake 10.1
-
you were right. in the computer configuration program, i could just change the host name then reboot and it worked. thanks!
linux user #388813
Gateway SOLO 5300
Pentium III 750 Mhz
256 MB RAM
20 GB HD
Mandrake 10.1
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|