Mandriva Expert
The place where your Mandriva Linux system finds support

CHANGING MY MACHINE NAME

+/- details
User dwalkuhl
Incident Number 46468
Date 2002/12/20 18:15
Status Incident closed
Paid No

Product 9.0 (Dolphin)
Architecture x86_32
Scope Administration

Products owned
Community Support question - to convert into a paid question, click here

Lines in bold below have not yet been seen by the customer - those in blue are from the customer

Username : Date : Action : Comments [ close all ]    
 
dwalkuhl : 20/12/02 06:15 PM : Incident created
-   I just installed Mandrake 9.0. The default machine name is "localhost". I
tried changing this in /etc/hosts but that had no effect. /etc/profile
specifies HOSTNAME=`/bin/hostname`, but that is not a textfile, so I can't
edit it.

So how do I change the host/machine name.
Same question for the domain name (default is "localdomain").

Thanks

 
Linegod_7611 : 20/12/02 06:38 PM : Reply received
-   Edit '/etc/sysconfig/network' and edit HOSTNAME and DOMAINNAME . You will
have to restart your computer for changes to appear globally.

------
Note: If this answer resolves your problem, please remember to close this
incident.

 
dwalkuhl : 30/12/02 10:45 PM : More info provided
-  

 
dwalkuhl : 03/01/03 09:27 PM : More info provided
-   Thank you, Linegod. This procedure fixed most of the problem.
Now at the bash prompt I get the folowing:

# hostname
newhostname.newdomainname
# domainname
(none)

But I get the same response for #domainname with the default configuration:

# hostname
localhost.localdomain
# domainname
(none)

This is my first incident -- I will convert to 'paid' when I close it.

 
Linegod_7611 : 04/01/03 08:06 PM : Reply received
-   Try it with the '-d' option.

# domainname -d

Do a 'domainname --help' if you want to set it up for NIS.

------
Note: If this answer resolves your problem, please remember to close this
incident.

 
 
dwalkuhl : 08/01/03 09:18 PM : Incident closed
-   I had to convert my machine back to win98.
There were too many problems with Mandrake 9.0.
Matlab would not run, but it did with Mandrake 7.1.
My question to phone tech support was never answered.

It's a nice OS, but wouldn't do what I needed it to do.
Please remove me from your database.



This Incident is closed. It can not be edited anymore. You can create a new one by signing up/logging in your Mandriva Expert account.

  Mandriva  |  Contact  |  Legal  |  Privacy  |  Careers