LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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-28-2003, 09:21 PM   #1
Bronzzy
LQ Newbie
 
Registered: Oct 2003
Location: Canada
Distribution: Red Hat
Posts: 24

Rep: Reputation: 15
why do I get an error message saying my ethernet card is not present?


Well I'm using a Sis900 Fast Ethernet Card and I've just recently installed red hat linux 9. When ever I try to activate my ethernet adapter I get this error message. eth0 is not present delaying etc. Do you know what I should do?
 
Old 10-28-2003, 11:24 PM   #2
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
might be a stupid question, but what are you doing to "activate" it?
 
Old 10-29-2003, 09:29 PM   #3
Bronzzy
LQ Newbie
 
Registered: Oct 2003
Location: Canada
Distribution: Red Hat
Posts: 24

Original Poster
Rep: Reputation: 15
your question

the ethernet controller activates on startup and I activate it by pressing the activate button in the network configuration panel.
 
Old 10-29-2003, 11:44 PM   #4
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
type in "/sbin/ifconfig" in a terminal - do you see your eth interface there?
also, see lspci for the sis900, or dmesg to see if there was some problems at boot time?
 
Old 10-31-2003, 12:05 PM   #5
Bronzzy
LQ Newbie
 
Registered: Oct 2003
Location: Canada
Distribution: Red Hat
Posts: 24

Original Poster
Rep: Reputation: 15
What exactly am I looking for? I tried /sbin/ifconfig and a whole bunch of stuff came up. no error messages. I don't know how to acces the other stuff you were talking about. I'm farily new to linux.
 
Old 10-31-2003, 12:21 PM   #6
musrum
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Try:

ifconfig -a

Did you see a line starting with 'eth0'?

If you did, does the next line start 'inet addr:', and the next line have the work 'UP' in it?

If yes and yes, you are looking good.

If you saw the line 'eth0' but no 'inet addr' or 'UP' the nic is running, but the OS is not configuring it with an address.

If you didn't see the 'eth0' line, then the kernel doesn't know about your nic.

In this case try:

lspci

You should see a line containing sis900. If you don't, try:

modprobe sis900

Then do the lspci and ifconfig again and let us know.
 
Old 10-31-2003, 12:46 PM   #7
Bronzzy
LQ Newbie
 
Registered: Oct 2003
Location: Canada
Distribution: Red Hat
Posts: 24

Original Poster
Rep: Reputation: 15
so the first line did not have the ethernet adapter in it. But the inet address was there. how do I access ispci and the other tools you mentioned?
 
Old 10-31-2003, 12:55 PM   #8
musrum
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
If the inet address is there, the nic is configured. Did the next line after the inet address contain the word UP? It's in a line with a bunch of other capitalized words.

lspci is a command line tool like ifconfig. Just type lspci. It will show you every device on the PCI bus.

As for modprobe, it is also a command line tool. Linux device drivers (and other stuff) can be built into the linux kernel, or built as separate 'modules' that are loaded into the kernel later, after the kernel boots up. modprobe is one of the tools which allows the user 'root' to manage the modules loaded into to kernel. Running 'modprobe sis900' loads the module for sis900 nics into the kernel so that the networking layer can talk to the nic.

Another too, lsmod, shows you what modules are currently loaded. Try it! There is also 'rmmod' which unloads modules - DON'T use this unless you know what you are doing, or want to experiment. modinfo will tell you stuff about a module.
 
Old 10-31-2003, 01:33 PM   #9
Bronzzy
LQ Newbie
 
Registered: Oct 2003
Location: Canada
Distribution: Red Hat
Posts: 24

Original Poster
Rep: Reputation: 15
the word up is there. when I try to use the Ispci command line it says it does not exist what is the exact command line for me to use for those tools? is it /sbin/Ispci? my ethernet card is not on the pci bus. it is integrated. modprobe says nothing to load. ismod say no such file/directory.

Last edited by Bronzzy; 10-31-2003 at 01:38 PM.
 
Old 10-31-2003, 01:46 PM   #10
musrum
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Are you typing things correctly?

It's lspci, thats lowercase L. Even though your nic is built into the motherboard, it's on the PCI bus.

modprobe only does something if you tell it what to do, as in 'modprobe sys900'.

It's lsmod, thats lowercase L.
 
Old 10-31-2003, 02:39 PM   #11
Bronzzy
LQ Newbie
 
Registered: Oct 2003
Location: Canada
Distribution: Red Hat
Posts: 24

Original Poster
Rep: Reputation: 15
The first line which came up when I typed in /sbin/modprobe sis900 was /lib/modules/2.4.20-8/kernel/drivers/net/sis900.o insmod sis900 failed. When I did lspci the ethernet adapter was in the list which came up.
 
Old 10-31-2003, 04:31 PM   #12
ozstar
Member
 
Registered: Oct 2003
Location: Sydney OZ
Distribution: MEPIS 8.5
Posts: 47

Rep: Reputation: 15
Hi, I too am having similar probs...

with ifconfig I have..

Line 1. Link encap: Ethernet HWaddr 00:60 etc
Line 2. UP BROADCAST etc
Line 3. RX Pack 1161 errors - rest are 0's
Line 4. TX packs all 0's
Line 5. Collisions 0's - TX eque 0's
Line 6. RX bytes 143421 TX 0
Line 7. Int 10 base o

I also get a loopback congig which does give the inet address on the second line .. 127.0.01 Masl. 255.0.0.0. also UP LPPOP RUNNING

Thanks
 
Old 10-31-2003, 04:44 PM   #13
ozstar
Member
 
Registered: Oct 2003
Location: Sydney OZ
Distribution: MEPIS 8.5
Posts: 47

Rep: Reputation: 15
As an addendum to above..

With lspci I get the card..

00:0d.0 Ethernet Controller: Realtek Semi Conductor Co .RTL-8139/ etc...

lsmod I get..

8139too -- I noticed this # is in the Realtek line.

I am lost here as I still cannot get to the network. I am missing something somewhere but have no clue where to go now.
 
Old 10-31-2003, 04:48 PM   #14
ozstar
Member
 
Registered: Oct 2003
Location: Sydney OZ
Distribution: MEPIS 8.5
Posts: 47

Rep: Reputation: 15
This is my latest effort - but its still not getting thge network.

with ifconfig I have..

Line 1. Link encap: Ethernet HWaddr 00:60 etc
Line 2. UP BROADCAST etc
Line 3. RX Pack 1161 errors - rest are 0's
Line 4. TX packs all 0's
Line 5. Collisions 0's - TX eque 0's
Line 6. RX bytes 143421 TX 0
Line 7. Int 10 base o

I also get a loopback congig which does give the inet address on the second line .. 127.0.01 Masl. 255.0.0.0. also UP LPPOP RUNNING


With lspci I get the card..

00:0d.0 Ethernet Controller: Realtek Semi Conductor Co .RTL-8139/ etc...

lsmod I get..

8139too -- I noticed this # is in the Realtek line.

I am lost here as I still cannot get to the network. I am missing something somewhere but have no clue where to go now.
 
Old 11-01-2003, 10:30 AM   #15
Bronzzy
LQ Newbie
 
Registered: Oct 2003
Location: Canada
Distribution: Red Hat
Posts: 24

Original Poster
Rep: Reputation: 15
well no worries I got the ethernet working. I installed all rpm packages on the cd and something must've been installed because my eth0 adapter is working now. Thanks for all your help.
 
  


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
cdrecord: no media present - tray closed message DPenguin Linux - Software 5 03-31-2005 12:39 AM
ethernet card does not seem to be present yildiz Linux - Networking 3 07-09-2004 04:40 PM
Ethernet card on laptop: I installed my D-Link ethernet card into Redhat 9, not detec brighamr Linux - Hardware 0 05-18-2004 12:33 AM
Slackware 9.1 / 2.4.22, Cisco Aironet 350 PCMCIA card error message!? Don_Quixote Linux - Networking 1 04-13-2004 05:23 PM
Ethernet card error matteo Linux - Networking 1 07-24-2001 12:43 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration