LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2004, 07:15 PM   #1
hindenbergbaby
Member
 
Registered: Sep 2003
Location: Boston
Distribution: Gentoo, Slack, SuSE, Ubuntu... Flavor of the week
Posts: 134

Rep: Reputation: 15
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
 
Old 07-23-2004, 08:40 PM   #2
hindenbergbaby
Member
 
Registered: Sep 2003
Location: Boston
Distribution: Gentoo, Slack, SuSE, Ubuntu... Flavor of the week
Posts: 134

Original Poster
Rep: Reputation: 15
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.
 
Old 07-23-2004, 10:42 PM   #3
afm
LQ Newbie
 
Registered: Jul 2004
Posts: 16

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

alias eth0 /3c2000/3c2000.o
 
Old 07-24-2004, 07:08 AM   #4
hindenbergbaby
Member
 
Registered: Sep 2003
Location: Boston
Distribution: Gentoo, Slack, SuSE, Ubuntu... Flavor of the week
Posts: 134

Original Poster
Rep: Reputation: 15
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!
 
  


Reply


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
not being able to activate the "ethernet card" eth0 b0nd Linux - Newbie 8 02-09-2005 01:04 PM
Ethernet Card fails on boot cim bom Mandriva 2 01-05-2005 09:38 AM
Ethernet card on laptop: I installed my D-Link ethernet card into Redhat 9, not detec brighamr Linux - Hardware 0 05-18-2004 01:33 AM
Need help -- always need to set up ethernet card after every boot MidnightWatcher Mandriva 2 03-25-2004 04:08 AM
Ethernet card will not activate tatham Linux - Hardware 2 10-05-2003 08:09 PM


All times are GMT -5. The time now is 12:15 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration