LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   NIC defaults to Inactive (https://www.linuxquestions.org/questions/linux-networking-3/nic-defaults-to-inactive-42599/)

SelbyG 01-24-2003 04:55 AM

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
:study:

acid_kewpie 01-24-2003 06:17 AM

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.

SelbyG 01-24-2003 07:06 AM

Hi Chris,

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

Cheers,
Glenn.

acid_kewpie 01-24-2003 07:16 AM

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.

SelbyG 01-24-2003 08:19 AM

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


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