LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 01-24-2003, 04:55 AM   #1
SelbyG
LQ Newbie
 
Registered: Jan 2003
Posts: 3

Rep: Reputation: 0
NIC defaults to Inactive


Hi there,

I am running Redhat 7.3 with a single NIC. I have two device configurations set on the card - one for LAN and one for internet. Using XWindows I have set the LAN config to active and ticked the box "Activate device when computer starts" and left the internet config set to inactive. Every time I reboot the server both configs come up inactive. Please help as I am quite new to Linux and I'm not sure which file to edit.

Thanks in advance,
Glenn
 
Old 01-24-2003, 06:17 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i'm unaware of what GUI tool you are using to do this, but what this should actually be doing is setting the ONBOOT= option to "yes" in the file called /etc/sysconfig/network-scripts/ifcfg-eth0 - assuming that this intefrace is eth0. just change it yourself, it's a doddle.
 
Old 01-24-2003, 07:06 AM   #3
SelbyG
LQ Newbie
 
Registered: Jan 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Hi Chris,

I have checked this file and the ONBOOT option is set to YES. Any ideas?

Cheers,
Glenn.
 
Old 01-24-2003, 07:16 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well maybe the entire network is not set to boot (the bit that loads each of these servcies) run "service network status" and if that says "stopped" try "chkconfig --levels 35 network on" i *think*...make sure that seems right going by the chkconfig manpage. if that doesn't work then it'd seem that there's an error somewhere.
 
Old 01-24-2003, 08:19 AM   #5
SelbyG
LQ Newbie
 
Registered: Jan 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Ok, I've run the chkconfig command and it says that the network is on for levels 3 & 5. The service network status however does not even list the eth0 card as being configured! It is only listing the loopback and irlan0. How do I add the card as a configured device?? (bit of a Linux virign I'm afraid :-( )

Cheers,
Glenn
 
  


Reply



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
Firewalls are inactive Dolphin2005 Linux - Newbie 7 11-15-2005 05:25 PM
inactive servers LLS Linux - General 2 02-27-2005 05:48 PM
eth0 is inactive nethunter Linux - Hardware 2 02-09-2005 09:40 AM
NIC Card Inactive Lostin Linux 99 Linux - Newbie 8 11-04-2004 04:01 PM
Network goes inactive beza Linux - Networking 7 10-15-2003 05:02 PM

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

All times are GMT -5. The time now is 05:36 AM.

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