LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   network card need to be activited manually after boot (https://www.linuxquestions.org/questions/linux-general-1/network-card-need-to-be-activited-manually-after-boot-588097/)

I_like_TUX 09-28-2007 05:45 PM

network card need to be activited manually after boot
 
Sorry if this post should belong to hardware.

Here is some information:
1. in /etc/sysconfig/network-scripts, ifcfg-eth0 is there with correct data inside.

2. I found that it is the script /etc/init.d/network that brings up the network interfaces (both lo, eth0) but do not know where in the boot process that this script is called. I think it was called since lo is up automatically after boot.

3. In /etc/rc.d/rc5.d, I cannot see S??network but the script might be called by another script.

Anyway, if you need any more information, please tell me. And thanks in advance for any help.

rsashok 09-28-2007 06:09 PM

Try to add line in your /etc/modprobe.conf
alias eth0 eth-driver-name

You have to know "eth-driver-name".

Do you have ONBOOT=yes in your ifcfg-eth0?

I_like_TUX 09-28-2007 07:26 PM

Thanks for the reply, I checked both files. I have ONBOOT=yes in ifcfg-eth0 and "alias eth0 forcedeth" in /etc/modprobe.conf. Is there anything else I might have missed?

rsashok 09-28-2007 10:13 PM

hmm.... Just an idea: do have 'udev' running?

I_like_TUX 09-30-2007 06:32 PM

Problem solved and I just found that the installation does not start up eth0 by default although ONBOOT=yes. I did a
$ chckconfig --level 235 network on
and everything is now fine. Thanks for your help anyway.


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