LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   getting ethernet card to activate on boot (https://www.linuxquestions.org/questions/linux-newbie-8/getting-ethernet-card-to-activate-on-boot-208890/)

hindenbergbaby 07-23-2004 06:15 PM

getting ethernet card to activate on boot
 
I am making progress slowly. My home Linux box can now get eth0 up and recognized, but I have to jump through hoops to do it. What do I need to add so that the kernel loads the module on boot?

I have an ASUS P4P800 mobo, with on board lan. I am using the 3c2000 drivers that go with this lan card.

Here's what I need to do to get attached to the network:

su
cd /3c2000
insmod 3c2000.o
ifconfig eth0 up

I'd sort of like to cut out those steps and just have the thing load at boot. I am assuming it involves /etc/modules.conf, but I'm not sure what I need to do to it, or if I need to do anything else.

I am running Fedora Core 1, since 2 hates my motherboard.

I tried playing with /etc/modules.conf and got a bunch of errors on boot, so I think I better leave well enough alone until someone who knows what they're doing can help me out.

thanks
shoe

hindenbergbaby 07-23-2004 07:40 PM

solved it
 
not very classily, but it IS starting on boot now...

for those who might be in the same boat...

emacs /etc/rc.d/rc.local
edited it to read:

insmod /3c2000/3c2000.o
ifconfig eth0 up

I would still be open to any classier suggestions, but this makes me somewhat happy.

afm 07-23-2004 09:42 PM

A more clean way is to add the following to /etc/modules.conf:

alias eth0 /3c2000/3c2000.o

hindenbergbaby 07-24-2004 06:08 AM

I tried that, and for some reason, though it said it was activating the card, I lost a bunch of functionality and the card wasn't ever activated... It was spotty at best. It's kind of encouraging, though, that I was thinking along the right lines with that... Thanks!


All times are GMT -5. The time now is 09:41 PM.