LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 04:01 AM   #1
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 7
Posts: 406
Blog Entries: 4

Rep: Reputation: 80
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, 05: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, 06:40 AM   #3
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 7
Posts: 406

Original Poster
Blog Entries: 4

Rep: Reputation: 80
It worked Thank you ennael

Cheers
 
  


Reply

Tags
cannot change, hostname change, mageia 3



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 07:09 PM
LXer: Mageia 1 Support Terminated, Upgrade to Mageia 2 LXer Syndicated Linux News 0 12-02-2012 08:00 AM
getting errors related to hostname -- security problem? ok to change hostname? sneakyimp Linux - Server 2 11-18-2012 05:25 PM
LXer: Open Source: Mageia 1 to Mageia 2 Upgrade LXer Syndicated Linux News 0 05-22-2012 04:30 PM
after hostname change, syslogd still output previous hostname to messages file tiger2000 Linux - General 3 07-22-2009 09:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mageia

All times are GMT -5. The time now is 11:54 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
Open Source Consulting | Domain Registration