LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mageia
User Name
Password
Mageia This forum is for the discussion of Mageia Linux.

Notices



Reply
 
Search this Thread
Old 05-24-2013, 05:01 AM   #1
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 4
Posts: 309
Blog Entries: 4

Rep: Reputation: 52
Cannot change hostname mageia 3


Hi,
I have installed mageia 3 changed the hostname, but it has changed back to what it was.
Code:
 cat /etc/hosts
# generated by drakconnect
127.0.0.1 endor localhost

$ cat /etc/sysconfig/network
NETWORKING=yes
CRDA_DOMAIN=US
HOSTNAME="endor"
cheers
 
Old 05-24-2013, 06:28 AM   #2
ennael
Mageia Co-Founder
 
Registered: Feb 2012
Location: Paris
Distribution: Mageia
Posts: 19

Rep: Reputation: Disabled
try as root

echo yourhostname > /etc/hostname
 
1 members found this post helpful.
Old 05-24-2013, 07:40 AM   #3
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 4
Posts: 309
Blog Entries: 4

Original Poster
Rep: Reputation: 52
It worked Thank you ennael

Cheers
 
  


Reply

Tags
cannot change, hostname change, mageia 3


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
'hostname some_name' does not change the hostname. stf92 Slackware 11 02-21-2013 08:09 PM
LXer: Mageia 1 Support Terminated, Upgrade to Mageia 2 LXer Syndicated Linux News 0 12-02-2012 09:00 AM
getting errors related to hostname -- security problem? ok to change hostname? sneakyimp Linux - Server 2 11-18-2012 06:25 PM
LXer: Open Source: Mageia 1 to Mageia 2 Upgrade LXer Syndicated Linux News 0 05-22-2012 05:30 PM
after hostname change, syslogd still output previous hostname to messages file tiger2000 Linux - General 3 07-22-2009 10:36 PM


All times are GMT -5. The time now is 12:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration