Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-16-2010, 09:31 PM   #1
LQ Newbie
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
Network configuration (1 NIC) for OSCAR 6.0.5 on CentOS 5.4

I'm a Linux n00b (very fluent in Windows, though ) that is attempting to set up a (currently) 3-computer cluster. My server node is a Pentium 4, and my client nodes are a Pentium 4 and a Pentium 3 (whatever I have lying around )

I chose to use OSCAR for my clustering interface and CentOS 5 for my server node OS. Yay. I made it through the installation prerequisites, but when it came to configure the NIC, I got stuck.

I opened the /etc/hosts file, tinkered with it, but something inevitably got screwed up. I can still use the Internet, but it won't let me install OSCAR. Running a system-sanity check returns:
[root@SurgeonfishR ~]# system-sanity
Checking your system...
 ERROR: Impossible get the IP for the hostname (SurgeonfishR) 
 WARNING: oscar_server is not defined in /etc/hosts. 
 This may be normal if this is the first time you 
 execute OSCAR.
  Network configuration not correct 
[root@SurgeonfishR ~]#
All I need to know is what the /etc/hosts file should look like for a CentOS 5.4 installation with 1 NIC that is not connected to a domain (only a LAN). It is connected to a router which in turn is connected to my home network (I don't know what to do about that). The hostname should be surgeonfishr and the IP address should be

I know this question is probably really stupid, but I've logged a total of about 10 hours time on Linux...ever. (And 35000 hours on Windows.)
Old 04-18-2010, 06:11 PM   #2
Registered: Feb 2007
Location: Iceland
Distribution: Fedora 14, CentOS, FreeNAS
Posts: 126

Rep: Reputation: 20
The hosts file

My hosts file on a one nic pc is like this:
Code:               localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6           surgeonfishr
As you might notice I changed the IP and hostname to match yours.
That's the only thing in my hosts file.


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
[SOLVED] Dual NIC and routing configuration on CentOS 5.4 bskrakes Linux - Networking 7 04-07-2010 03:53 PM
CentOS/RHEL Linux small network configuration help linux_newb Linux - Networking 4 01-15-2010 10:05 AM
can't telnet to a VPN when another NIC is connected to a private network in CENTOS freeburn Linux - Networking 5 12-13-2009 05:18 PM
CentOS 5.2 cannot activate network device on board Intel NIC nino90 Linux - Networking 2 12-10-2008 07:51 PM
CentOS 5 .. .Added additional NIC.. does not see network.. StamfordRob Linux - Networking 1 05-20-2008 12:31 AM

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