LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-12-2003, 12:52 AM   #1
Neorio
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 110

Rep: Reputation: 15
Hostname changing


I want to change the hostname of my Linux box, but will I need to restart inetd in order to get the change happening?

I really don't want to have to reset the machine - it's running important stuff.
 
Old 12-12-2003, 01:18 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
No you shouldn't need to restart just use the hostname command:
hostname my.hostname.com

Then add an entry for that domain beside the loopback address in /etc/hosts
 
Old 01-03-2004, 07:11 PM   #3
R153-Ab0V3
LQ Newbie
 
Registered: Dec 2003
Distribution: {echo} Fedora Core1
Posts: 9

Rep: Reputation: 0
ok if u did that and change the /etc/host.

i do a ping sweep or a scan and it shows up as unknown what then?

can u post a simple temlate how it shown be?

on my server is for local use and a cafe for a CS Game Server.
 
  


Reply


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
changing hostname sh4d0w13 Debian 4 06-14-2005 10:45 AM
hostname changing rusty_slacker Linux - General 2 04-15-2005 06:49 PM
hostname changing Baracuda Linux - General 4 04-04-2005 08:07 AM
Changing hostname? Alf829 Linux - Networking 2 03-08-2004 08:31 AM
Changing hostname tristan2600 Linux - Newbie 1 10-17-2003 08:18 PM


All times are GMT -5. The time now is 05:35 PM.

Main Menu
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