LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 08-06-2011, 01:32 AM   #1
vipansharma
LQ Newbie
 
Registered: Oct 2010
Posts: 11

Rep: Reputation: 0
Network Card Detection problem


Hello All
I am using DG41WV Intel Motherboard , installing rhel5.1 .
Kernel version 2.5.18 . My linux installation not detecting the on board network card(Realtek PCIe GBE Family controller) neither during installation nor dynamically . Searched for drivers (From Realtek web) and installed them but again the same problem no detection.
Sugess me the best possibilities to get the card detected .
Thanks and Regards
 
Old 08-06-2011, 05:03 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Hi there,

Welcome to LQ!!!

Let us know the output of the following commands:

1. lspci | grep net
2. ifconfig
3. ll /etc/sysconfig/network-scripts/
 
Old 08-06-2011, 11:57 PM   #3
vipansharma
LQ Newbie
 
Registered: Oct 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by T3RM1NVT0R View Post
Hi there,

Welcome to LQ!!!

Let us know the output of the following commands:

1. lspci | grep net
2. ifconfig
3. ll /etc/sysconfig/network-scripts/
Please find the log of the commands asked by you .
[root@localhost ~]# lspci | grep net
[root@localhost ~]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1252 errors:0 dropped:0 overruns:0 frame:0
TX packets:1252 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1977273 (1.8 MiB) TX bytes:1977273 (1.8 MiB)

xenbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[root@localhost ~]# ll /etc/sysconfig/network-scripts/
total 372
-rw-r--r-- 1 root root 254 Jun 21 2001 ifcfg-lo
lrwxrwxrwx 1 root root 20 Aug 6 16:32 ifdown -> ../../../sbin/ifdown
-rwxr-xr-x 1 root root 625 Sep 11 2006 ifdown-bnep
-rwxr-xr-x 1 root root 4421 Jan 5 2007 ifdown-eth
-rwxr-xr-x 1 root root 827 Apr 16 2005 ifdown-ippp
-rwxr-xr-x 1 root root 2159 Sep 11 2006 ifdown-ipsec
-rwxr-xr-x 1 root root 4473 Sep 11 2006 ifdown-ipv6
lrwxrwxrwx 1 root root 11 Aug 6 16:32 ifdown-isdn -> ifdown-ippp
-rwxr-xr-x 1 root root 1481 Sep 11 2006 ifdown-post
-rwxr-xr-x 1 root root 1084 Sep 11 2006 ifdown-ppp
-rwxr-xr-x 1 root root 637 Jul 11 2006 ifdown-routes
-rwxr-xr-x 1 root root 1593 Sep 11 2006 ifdown-sit
-rwxr-xr-x 1 root root 904 Sep 11 2006 ifdown-sl
-rwxr-xr-x 1 root root 1074 Sep 11 2006 ifdown-tunnel
lrwxrwxrwx 1 root root 18 Aug 6 16:32 ifup -> ../../../sbin/ifup
-rwxr-xr-x 1 root root 13427 Sep 11 2006 ifup-aliases
-rwxr-xr-x 1 root root 859 Sep 11 2006 ifup-bnep
-rwxr-xr-x 1 root root 9892 Jan 16 2007 ifup-eth
-rwxr-xr-x 1 root root 11970 Sep 11 2006 ifup-ippp
-rwxr-xr-x 1 root root 6820 Sep 11 2006 ifup-ipsec
-rwxr-xr-x 1 root root 10853 Sep 11 2006 ifup-ipv6
-rwxr-xr-x 1 root root 823 Sep 11 2006 ifup-ipx
lrwxrwxrwx 1 root root 9 Aug 6 16:32 ifup-isdn -> ifup-ippp
-rwxr-xr-x 1 root root 727 Sep 11 2006 ifup-plip
-rwxr-xr-x 1 root root 954 Sep 11 2006 ifup-plusb
-rwxr-xr-x 1 root root 2369 Sep 11 2006 ifup-post
-rwxr-xr-x 1 root root 4253 Sep 11 2006 ifup-ppp
-rwxr-xr-x 1 root root 1707 Jul 24 2006 ifup-routes
-rwxr-xr-x 1 root root 3662 Sep 11 2006 ifup-sit
-rwxr-xr-x 1 root root 1648 Sep 11 2006 ifup-sl
-rwxr-xr-x 1 root root 2078 Sep 11 2006 ifup-tunnel
-rwxr-xr-x 1 root root 3325 Oct 1 2005 ifup-wireless
-rwxr-xr-x 1 root root 5433 Sep 11 2006 init.ipv6-global
-rwxr-xr-x 1 root root 1154 Feb 7 2006 net.hotplug
-rw-r--r-- 1 root root 10509 Nov 7 2006 network-functions
-rw-r--r-- 1 root root 39806 Nov 22 2006 network-functions-ipv6
[root@localhost ~]#
 
Old 08-07-2011, 02:52 AM   #4
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Alright from the output of lspci | grep net it is clear that network card is not detected by the system. You mentioned the Kernel version to be 2.5.18, it should be 2.6.18. Could you please confirm by pasting the output of the following command:

uname -a

I would also like to know from where did you download the driver. Was it the following link: http://www.realtek.com.tw/Downloads/...&GetDown=false

How did you install the driver? Did you use modprobe or depmod? After installing did you insert the module using insmod or adding the entry in /etc/rc.local?
 
Old 08-07-2011, 03:40 AM   #5
vipansharma
LQ Newbie
 
Registered: Oct 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by vipansharma View Post
Please find the log of the commands asked by you .
[root@localhost ~]# lspci | grep net
[root@localhost ~]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1252 errors:0 dropped:0 overruns:0 frame:0
TX packets:1252 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1977273 (1.8 MiB) TX bytes:1977273 (1.8 MiB)

xenbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[root@localhost ~]# ll /etc/sysconfig/network-scripts/
total 372
-rw-r--r-- 1 root root 254 Jun 21 2001 ifcfg-lo
lrwxrwxrwx 1 root root 20 Aug 6 16:32 ifdown -> ../../../sbin/ifdown
-rwxr-xr-x 1 root root 625 Sep 11 2006 ifdown-bnep
-rwxr-xr-x 1 root root 4421 Jan 5 2007 ifdown-eth
-rwxr-xr-x 1 root root 827 Apr 16 2005 ifdown-ippp
-rwxr-xr-x 1 root root 2159 Sep 11 2006 ifdown-ipsec
-rwxr-xr-x 1 root root 4473 Sep 11 2006 ifdown-ipv6
lrwxrwxrwx 1 root root 11 Aug 6 16:32 ifdown-isdn -> ifdown-ippp
-rwxr-xr-x 1 root root 1481 Sep 11 2006 ifdown-post
-rwxr-xr-x 1 root root 1084 Sep 11 2006 ifdown-ppp
-rwxr-xr-x 1 root root 637 Jul 11 2006 ifdown-routes
-rwxr-xr-x 1 root root 1593 Sep 11 2006 ifdown-sit
-rwxr-xr-x 1 root root 904 Sep 11 2006 ifdown-sl
-rwxr-xr-x 1 root root 1074 Sep 11 2006 ifdown-tunnel
lrwxrwxrwx 1 root root 18 Aug 6 16:32 ifup -> ../../../sbin/ifup
-rwxr-xr-x 1 root root 13427 Sep 11 2006 ifup-aliases
-rwxr-xr-x 1 root root 859 Sep 11 2006 ifup-bnep
-rwxr-xr-x 1 root root 9892 Jan 16 2007 ifup-eth
-rwxr-xr-x 1 root root 11970 Sep 11 2006 ifup-ippp
-rwxr-xr-x 1 root root 6820 Sep 11 2006 ifup-ipsec
-rwxr-xr-x 1 root root 10853 Sep 11 2006 ifup-ipv6
-rwxr-xr-x 1 root root 823 Sep 11 2006 ifup-ipx
lrwxrwxrwx 1 root root 9 Aug 6 16:32 ifup-isdn -> ifup-ippp
-rwxr-xr-x 1 root root 727 Sep 11 2006 ifup-plip
-rwxr-xr-x 1 root root 954 Sep 11 2006 ifup-plusb
-rwxr-xr-x 1 root root 2369 Sep 11 2006 ifup-post
-rwxr-xr-x 1 root root 4253 Sep 11 2006 ifup-ppp
-rwxr-xr-x 1 root root 1707 Jul 24 2006 ifup-routes
-rwxr-xr-x 1 root root 3662 Sep 11 2006 ifup-sit
-rwxr-xr-x 1 root root 1648 Sep 11 2006 ifup-sl
-rwxr-xr-x 1 root root 2078 Sep 11 2006 ifup-tunnel
-rwxr-xr-x 1 root root 3325 Oct 1 2005 ifup-wireless
-rwxr-xr-x 1 root root 5433 Sep 11 2006 init.ipv6-global
-rwxr-xr-x 1 root root 1154 Feb 7 2006 net.hotplug
-rw-r--r-- 1 root root 10509 Nov 7 2006 network-functions
-rw-r--r-- 1 root root 39806 Nov 22 2006 network-functions-ipv6
[root@localhost ~]#
there was a typo in my first kernel its 2.6.18
 
Old 08-07-2011, 03:44 AM   #6
vipansharma
LQ Newbie
 
Registered: Oct 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by vipansharma View Post
there was a typo in my first kernel its 2.6.18
uname -a output

Linux localhost.localdomain 2.6.18-8.el5xen #1 SMP Fri Jan 26 14:42:21 EST 2007 i686 i686 i386 GNU/Linux

I downloaded the kernel from the link pasted by you .
Installing the drivers using the autorun.sh script given in the same tar file after reading readme file from the same tar file .

after installing i expect this to detect .. never used modprobe command or insmod command ... for me this is first time problem ...so expeting to learn new features of linux .

Thanks and Regards
Vipan SHARMA

Last edited by vipansharma; 08-07-2011 at 03:47 AM.
 
Old 08-07-2011, 12:11 PM   #7
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Ok so you have downloaded the driver from the same link which I mentioned and the kernel version is 2.6.18.8el5xen

Could you please let us know if you can see any file which says r8101 under the following location: /lib/modules/2.6.18.8el5xen/kernel/drivers/net

What is the output of the following command:

lsmod | grep r8101

Just out of curiosity, why you are using XEN kernel? Are you planning to configure virtual machines on this system?
 
Old 08-08-2011, 06:15 AM   #8
vipansharma
LQ Newbie
 
Registered: Oct 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Unhappy

Quote:
Originally Posted by T3RM1NVT0R View Post
Ok so you have downloaded the driver from the same link which I mentioned and the kernel version is 2.6.18.8el5xen

Could you please let us know if you can see any file which says r8101 under the following location: /lib/modules/2.6.18.8el5xen/kernel/drivers/net

What is the output of the following command:

lsmod | grep r8101

Just out of curiosity, why you are using XEN kernel? Are you planning to configure virtual machines on this system?
Hello
There in no planning like to configure virtual machine . I am not aware of the usage of XEN part of the kernel so never bothered.
Specifically I am from electronics (VLSI) background but at same time I have the Job of installing linux + EDA softwares ...so you can think my level of expertise in linux .

Here I am pasting the log of the command asked by you ....

--******************************************************************************************
[root@localhost ~]# cd driver1/
[root@localhost driver1]# ls
r8101-1.020.00 r8101-1.020.00.tar
[root@localhost driver1]# cd r8101-1.020.00
[root@localhost r8101-1.020.00]# ls
autorun.sh log.txt Makefile readme src
[root@localhost r8101-1.020.00]# ./autorun.sh

Check old driver and unload it.
Build the module and install
make: *** /lib/modules/2.6.18-8.el5xen/build: No such file or directory. Stop.
make[1]: *** [modules] Error 2
make: *** [modules] Error 2


--***********************************************************************
[root@localhost ~]# cd /lib/modules/2.6.18-8.el5xen/kernel/drivers/net
[root@localhost net]# ls
3c59x.ko dummy.ko netconsole.ko r8169.ko tg3.ko
8139cp.ko e1000 ns83820.ko s2io.ko tlan.ko
8139too.ko e100.ko pcmcia sis190.ko tokenring
8390.ko epic100.ko pcnet32.ko sis900.ko tulip
acenic.ko fealnx.ko phy skge.ko tun.ko
amd8111e.ko forcedeth.ko ppp_async.ko sky2.ko typhoon.ko
b44.ko ifb.ko ppp_deflate.ko slhc.ko via-rhine.ko
bnx2.ko ixgb ppp_generic.ko slip.ko via-velocity.ko
bonding mii.ko ppp_mppe.ko starfire.ko wireless
cassini.ko myri10ge pppoe.ko sungem.ko
chelsio natsemi.ko pppox.ko sungem_phy.ko
dl2k.ko ne2k-pci.ko ppp_synctty.ko sunhme.ko
[root@localhost net]# cd
[root@localhost ~]# lsmod | grep 8101
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#

Last edited by vipansharma; 08-08-2011 at 06:17 AM.
 
Old 08-08-2011, 08:12 AM   #9
vipansharma
LQ Newbie
 
Registered: Oct 2010
Posts: 11

Original Poster
Rep: Reputation: 0
[QUOTE=vipansharma;4436689]Hello
There in no planning like to configure virtual machine . I am not aware of the usage of XEN part of the kernel so never bothered.
Specifically I am from electronics (VLSI) background but at same time I have the Job of installing linux + EDA softwares ...so you can think my level of expertise in linux .

Here I am pasting the log of the command asked by you ....

--******************************************************************************************
[root@localhost ~]# cd driver1/
[root@localhost driver1]# ls
r8101-1.020.00 r8101-1.020.00.tar
[root@localhost driver1]# cd r8101-1.020.00
[root@localhost r8101-1.020.00]# ls
autorun.sh log.txt Makefile readme src
[root@localhost r8101-1.020.00]# ./autorun.sh

Check old driver and unload it.
Build the module and install
make: *** /lib/modules/2.6.18-8.el5xen/build: No such file or directory. Stop.
make[1]: *** [modules] Error 2
make: *** [modules] Error 2


--***********************************************************************
[root@localhost ~]# cd /lib/modules/2.6.18-8.el5xen/kernel/drivers/net
[root@localhost net]# ls
3c59x.ko dummy.ko netconsole.ko r8169.ko tg3.ko
8139cp.ko e1000 ns83820.ko s2io.ko tlan.ko
8139too.ko e100.ko pcmcia sis190.ko tokenring
8390.ko epic100.ko pcnet32.ko sis900.ko tulip
acenic.ko fealnx.ko phy skge.ko tun.ko
amd8111e.ko forcedeth.ko ppp_async.ko sky2.ko typhoon.ko
b44.ko ifb.ko ppp_deflate.ko slhc.ko via-rhine.ko
bnx2.ko ixgb ppp_generic.ko slip.ko via-velocity.ko
bonding mii.ko ppp_mppe.ko starfire.ko wireless
cassini.ko myri10ge pppoe.ko sungem.ko
chelsio natsemi.ko pppox.ko sungem_phy.ko
dl2k.ko ne2k-pci.ko ppp_synctty.ko sunhme.ko
[root@localhost net]# cd
[root@localhost ~]# lsmod | grep 8101
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#

Last edited by vipansharma; 08-08-2011 at 08:15 AM.
 
Old 08-10-2011, 10:53 PM   #10
vipansharma
LQ Newbie
 
Registered: Oct 2010
Posts: 11

Original Poster
Rep: Reputation: 0
[QUOTE=vipansharma;4436750]
Quote:
Originally Posted by vipansharma View Post
Hello
There in no planning like to configure virtual machine . I am not aware of the usage of XEN part of the kernel so never bothered.
Specifically I am from electronics (VLSI) background but at same time I have the Job of installing linux + EDA softwares ...so you can think my level of expertise in linux .

Here I am pasting the log of the command asked by you ....

--******************************************************************************************
[root@localhost ~]# cd driver1/
[root@localhost driver1]# ls
r8101-1.020.00 r8101-1.020.00.tar
[root@localhost driver1]# cd r8101-1.020.00
[root@localhost r8101-1.020.00]# ls
autorun.sh log.txt Makefile readme src
[root@localhost r8101-1.020.00]# ./autorun.sh

Check old driver and unload it.
Build the module and install
make: *** /lib/modules/2.6.18-8.el5xen/build: No such file or directory. Stop.
make[1]: *** [modules] Error 2
make: *** [modules] Error 2


--***********************************************************************
[root@localhost ~]# cd /lib/modules/2.6.18-8.el5xen/kernel/drivers/net
[root@localhost net]# ls
3c59x.ko dummy.ko netconsole.ko r8169.ko tg3.ko
8139cp.ko e1000 ns83820.ko s2io.ko tlan.ko
8139too.ko e100.ko pcmcia sis190.ko tokenring
8390.ko epic100.ko pcnet32.ko sis900.ko tulip
acenic.ko fealnx.ko phy skge.ko tun.ko
amd8111e.ko forcedeth.ko ppp_async.ko sky2.ko typhoon.ko
b44.ko ifb.ko ppp_deflate.ko slhc.ko via-rhine.ko
bnx2.ko ixgb ppp_generic.ko slip.ko via-velocity.ko
bonding mii.ko ppp_mppe.ko starfire.ko wireless
cassini.ko myri10ge pppoe.ko sungem.ko
chelsio natsemi.ko pppox.ko sungem_phy.ko
dl2k.ko ne2k-pci.ko ppp_synctty.ko sunhme.ko
[root@localhost net]# cd
[root@localhost ~]# lsmod | grep 8101
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#

Hello All
Is there Anyone who can solve my above said problem of network card detection ....
 
  


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
Mandriva 2008 network card detection. Andre Zganiacz Linux - Newbie 2 03-30-2011 02:34 PM
network card detection problem arunvk Linux - Networking 3 04-30-2007 10:26 AM
detection of network card mukeshgera Linux - Hardware 1 03-28-2007 04:48 AM
mandrake mnf network card detection mattmc97 Mandriva 0 04-04-2005 05:42 PM
Network card detection problem rui Linux - Networking 0 11-27-2003 09:35 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 09:21 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