LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   System is not detecting the two NIC's simultaneously (https://www.linuxquestions.org/questions/linux-networking-3/system-is-not-detecting-the-two-nics-simultaneously-371178/)

b0nd 10-09-2005 06:45 AM

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

Brian1 10-09-2005 06:09 PM

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

b0nd 10-10-2005 09:55 AM

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

Brian1 10-10-2005 05:25 PM

Your very welcome, glad you got it going there ruudra.

Brian1

b0nd 10-12-2005 02:40 AM

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


All times are GMT -5. The time now is 10:42 AM.