LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-07-2005, 12:20 PM   #1
piva.francesco
Member
 
Registered: Feb 2005
Distribution: Slackware 10.1, Gentoo
Posts: 64

Rep: Reputation: 15
add ethernet modules


Hi all,
i just have added a new ethernet card into my linux slackware 10.1 box. I already have one inside connected to the internet through a switch. I'd like to have further informations on how to make so that it is reconized from my slackware.
I read somewhere that I should do something with the ifconfig command.
when i do it, it gives me this

Quote:
bash-3.00# ifconfig
eth0 Link encap:Ethernet HWaddr 00:07:E9:62:F2:14
inet addr:192.168.1.12 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:299915 errors:0 dropped:0 overruns:0 frame:0
TX packets:243055 errors:0 dropped:0 overruns:0 carrier:2
collisions:645 txqueuelen:1000
RX bytes:221076290 (210.8 Mb) TX bytes:94919058 (90.5 Mb)
Interrupt:5 Base address:0xb000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:428 (428.0 b) TX bytes:428 (428.0 b)
If I understand correctly my first ethernet card (the one connected to the internet) is eth0, so maybe the second one will be eth1. Really I don't know. The second one will be connected to a second pc.

Can someone explain CLEARLY how can I succeed in 'installing' my new network card?

Thanks so much.
I really need this answer as soon as possible...

Good bye all

fp
 
Old 05-07-2005, 01:26 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
first you need to find the driver for it. if you don't know what the chipset is, use lspci to see. then find the matching module, possibly via the HCL on LQ.org via the main menu link on this page. use "modprobe modulenamehere" to load the module. then use netconfig to configure the network details for it.

to load the module permanently on each boot, you would add a line to /etc/modules.conf, although i don't know if slack uses that file...
 
Old 05-08-2005, 03:34 AM   #3
piva.francesco
Member
 
Registered: Feb 2005
Distribution: Slackware 10.1, Gentoo
Posts: 64

Original Poster
Rep: Reputation: 15
When I run lspci it gives me the following:

bash-3.00# lspci
00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corp. 82865G/PE/P PCI to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02)
00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02)
00:1f.2 IDE interface: Intel Corp. 82801EB (ICH5) Serial ATA 150 Storage Control ler (rev 02)
00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 A udio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 420] (re v a3)
02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139 C+ (rev 10)
02:08.0 Ethernet controller: Intel Corp. 82562EZ 10/100 Ethernet Controller (rev 02)
bash-3.00#


My computer has the eth0 card integrated and he is an intel, so I think that my eth0 is: " 02:08.0 Ethernet controller: Intel Corp. 82562EZ 10/100 Ethernet Controller (rev 02)"
so if someone can enlighten me on which module I have to download/take... for my second ethernet card it would be great.

Thanks you very much

fp
 
Old 05-08-2005, 05:53 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
you want the e1000 module, which will already be o your system.
 
Old 05-08-2005, 08:35 AM   #5
piva.francesco
Member
 
Registered: Feb 2005
Distribution: Slackware 10.1, Gentoo
Posts: 64

Original Poster
Rep: Reputation: 15
I tried to do modprobe e1000 and it gives me the following thing:

bash-3.00# modprobe e1000
/lib/modules/2.4.29/kernel/drivers/net/e1000/e1000.o.gz: init_module: No such device
/lib/modules/2.4.29/kernel/drivers/net/e1000/e1000.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.29/kernel/drivers/net/e1000/e1000.o.gz: insmod /lib/modules/2.4.29/kernel/drivers/net/e1000/e1000.o.gz failed
/lib/modules/2.4.29/kernel/drivers/net/e1000/e1000.o.gz: insmod e1000 failed
bash-3.00#


any clue? I'm really getting near of my deadline, PLEASE, I really need this to work.
Thanks for answering (once again)

fp
 
Old 05-09-2005, 04:18 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
hmm, maybe it's the e100 then. google has pretty varying levels of success with that card. the other card will be much easier, just "modprobe 8139too" and you will be away.
 
  


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
How To add Modules DigitalBlue Linux - Newbie 3 10-11-2005 07:19 AM
how to add 'modules' without re-compiling the kernel b0nd Linux - Newbie 4 10-03-2005 11:22 AM
kernel : how to add sys call through modules only? pinkeshzaveri Programming 1 09-14-2005 04:17 AM
Proper way to add modules gameport.o and cmpci.o rundarm Linux - Newbie 2 07-16-2004 11:32 PM
need to recompile modules if i add something to kernel option? doublefailure Linux - General 1 03-05-2003 11:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:14 AM.

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