LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-29-2004, 12:19 AM   #1
milesstandish
Member
 
Registered: Sep 2002
Posts: 70

Rep: Reputation: 15
renaming your box (this SHOULD) be easy


in rh9, you could rename your box just by changing the name from localhost inside of the nic card window. in enterprise this seems to cause an error that gives you a window right before logging in about "can't find _____. try adding it to whatever". i did add it. and i did it under the nic and i played with variations on all of it. and i still get the same thing. help?
 
Old 03-29-2004, 06:29 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
edit "/etc/hosts" and add your new hostname..


example: u changed your linux box name to linux.domain.com
your hosts file can be like this:

127.0.0.1 localhost.localdomain localhost linux.domain.com linux


it will work with no problem.



if u want to change your linux hostname edit "/etc/sysconfig/network" like this:

HOSTNAME=linux.domain.com
 
Old 03-29-2004, 07:38 AM   #3
R4z0r
Member
 
Registered: Jan 2002
Distribution: CentOS 3.1
Posts: 119

Rep: Reputation: 15
I just do:

# echo newhostname > /etc/hostname
# hostname -F /etc/hostname
 
  


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
easy connect not easy in suse greg collins Linux - Newbie 11 03-30-2006 07:31 PM
Best distribution for easy to setup out of the box secure web server? jimdaworm Linux - Security 11 04-05-2005 01:45 AM
Easy urpmi ,no easy send mail. akihandyman Linux - General 2 12-27-2004 02:15 PM
Linux4RegularGuys - EASY FTP setup using vsftpd - READ THIS FOR EASY HELP DropHit Linux - Networking 4 11-25-2004 02:44 PM
is there an easy way to optain a list of users on my box? bripage Linux - Security 6 09-26-2002 07:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:21 PM.

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