LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-03-2009, 01:13 PM   #1
sycarion
LQ Newbie
 
Registered: Sep 2009
Location: omaha
Distribution: Slackware, Absolute
Posts: 9

Rep: Reputation: 0
Slackware 12.2 Default Install eth0 not found


I've read several other threads, but none I've found so far addressed how eth0 was discovered.

I am on slackware12.2, full default install. kernel 2.6.27.7-smp

No connectivity when I boot up, so I went to trusty ifconfig -a

Code:
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: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)
No eth0. Okay, let's look at lspci -v. I see my card. First the ethernet card by itself:

Code:
00:19.0 Ethernet controller: Intel Corporation 82567LM-3 Gigabit Network Connection (rev 02)
	Subsystem: Hewlett-Packard Company Unknown device 3035
	Flags: bus master, fast devsel, latency 0, IRQ 5
	Memory at f0400000 (32-bit, non-prefetchable) [size=128K]
	Memory at f0425000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at 2100 [size=32]
	Capabilities: [c8] Power Management version 2
	Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
	Capabilities: [e0] PCIe advanced features <?>
Here's the entire output for completeness:

Code:
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
	Subsystem: Hewlett-Packard Company Unknown device 3035
	Flags: bus master, fast devsel, latency 0
	Capabilities: [e0] Vendor Specific Information <?>
	Kernel modules: intel-agp

00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 00001000-00001fff
	Memory behind bridge: f0500000-f05fffff
	Prefetchable memory behind bridge: 00000000e0000000-00000000efffffff
	Capabilities: [88] Subsystem: Hewlett-Packard Company Unknown device 3035
	Capabilities: [80] Power Management version 3
	Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
	Capabilities: [a0] Express Root Port (Slot+), MSI 00
	Capabilities: [100] Virtual Channel <?>
	Capabilities: [140] Root Complex Link <?>
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp

00:03.0 Communication controller: Intel Corporation 4 Series Chipset HECI Controller (rev 03)
	Subsystem: Hewlett-Packard Company Unknown device 3035
	Flags: bus master, fast devsel, latency 0, IRQ 5
	Memory at f0427100 (64-bit, non-prefetchable) [size=16]
	Capabilities: [50] Power Management version 3
	Capabilities: [8c] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-

00:03.2 IDE interface: Intel Corporation 4 Series Chipset PT IDER Controller (rev 03) (prog-if 85 [Master SecO PriO])
	Subsystem: Hewlett-Packard Company Unknown device 3035
	Flags: 66MHz, fast devsel, IRQ 18
	I/O ports at 2230 [size=8]
	I/O ports at 2258 [size=4]
	I/O ports at 2238 [size=8]
	I/O ports at 225c [size=4]
	I/O ports at 2220 [size=16]
	Capabilities: [c8] Power Management version 3
	Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-

00:03.3 Serial controller: Intel Corporation 4 Series Chipset Serial KT Controller (rev 03) (prog-if 02 [16550])
	Subsystem: Hewlett-Packard Company Unknown device 3035
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17
	I/O ports at 2240 [size=8]
	Memory at f0424000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [c8] Power Management version 3
	Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
	Kernel driver in use: serial

00:19.0 Ethernet controller: Intel Corporation 82567LM-3 Gigabit Network Connection (rev 02)
	Subsystem: Hewlett-Packard Company Unknown device 3035
	Flags: bus master, fast devsel, latency 0, IRQ 5
	Memory at f0400000 (32-bit, non-prefetchable) [size=128K]
	Memory at f0425000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at 2100 [size=32]
	Capabilities: [c8] Power Management version 2
	Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
	Capabilities: [e0] PCIe advanced features <?>

00:1a.0 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Hewlett-Packard Company Unknown device 3035
	Flags: bus master, medium devsel, latency 0, IRQ 20
	I/O ports at 2120 [size=32]
	Capabilities: [50] PCIe advanced features <?>
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1a.1 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #5 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Hewlett-Packard Company Unknown device 3035
	Flags: bus master, medium devsel, latency 0, IRQ 21
	I/O ports at 2140 [size=32]
	Capabilities: [50] PCIe advanced features <?>
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1a.2 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #6 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Hewlett-Packard Company Unknown device 3035
	Flags: bus master, medium devsel, latency 0, IRQ 22
	I/O ports at 2160 [size=32]
	Capabilities: [50] PCIe advanced features <?>
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1a.7 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB2 EHCI Controller #2 (rev 02) (prog-if 20 [EHCI])
	Subsystem: Hewlett-Packard Company Unknown device 3035
	Flags: bus master, medium devsel, latency 0, IRQ 22
	Memory at f0426800 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
	Capabilities: [58] Debug port: BAR=1 offset=00a0
	Capabilities: [98] PCIe advanced features <?>
	Kernel driver in use: ehci_hcd
	Kernel modules: ehci-hcd

00:1b.0 Audio device: Intel Corporation 82801JD/DO (ICH10 Family) HD Audio Controller (rev 02)
	Subsystem: Hewlett-Packard Company Unknown device 3035
	Flags: bus master, fast devsel, latency 0, IRQ 21
	Memory at f0420000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 2
	Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [100] Virtual Channel <?>
	Capabilities: [130] Root Complex Link <?>
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation 82801JD/DO (ICH10 Family) PCI Express Port 1 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=20, subordinate=20, sec-latency=0
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
	Capabilities: [90] Subsystem: Hewlett-Packard Company Unknown device 3035
	Capabilities: [a0] Power Management version 2
	Capabilities: [100] Virtual Channel <?>
	Capabilities: [180] Root Complex Link <?>
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp

00:1c.4 PCI bridge: Intel Corporation 82801JD/DO (ICH10 Family) PCI Express Port 5 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=30, subordinate=30, sec-latency=0
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
	Capabilities: [90] Subsystem: Hewlett-Packard Company Unknown device 3035
	Capabilities: [a0] Power Management version 2
	Capabilities: [100] Virtual Channel <?>
	Capabilities: [180] Root Complex Link <?>
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp

00:1d.0 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Hewlett-Packard Company Unknown device 3035
	Flags: bus master, medium devsel, latency 0, IRQ 20
	I/O ports at 2180 [size=32]
	Capabilities: [50] PCIe advanced features <?>
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.1 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Hewlett-Packard Company Unknown device 3035
	Flags: bus master, medium devsel, latency 0, IRQ 21
	I/O ports at 21a0 [size=32]
	Capabilities: [50] PCIe advanced features <?>
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.2 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Hewlett-Packard Company Unknown device 3035
	Flags: bus master, medium devsel, latency 0, IRQ 22
	I/O ports at 21c0 [size=32]
	Capabilities: [50] PCIe advanced features <?>
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.7 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB2 EHCI Controller #1 (rev 02) (prog-if 20 [EHCI])
	Subsystem: Hewlett-Packard Company Unknown device 3035
	Flags: bus master, medium devsel, latency 0, IRQ 20
	Memory at f0426c00 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
	Capabilities: [58] Debug port: BAR=1 offset=00a0
	Capabilities: [98] PCIe advanced features <?>
	Kernel driver in use: ehci_hcd
	Kernel modules: ehci-hcd

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a2) (prog-if 01 [Subtractive decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=07, subordinate=07, sec-latency=32
	Memory behind bridge: f0000000-f03fffff
	Prefetchable memory behind bridge: 0000000080000000-00000000800fffff
	Capabilities: [50] Subsystem: Hewlett-Packard Company Unknown device 3035

00:1f.0 ISA bridge: Intel Corporation 82801JDO (ICH10DO) LPC Interface Controller (rev 02)
	Subsystem: Hewlett-Packard Company Unknown device 3035
	Flags: bus master, medium devsel, latency 0
	Capabilities: [e0] Vendor Specific Information <?>

00:1f.2 SATA controller: Intel Corporation 82801JD/DO (ICH10 Family) SATA AHCI Controller (rev 02) (prog-if 01 [AHCI 1.0])
	Subsystem: Hewlett-Packard Company Unknown device 3035
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 18
	I/O ports at 2248 [size=8]
	I/O ports at 2260 [size=4]
	I/O ports at 2250 [size=8]
	I/O ports at 2264 [size=4]
	I/O ports at 21e0 [size=32]
	Memory at f0426000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/3 Enable-
	Capabilities: [70] Power Management version 3
	Capabilities: [a8] SATA HBA <?>
	Capabilities: [b0] PCIe advanced features <?>
	Kernel driver in use: ahci

01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3470 (prog-if 00 [VGA controller])
	Subsystem: ATI Technologies Inc Unknown device 0b42
	Flags: bus master, fast devsel, latency 0, IRQ 5
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Memory at f0500000 (64-bit, non-prefetchable) [size=64K]
	I/O ports at 1100 [size=256]
	[virtual] Expansion ROM at f0520000 [disabled] [size=128K]
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
	Capabilities: [100] Vendor Specific Information <?>

07:0b.0 Communication controller: Digi International AccelePort 2r 920 (rev 01)
	Flags: medium devsel, IRQ 5
	Memory at f0000000 (32-bit, non-prefetchable) [size=4M]
	[virtual] Expansion ROM at 80000000 [disabled] [size=64K]
Sounds good. After digging around, it sounds like this Gigabit NIC uses drive e1000e

Code:
\sbin\modprobe e1000e
Set up the alias:
Code:
alias eth0 e1000e
Reboot, but no connectivity. No eth0 when running ifconfig -a.

I look to /etc/udev/rules.d/70-persistent-net.rules

but there is no such file.

So I run lsmod | grep e1000e
Code:
e1000e                103080  0
Okay, the module was loaded. Great.

dmesg | grep eth
Code:
HP Compaq Laptop series board detected. Selecting BIOS-method for reboots.
Driver 'st' needs updating - please use bus_type methods
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
I can try to update those modules, but they don't seem to pertain to my NIC card issues. Any ideas?
 
Old 09-03-2009, 01:29 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello sycarion,

try:
Quote:
/etc/rc.d/rc.inet1 eth0_up
as root.
If this doesn't work, please post the eth0-part of your /etc/rc.d/rc.inet1.conf.

Markus
 
Old 09-03-2009, 01:43 PM   #3
sycarion
LQ Newbie
 
Registered: Sep 2009
Location: omaha
Distribution: Slackware, Absolute
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by markush View Post
Hello sycarion,

try: as root.
If this doesn't work, please post the eth0-part of your /etc/rc.d/rc.inet1.conf.

Markus
Thank you for the quick response. Many thanks.

Did not work. here is the eth0 part of rc.inet.conf

note: I cannot assign this computer a static IP address

Code:
# config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME=[0]""
thanks again.
 
Old 09-03-2009, 02:58 PM   #4
sycarion
LQ Newbie
 
Registered: Sep 2009
Location: omaha
Distribution: Slackware, Absolute
Posts: 9

Original Poster
Rep: Reputation: 0
One other note

Forgot to add one more piece of critical information. Sorry about that.

Added /etc/rc.d/rc.netdevice

Code:
/sbin/modprobe e1000e
the module is being loaded when I boot.

Thanks again for any and all help.
 
Old 09-03-2009, 03:06 PM   #5
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
What does /sbin/ifconfig say after executing the "rc.inet1 eth0_up"?

Markus
 
Old 09-03-2009, 03:11 PM   #6
sycarion
LQ Newbie
 
Registered: Sep 2009
Location: omaha
Distribution: Slackware, Absolute
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by markush View Post
What does /sbin/ifconfig say after executing the "rc.inet1 eth0_up"?

Markus
It remains unchanged. It still says:

Code:
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: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)
 
Old 09-03-2009, 04:49 PM   #7
sycarion
LQ Newbie
 
Registered: Sep 2009
Location: omaha
Distribution: Slackware, Absolute
Posts: 9

Original Poster
Rep: Reputation: 0
Solved

I downloaded the latest driver from Intel.
Build it as kernel module.
modprobe e1000e

Then I could see eth0 when I ran ifconfig.

Hooray.

Feeling tired, I went the lazy way out and enable the eth0 interface inside KDE.

Thanks Markus for all your help. I guess the answer is that the kernel module is too old for my hardware.
 
Old 10-08-2009, 08:21 AM   #8
tvxlc
LQ Newbie
 
Registered: Nov 2007
Location: Riga, Latvia
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
Hey, guys.

I have a similar question. I have Slackware 12.0 installed (kernel: 2.6.21.5-smp). I can't access network due to my network card not being recognized. After booting the PC and logging in as root I run dmesg and see this:
Code:
eth0: 0000:01:08.0, 00:0C:F1:DA:3B:CC, IRQ 21.
  Board assembly 000000-000, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (0x04f4518b).
Also tried to find whether the drivers are loaded. Here is the lsmod output (edited):
Code:
Module                  Size  Used by
ipv6                  254496  10 
iptable_nat            10116  0 
nf_nat                 19116  1 iptable_nat
nf_conntrack_ipv4      17676  4 iptable_nat
nf_conntrack           52616  4 xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
nfnetlink               8856  3 nf_nat,nf_conntrack_ipv4,nf_conntrack
iptable_filter          6400  1 
ip_tables              14276  2 iptable_nat,iptable_filter
x_tables               15748  4 xt_state,xt_tcpudp,iptable_nat,ip_tables
eepro100               30608  0 
ata_generic             9220  0 
i2c_i801               11408  0
The lspci command shows such ethernet controller:
Code:
01:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (LOM) Ethernet Controller (rev 81)
If I run:
  • ifconfig I only see loopback adapter;
  • ethtool eth0 I get a No Such Device errors;
  • netconfig - nothing happens (there was and is - loopback adapter only);
  • ifconfig eth0 up - error while getting flags;
  • /etc/rc.d/rc.inet1 eth0_up - nothing happens or changes.
Any help would be appreciated. Thank you in advance.

Last edited by tvxlc; 10-08-2009 at 10:31 AM.
 
Old 10-09-2009, 03:55 AM   #9
tvxlc
LQ Newbie
 
Registered: Nov 2007
Location: Riga, Latvia
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
Problem solved.

Recompiled the kernel (to 2.6.21.5) with new modules to find out that i had this interface configured before. It was just marked as eth2. Forgot to use ifconfig -a which listed it. Then I changed the name in /etc/udev/rules.d and now everything works.

Anyways, thank you.
 
  


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
eth0 can't be found in slackware erdemeser Linux - Networking 3 04-09-2006 10:21 AM
eth0 and eth0:1. Default gateway is not working Fillys6 Linux - Networking 1 12-21-2005 09:33 AM
Slackware 8.1 - Default [Full] Install, Mouse Issues narusegawa Slackware 10 03-17-2003 07:54 AM
how do i install new drivers i found on slackware 8.0 Wicky Linux - Newbie 2 10-15-2002 10:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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