LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-08-2004, 08:20 PM   #1
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Rep: Reputation: 30
Quick 'n' easy question!


I'm about ready to bring my server online, but I wanna set my box to something other than localhost.localdomain. How would one go about doing this?

Also, this wouldn't be a problem cause I'm gonna change it, but I have more than one linux box, so if they had the same name on the network, would they conflict?
 
Old 09-08-2004, 08:33 PM   #2
rjtucke
Member
 
Registered: Sep 2004
Distribution: Debian testing
Posts: 49

Rep: Reputation: 16
Use the hostname command.
 
Old 09-08-2004, 08:45 PM   #3
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
how? I can't figure it out

edit - When I do hostname -v osrv.grey, it says it changed it, and when I type hostname, it says osrv.grey, but the ftp server says it's still on localhost.localdomain and when I reboot, hostname says it's back to localhost.localdomain ...

Last edited by orange400; 09-08-2004 at 08:51 PM.
 
Old 09-08-2004, 08:57 PM   #4
rjtucke
Member
 
Registered: Sep 2004
Distribution: Debian testing
Posts: 49

Rep: Reputation: 16
Sorry. I think it goes somewhere in /etc - try /etc/hostname
 
Old 09-08-2004, 08:59 PM   #5
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
edit: nope ... don't got it ... the networking fails with the new name ...

got it!

I changed the value in /etc/sysconfig/network. Thanks anyways

Last edited by orange400; 09-08-2004 at 09:03 PM.
 
Old 09-09-2004, 09:02 PM   #6
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
bump ... guess this wasn't so quick 'n' easy after all ...
 
Old 09-09-2004, 10:36 PM   #7
Chrax
Member
 
Registered: Apr 2004
Distribution: Dapper
Posts: 167

Rep: Reputation: 31
You could always give netconfig a shot. That is if you have it. I know it's in slack.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Very Easy Quick Question From an Newbie. Anthony1uk Linux - Newbie 2 06-08-2005 12:34 PM
Quick Question....Easy Answer iammike Linux - Software 2 08-22-2004 01:09 PM
Really quick and easy question libranikki Linux - Newbie 2 08-05-2004 07:54 PM
quick easy kernel question Basslord1124 Linux - Newbie 2 07-06-2004 03:38 PM
quick easy question alexr186 Linux - Networking 3 11-02-2003 08:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:47 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