LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-02-2004, 07:54 PM   #1
chorus
LQ Newbie
 
Registered: Aug 2004
Posts: 10

Rep: Reputation: 0
ifconfig won't find eth0


Hello,
I can't get my internet connection up. Can anyone help? Here's what's going on:

kernel: 2.4.26
network card: Realtek 8139 (built onto my motherboard)

dmesg seems to show that the card is being identified, but there's an error
about "no socket drivers loaded"

Code:
8139too Fast Ethernet driver 0.9.26
eth0: RealTek RTL8139 at 0xe0800000, 00:0a:e6:51:f3:06, IRQ 18
eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
...
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
ds: no socket drivers loaded!

ifconfig does not show the eth0 interface, it only shows lo:

Code:
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:200 (200.0 b)  TX bytes:200 (200.0 b)
cat /proc/pci also seems to find the network card:

Code:
  Bus  0, device  14, function  0:
    Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 16).
      IRQ 18.
      Master Capable.  Latency=32.  Min Gnt=32.Max Lat=64.
      I/O at 0xd400 [0xd4ff].
      Non-prefetchable 32 bit memory at 0xdc101000 [0xdc1010ff].
dhcpcd times out.
lsmod doesn't show the 8139too driver, but that's no surprise because I'm not
loading it as a driver - it's compiled into the kernel.

Any ideas are greatly appreciated... I figure if I can get ifconfig to recognize the
card then dhcpcd should work... so I guess that's step one

(Just to rule it out, this card *does* work -- otherwise, I wouldn't be able to make this post )

Thanks
--Jonathan
 
Old 10-02-2004, 08:46 PM   #2
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
ifconfig -a to list inactive too
check your network /dhcp) configuration file (depends on distr.)

do (use ip from your subnet)
ifconfig eth0 192.168.2.2 netmask 255.255.255.0 up
route add default gw 192.168.2.1 <- your gateway here
for debuging.
remember: "man" is your friend...

sl mritch.
 
Old 10-02-2004, 10:38 PM   #3
chorus
LQ Newbie
 
Registered: Aug 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Well, upgrading to kernel 2.6.7 seems to have worked for me... so I guess all is well.
Still would like to know why 2.4.26 wouldn't work...

Oh well

Thanks for the help

--Jonathan
 
Old 10-02-2004, 10:42 PM   #4
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Quote:
Originally posted by chorus
Well, upgrading to kernel 2.6.7 seems to have worked for me... so I guess all is well.
Still would like to know why 2.4.26 wouldn't work...

Oh well

Thanks for the help

--Jonathan
I've noticed in the kernel config that there's an option to include support for "revision c type cards", just below the 8139too support. perhaps that wasn't checked off? The smallest things bring the biggest grief. I think that by checking that off, I couldn't load the module for my last 8139 card. Just a thought. I like closure too.
 
  


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
ifconfig eth0 drdarkman Linux - Networking 2 01-30-2005 12:16 PM
ifconfig eth0 drdarkman Linux - Networking 1 01-24-2005 11:40 PM
ifconfig eth0 up Thorkyl Linux - Networking 6 06-29-2004 03:43 AM
eth0 removed from ifconfig after dhcpcd eth0 johnklvr Linux - Networking 3 01-15-2004 09:21 PM
ifconfig eth0 | eepro100_wait_for_cmd kamtono Linux - Networking 0 12-19-2003 11:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration