LinuxQuestions.org
Visit Jeremy's Blog.
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 11-11-2002, 06:07 PM   #1
GEEXTER
LQ Newbie
 
Registered: Nov 2002
Posts: 15

Rep: Reputation: 0
Kickstarting ETH0


I have installed a Smartlink 10/100 NIC in a Compaq EVO as adapter 1 eth0 with an e100 kernel module.

During bootup the ethernet card fails after trying to loading an insmod for the card.

At the command prompt, I enter "insmod -o -e100 /lib/modules/2.2.14-5.0/net/e100.o".

I then go into linuxconf (without changing any settings) and select "activate the changes".

Immediately eth0 comes alive.

---------------
MY QUESTION:

How do I get this to work automagically during bootup?
 
Old 11-11-2002, 06:10 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
Welcome to LQ, Geexter.

What distro are you using?

Does it also work if you just modprobe e100? If so, then edit (as root) the file /etc/modules and simply add e100 to the file. Save and next time you boot it will hopefully work. Try it.
 
Old 11-11-2002, 06:16 PM   #3
GEEXTER
LQ Newbie
 
Registered: Nov 2002
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for the welcoming.

Distro: Red Hat 6.2

modprobe e100 does not work ---> "insmod e100 failed"
 
Old 11-11-2002, 06:18 PM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
And yet explicitely telling it which file to use works? Strange! You could edit the file /etc/rc.d/rc.modules and add your command to the end...?
 
Old 11-11-2002, 06:22 PM   #5
GEEXTER
LQ Newbie
 
Registered: Nov 2002
Posts: 15

Original Poster
Rep: Reputation: 0
-----------------
You could edit the file /etc/rc.d/rc.modules and add your command to the end...?
-----------------

The only files I have in /etc/rc.d are...

rc
rc.local
rc.sysinit

Any ideas?
 
Old 11-11-2002, 06:25 PM   #6
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
You could try putting it in somewhere in rc.local... should work, we hope Have you thought of upgrading to a newer version? RH8 is out, but there are also others. 0.02
 
Old 11-11-2002, 06:40 PM   #7
GEEXTER
LQ Newbie
 
Registered: Nov 2002
Posts: 15

Original Poster
Rep: Reputation: 0
heheh... we have to use 6.2 at this time... but i'm sure we'll upgrade in the future.

HMMMM... this is weird... now that i've added the insmod command to rc.local, all I have to do is go into linuxconf and select "activate the changes".

So, it looks like we are one step closer. But it didn't initialize at bootup.

Any other suggestions?
 
Old 11-11-2002, 06:48 PM   #8
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
Add alias eth0 e100 to /etc/modules.conf... although I'm not sure if this will just do the same as insmod and modprobe...?
Also, do you have anything relating to networks (such as S??network) in /etc/rc.d/rc3.d?
 
Old 11-11-2002, 06:51 PM   #9
GEEXTER
LQ Newbie
 
Registered: Nov 2002
Posts: 15

Original Poster
Rep: Reputation: 0
btw... thanks for your help Thymox...

I do have an S10network in rc3.d
 
  


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
Wireless network on eth1 diabled Ethernet eth0 and eth0 never comes back tadatoshi Linux - Wireless Networking 4 09-23-2004 05:57 PM
Firewall WAN eth0 LAN eth1 self-bridges, eth0 does all routeing. Nichole_knc Linux - Networking 5 07-29-2004 02:33 PM
Kickstarting/ custom os and .modules.conf rbecker Linux From Scratch 1 07-29-2004 06:36 AM
howto delete existing static ip of ethernet(eth0)& reconf multiple ips on eth0 viveku Linux - Networking 2 02-02-2004 01:30 AM
howto delete static ip configured on eth0 & reconf multiple ip on one eth0(redhat8 viveku Linux - Networking 0 01-31-2004 10:40 AM


All times are GMT -5. The time now is 05:53 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration