LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 10-09-2005, 06:45 AM   #1
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
System is not detecting the two NIC's simultaneously


Hello all,
few days back i pluged in 2nd NIC on my Slackware 10.0 machine. Initially it did not recognize it......means although it was showing its entry in
Code:
#lspci
but ever after configuring it through
Code:
#vi /etc/rc.d/rc.inet1.conf
ifconfig eth1 was throwing error
Code:
root@bond:~# ifconfig eth1
eth1: error fetching interface information: Device not found
root@bond:~#
but somehow ( i really don't know how, b'coz i didn't did anything ) it started working.

Then due to some reasons i reinstalled Slackware 10.0 yesterday. Now again i'm facing the same problem.

Now the entries of lspci are:

Code:
root@bond:~# lspci
00:00.0 Host bridge: Intel Corp. 82810 GMCH [Graphics Memory Controller Hub] (rev 03)
00:01.0 VGA compatible controller: Intel Corp. 82810 CGC [Chipset Graphics Controller] (rev 03)
00:1e.0 PCI bridge: Intel Corp. 82801AA PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corp. 82801AA ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801AA IDE (rev 02)
00:1f.2 USB Controller: Intel Corp. 82801AA USB (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801AA AC'97 Audio (rev 02)
01:0b.0 Ethernet controller: MYSON Technology Inc SURECOM EP-320X-S 100/10M Ethernet PCI Adapter
01:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
root@bond:~#
Now what i did, i removed both of them and then inserted them one at a time
when i pluged the "MYSON" one, during configuring it said
Quote:
A network card using fealnx.o module has been detected
and that time running
Code:
lsmod
was showing this modules entry in it.

then i repeated the whole procedure for "Realtek" card, it said
Quote:
A network card using the 8139too.o module has been detected
Now i plug the "MYSON", with "Realtek" already plugged in.
but now its not detecting the "MYSON".


Code:
root@bond:~# lsmod
Module                  Size  Used by    Not tainted
bsd_comp                4344   0  (autoclean)
ppp_synctty             5856   0  (unused)
ppp_async               7392   1
ppp_generic            19492   3  [bsd_comp ppp_synctty ppp_async]
slhc                    4976   0  [ppp_generic]
snd-pcm-oss            37736   0
snd-mixer-oss          12504   0  [snd-pcm-oss]
snd-intel8x0           18924   0
snd-ac97-codec         49500   0  [snd-intel8x0]
gameport                1420   0  [snd-intel8x0]
snd-pcm                56072   0  [snd-pcm-oss snd-intel8x0]
snd-timer              13604   0  [snd-pcm]
snd-page-alloc          6328   0  [snd-intel8x0 snd-pcm]
snd-mpu401-uart         3200   0  [snd-intel8x0]
snd-rawmidi            12740   0  [snd-mpu401-uart]
snd-seq-device          3888   0  [snd-rawmidi]
snd                    30852   0  [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               3396   4  [snd]
ipt_REJECT              3160   0  (autoclean)
ipt_LOG                 3416   0  (autoclean)
ipt_TCPMSS              2360   0  (autoclean)
ipt_state                504   2  (autoclean)
ipt_pkttype              472   0  (autoclean)
ipt_owner               1336   0  (autoclean)
ipt_recent              7908   0  (autoclean)
ipt_multiport            664   0  (autoclean)
ipt_conntrack           1016   0  (autoclean)
iptable_mangle          2072   0  (autoclean)
ip_nat_irc              2128   0  (unused)
ip_nat_tftp             1648   0  (unused)
ip_nat_ftp              2736   0  (unused)
iptable_nat            15438   3  [ip_nat_irc ip_nat_tftp ip_nat_ftp]
ip_conntrack_irc        3024   1
ip_conntrack_tftp       1744   1
ip_conntrack_ftp        3888   1
ip_conntrack           19236   3  [ipt_state ipt_conntrack ip_nat_irc ip_nat_tftp ip_nat_ftp iptable_nat ip_conntrack_irc ip_conntrack_tftp ip_conntrack_ftp]
iptable_filter          1644   1
ip_tables              12416  14  [ipt_REJECT ipt_LOG ipt_TCPMSS ipt_state ipt_pkttype ipt_owner ipt_recent ipt_multiport ipt_conntrack iptable_mangle iptable_nat iptable_filter]
pcmcia_core            39972   0
ide-scsi                9328   0
8139too                14376   1
mii                     2272   0  [8139too]
crc32                   2880   0  [8139too]
agpgart                43940   4
root@bond:~#
You can see that its showing the module "8139too" only and not "fealnx.o" ( which it was showing when only "MYSON" was plugged in )

so what i tried to do now is to add the module "fealnx.o"

Code:
root@bond:~# /sbin/modprobe fealnx.o
modprobe: Can't locate module fealnx.o
root@bond:~#
Now what should i do ???

one more thing i tried.

#make xconfig
and then loading the ".config"..........then i was checking for ethenet cards.
i'm quoting few lines what i thought as relevent.

Quote:
m Myson MTD-8xx PCI Ethernet support
m Realtek RTL-8139 C+ PCI Fast Ethernet Adapter support ( experimental )
m Realtek RTL-8139 PCI Fast Ethernet Adapter support
n Use PIO instead of MMIO
y Support for uncommon RTL-8139 rev.k (automatic channel equilization )
y Support for older RTL-8129/8130 boards.
seeking for guidance

regards
 
Old 10-09-2005, 06:09 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
To load a module use this command ' /sbin/modprobe fealnx ' without the ' .o '.

See if that works. If it does then you can add it to your /etc/modules.conf or it may be called /etc/modprobe.conf and make it look similiar to your current alias eth0 line.

Hope this helps
Brian1
 
Old 10-10-2005, 09:55 AM   #3
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Original Poster
Rep: Reputation: 45
gr8 !!!
It worked.

as you instructed, i loaded the module using the command

Code:
#/sbin/modprobe fealnx
then after typing the command
Code:
/etc/rc.d/rc.inet1 stop
/etc/rc.d/rc.inet1 start
i run "ifconfig".............and eth1 was there.

then i edited /etc/modules.conf ( i think /etc/modprobe.conf is for 2.6.x kernels )
and added the lines
Code:
alias eth0 8139too
alias eth1 fealnx
and then reboot

Now everything seems to be working fine.
Thanks a lot "Brain 1"

regards
 
Old 10-10-2005, 05:25 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Your very welcome, glad you got it going there ruudra.

Brian1
 
Old 10-12-2005, 02:40 AM   #5
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Original Poster
Rep: Reputation: 45
Hello there,
one more question is there....

In the above case the NIC cards were different hence were using different modules.
Suppose same cards are there requiring the same modules.........then ??

regards
 
  


Reply



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
system is not detecting modem b0nd Linux - Newbie 3 09-26-2005 11:38 AM
Two users on 1 PC simultaneously (with X) technobeast Linux - Newbie 1 07-10-2004 06:24 AM
How do I open a second X simultaneously? bruno buys Linux - Software 12 04-05-2004 12:37 PM
how to use linux and windows OS simultaneously bajaj Linux - Software 15 08-12-2003 12:30 PM
Login simultaneously juno Linux - General 2 09-26-2002 09:01 PM

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

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