Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-27-2008, 04:06 PM   #1
LQ Newbie
Registered: Jun 2008
Posts: 3

Rep: Reputation: 0
linux not detecting ethernet card

Hi all my son downloaded linux red hat onto my computer and wiped out windows xp. Linux will not detect my ethernet card can you tell me how to detect the ethernet connection Thanks pam
Old 06-27-2008, 04:21 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
We need more information. Start a command shell and enter these commands:

lspci -v > lspci.txt

which will list your pci devices in a file called lspci.txt

ifconfig -a > ifconfig.txt

which will list your network interfaces in a file called ifconfig.txt

Please post the contents of lspci.txt and ifconfig.txt here on LinuxQuestions.

Steve Stites

P.S. You can also blindly try the command:
ifup eth0

That is the most likely command to start your network interface.

Last edited by jailbait; 06-27-2008 at 04:26 PM.
Old 06-27-2008, 04:32 PM   #3
LQ Newbie
Registered: Jun 2008
Posts: 3

Original Poster
Rep: Reputation: 0
how do i get to command shell?

I do not know how to get to command shell. we have Linux red hat 8 thanks pam
Old 06-27-2008, 04:50 PM   #4
Senior Member
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
I would like to know what version of Red Hat is that.If you are new to Linux open a program called console or terminal then type su - and enter your root (admin's) password and hit enter,then cd /etc and then cat /etc/modules.conf or if that command doesn't work use this cat /etc/conf.modules and post the output here.Also post the output of /sbin/lsmod command here.Maybe you just have to enter correct data for your interface.Try with netcfg command.Did you tried any GUI application in Red Hat for network configuration?Also have a look here;

Last edited by alan_ri; 06-27-2008 at 04:56 PM. Reason: pamcat,I didn't see your second post
Old 06-27-2008, 04:59 PM   #5
LQ Newbie
Registered: Jun 2008
Posts: 3

Original Poster
Rep: Reputation: 0
made it to command shell

made it to command shell with the help of the book

here is what appears after the first command
-v be verbose
-n show numeric id's
-b bus centric view
-x show hex -dump of config spare
-s [[<bus>]:][<slot>][.[<func>]]
-d [<vendor.}:[<device>]
-t show bus tree
-m produce machine readable output
-i <file> use specified id database instead of /usr/share/hwdata/pci.ids
-M enable bus mapping mode
-P <dir> use specified directory instead of /proc/bus/pci
-H <mode> use direct hardware access (<mode. = 1 or 2
-F <file> read configuration data from given file
-G enable PCI access debugging

2nd part config txt shows command not found

thanks for your help pam
Old 06-27-2008, 05:55 PM   #6
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
See the output from this. ' /sbin/lspci -v ' adding ' > lspci.txt ' sends the output to a file called lspci.txt

For the other use ' /sbin/ifconfig -a '. The reason for not working is /sbin is not a users path.

Being Redhat 8 is 6-7 years old. Very old in Linux. I would install Fedora 8. New kernel, more hardware support, new rpm files to work with newly released rpm files.



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
ethernet card is not detecting mrahultiwari Linux - Newbie 13 12-13-2007 12:01 PM
Linux Network Card Not Detecting activeasim Linux - Newbie 2 07-17-2006 10:00 AM
debian not detecting wireless ethernet card macmanus_bros Linux - Hardware 2 06-27-2005 10:51 PM
Problems with detecting ethernet card brokenflea *BSD 2 03-06-2004 03:05 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration