Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-15-2014, 05:14 AM   #1
LQ Newbie
Registered: Aug 2014
Posts: 18

Rep: Reputation: Disabled
Red face Device Name setting in Settings -> System -> Overview of CentOS 7


Confusing the Device Name found from Settings-->System-->Overview from CentOS 7, let's say 'abcdefg'

when I type the command of 'hostname' under root login it shows

but check /etc/sysconfig/network the information is

It is different....

Additionly I would like to know the difference between hostname and domain name in CentOS 7.

Old 09-18-2014, 08:53 AM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,913
Blog Entries: 14

Rep: Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142
If you update hostname in /etc/sysconfig/network you have to reboot the server for the new value to take effect.
Old 09-19-2014, 01:15 AM   #3
LQ Newbie
Registered: Aug 2014
Posts: 18

Original Poster
Rep: Reputation: Disabled

I did know whenever change hostname I need to restart it. The result was coming after reboot. It is confused why hostname returned from /etc/sysconfig/network is different from terminal with 'hostname' typed.



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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gpointing-device-settings settings will not stay after reboot texasone Linux - Hardware 5 09-06-2013 06:00 PM
Setting system wide settings with Xorg and GDM3 hamtavs Linux - Hardware 3 02-05-2013 12:38 AM
[SOLVED] Where to find "KDE System Settings" in GNOME 2 menu in CentOS 6.3 / Stella OS? PasBern Linux - Desktop 3 12-25-2012 01:48 PM
LXer: Overview of CentOS 6 LXer Syndicated Linux News 0 07-17-2011 10:30 PM
LXer: DistroWatch Weekly: Overview of KNOPPIX and Slackware, CentOS 5, OLPC LXer Syndicated Linux News 0 04-16-2007 04:46 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:10 AM.

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