LinuxQuestions.org
Review your favorite Linux distribution.
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 07-22-2005, 07:29 PM   #1
pyroman59
Member
 
Registered: Jul 2005
Posts: 78

Rep: Reputation: 16
need insmod to load e1000 driver on boot


I need to find where to place the insmod command: "insmod e1000" so that the driver for my 2nd network interface card will load on boot/reboot.
 
Old 07-23-2005, 01:42 AM   #2
mpeg4codec
Member
 
Registered: Jul 2005
Distribution: Debian, Gentoo, self-built [not LFS]
Posts: 109

Rep: Reputation: 15
It varies from distro to distro. In Debian, put a line with the name of the driver in the file /etc/modules, like so:

e1000

It's that simple. To find it in your distro, you can try the command

find /etc -name 'modules*'

to get a list of possible candidates for where to put that line. If you tell me what distro you're using, I can help out more.
 
Old 07-25-2005, 10:57 AM   #3
pyroman59
Member
 
Registered: Jul 2005
Posts: 78

Original Poster
Rep: Reputation: 16
Hi mpeg4codec -

Sorry, I should have said in the original request that I am running Red Hat Linux 7.1 kernel 2.4.20...

pyroman59
 
Old 07-25-2005, 11:09 AM   #4
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
it is located in /etc/modules.conf
add a line like this:
Code:
alias eth0 e1000
if u have an alias eth0 for another NIC, use eth1 for e1000

after that u can configure your network following command:
Code:
netconfig -d eth0
good luck.
 
Old 07-25-2005, 12:50 PM   #5
Walman
Member
 
Registered: Jun 2004
Location: Venezuela
Distribution: RHEL ,Ubuntu, Slax, Kali
Posts: 95

Rep: Reputation: 15
I am agree with MAXUT

apart from that , at leat in RH , you must tell tell interface , whaterver it is , eth0 or eth1
to come up on boot time i.e ONBOOT=yes in the proper config file . No idea where to look in debian
 
  


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
[SOLVED] sound card driver does not load on boot uncle guido SUSE / openSUSE 2 01-26-2005 01:21 PM
driver problem with intel pro e1000 takatam Linux - Hardware 3 01-20-2005 01:58 AM
Fedora, e1000 driver, 6 ethernet ports pim42 Linux - Hardware 0 06-03-2004 05:02 PM
Backport e1000 driver mikewelter Linux - Hardware 1 05-14-2004 11:26 PM
How to load a driver on boot? superfuzz Linux - General 4 11-28-2003 12:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:18 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
Open Source Consulting | Domain Registration