LinuxQuestions.org
Visit Jeremy's Blog.
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 07-04-2009, 05:33 PM   #1
newbie to linux
LQ Newbie
 
Registered: Feb 2009
Location: Kitchener, ON Canada
Distribution: Ubuntu 11.10 with KDE 4.7.4, Debian Squeeze on a server
Posts: 28

Rep: Reputation: 0
Unhappy Fedora 11 KDE won't use intel 82540em gigabit ethernet adapter


Hi I just (about a week or so ago) installed Fedora 11 on my Dell Optiplex GX260 over win2kpro, and the ethernet adapter doesn't work (it didn't work in win2kpro either) I am using winXP on a different computer as the dell has no network the network card is an Intel 82540EM Gigabit Ethernet adapter.

I have tried reinstalling the ethernet driver and that only produces errors

here is output from ifconfig -a:

eth0 Link encap:Ethernet HWaddr 00:08:74:EC:F3:9C
BROADCAST MULTICAST 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

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:143 errors:0 dropped:0 overruns:0 frame:0
TX packets:143 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12652 (12.3 KiB) TX bytes:12652 (12.3 KiB)

pan0 Link encap:Ethernet HWaddr B2:29:24:36:E6:C1
BROADCAST MULTICAST 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)

here is the contents of the file /etc/sysconfig/network-scripts/ifcfg-eth0:

# Networking Interface
rking Interface
DEVICE=
DEVICE=eth0
HWADDR=00:08:74:ec:f3:9c
ONBOOT=yes
BOOTPROTO=dhcp
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
PEERROUTES=yes
DHCP_CLIENT_ID=192.168.0.1
NM_CONTROLLED=no
MTU=1500
DNS1=192.168.0.1
PEERDNS=yes
 
Old 07-05-2009, 03:26 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
have you flashed the bios?

eth0 Link encap:Ethernet HWaddr 00:08:74:EC:F3:9C
... is this not your ethernet card? pan0 is probably bluetooth.

So - tell me what you mean by "doesn't work". How did you try to use it?
Have you tried configuring it?
http://www.linuxforums.org/forum/red...rnet-card.html

Show me lspci output for this card.

how about:

dmesg | grep eth0

Googling dell optiplex gx260 linux tells me everyone else has this card working without comment.
I'd check the bion to see if the card is not disabled.

A discussion involving troubleshooting ethernet
http://forums.fedoraforum.org/showth...=207828&page=2
 
Old 07-05-2009, 08:24 PM   #3
newbie to linux
LQ Newbie
 
Registered: Feb 2009
Location: Kitchener, ON Canada
Distribution: Ubuntu 11.10 with KDE 4.7.4, Debian Squeeze on a server
Posts: 28

Original Poster
Rep: Reputation: 0
Simon,

No I have not flashed the BIOS I have revision A03.

yes eth0 is the ethernet card I am trying to get to work

By "doesn't work" i mean NetworkManager reports that there is no connection and when i try to get to google in firefox it reports "Server not found"
also i tried pinging the router and other computers on the network all with 100% loss but 0% loss when pinging loopback interface

I tried configuring it in both NetworkManager and system-config-network and I tried turning networkmanager on and off

lspci

00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
01:0c.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)


dmesg | grep eth0:
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection

I checked the bios and eth0 is enabled

also I should mention I am new to Linux

Last edited by newbie to linux; 07-06-2009 at 09:31 AM.
 
Old 07-07-2009, 01:54 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Everything looks fine so for - I hate it when that happens.
You card is recognised, the driver is assigned, it is running and nothing went wrong there. The card does not have an IP, which says you are not plugged in, your network does not use dhcp, or your card has not been configured.

Last time I used fedora, I had to configure the nic before it's connections could become available in the network manager. I did it from the network device control dialog ... though it could be done from the internet connection wizard. I remember that if I stuffed up the config first time, I had to completely remove the entry and start again.

From cli it goes something like this:

dhclient -v eth0
ifconfig eth0 up

(your network needs to use dynamic addresses)

To get to the internet you have to add a gateway.
 
Old 07-07-2009, 07:20 PM   #5
newbie to linux
LQ Newbie
 
Registered: Feb 2009
Location: Kitchener, ON Canada
Distribution: Ubuntu 11.10 with KDE 4.7.4, Debian Squeeze on a server
Posts: 28

Original Poster
Rep: Reputation: 0
Simon,

the cable is plugged in, and the network uses DHCP I am using a D-Link DIR-825 and it has an option for NetBIOS but that is disabled

I ran the two commands that you suggested and here is the output of the first one (the second didn't output anything):

dhclient -v eth0:
Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:08:74:ec:f3:9c
Sending on LPF/eth0/00:08:74:ec:f3:9c
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

ifconfig eth0 up:
(no output)

then I ran a ping to my other computer (running XP)
ping 192.168.0.199:
connect: Network is unreachable

I couldn't find the internet connection wizard you mentioned and Network Device Control (system-config-network) reports that eth0 is inactive
I visited the ISC page for ISC DHCP and could not find any info.
 
Old 07-07-2009, 09:23 PM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Did you try to configure the card from Network Device control?
Did you try to enable the device in NDC?
Sometimes you have to remove the entry then add it again.
Also double-check that the card is switched on in bios.

Quote:
I have tried reinstalling the ethernet driver and that only produces errors
what did you do to reinstall? what were the errors?

Here's an example of CLI nic setup.
http://www.cyberciti.biz/faq/setting...inux-for-dhcp/
 
Old 07-08-2009, 10:48 AM   #7
newbie to linux
LQ Newbie
 
Registered: Feb 2009
Location: Kitchener, ON Canada
Distribution: Ubuntu 11.10 with KDE 4.7.4, Debian Squeeze on a server
Posts: 28

Original Poster
Rep: Reputation: 0
Simon,

I tried configuring eth0 from Network Device Control and form Network Manager (I tried turning Network Manager off when configuring from Network Device Control) also I did try enabling it in NDC however that produced the following error:
Determining IP information for eth0... failed.


I tried removing eth0 and creating a new profile using NDC, however when I tried to delete eth0 NDC output this error:
system-config-network:

The "Common" Profile can not be deleted!

So I tried just making a new one and it would not let me select DHCP which is the network uses (the DHCP section was grayed out)

next I tried changing the common profile to static IP (just entered random IP adresses so it would save and close) however it still would not let me create a new DHCP Profile even when i set it as static IP I couldn't change it afterwords (I noticed something interesting, you said pan0 was probably bluetooth, however the system does not have bluetooth and under the hardware tab pan0 is listed as ethernet and the machine has only one ethernet port)

I did check that the card was enabled just before sending the previous reply
and double checked just before sending this reply the NIC has three settings:
on
on w/ PXE (I believe this is used for thin-clienting)
off

it is currently set to on

as for the reinstall I followed the directions here:
http://downloadmirror.intel.com/9180/eng/README.txt
under the section Building and Installation after downloading the correct driver from the Intel site I recieved the folllowing error when I ran the make install command:
make install:
Makefile:71: *** Linux kernel source not found in any of these locations:
Makefile:72:
Makefile:73: *** Install the appropriate kernel development package, e.g.
Makefile:74: *** kernel-devel, for building kernel modules and try again. Stop.

here is the output of network restart after following the instructions on link you gave me:
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
Determining IP information for eth0... failed.
[FAILED]
 
Old 07-11-2009, 11:23 PM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
If you have only one ethernet card, then there should only be one entry in the ifconfig list besides lo.

Personal Area Networking Profile (PAN) allows Bluetooth devices to form an ad-hoc network, access a remote network through a network access point.

Since you have no bluetooth - remove the bluetooth applications that are installed. Though it may be good enough just to stop bluetooth from activating on boot. That will make pan0 go away, but may not bring your ethernet back.

Check your hardware device list to see what is associated with eth0.

Remember the network scripts?
/etc/sysconfig/network-scripts/ifcfg-eth0

See the line which says:

DHCP_CLIENT_ID=192.168.0.1

... edit that line to comment it out:

#DHCP_CLIENT_ID=192.168.0.1

It looks like the reinstall of the driver didn't do anything - that's good.
You do not need to compile the driver for this. In future, if you want to do any of this sort of thing, you need to install the linux kernel headers like the error message says.
 
Old 07-12-2009, 06:58 PM   #9
newbie to linux
LQ Newbie
 
Registered: Feb 2009
Location: Kitchener, ON Canada
Distribution: Ubuntu 11.10 with KDE 4.7.4, Debian Squeeze on a server
Posts: 28

Original Poster
Rep: Reputation: 0
Simon,

Fedora will not let me remove the bluetooth services here is the output:

Loaded plugins: refresh-packagekit
Setting up Remove Process
No Match for argument: bluetooth
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

it did not matter whether or not bluetooth was enabled, and it does not appear as if I have the right name for it, also when bluetooth was disabled pan0 disappeared but sit0 appeared and eth0 still couldn't connect

I also tried commenting out the lie in the config file but that didn't help.

If you could please tell me how to remove the bluetooth that would be great
 
  


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
VT6120 Gigabit Ethernet Adapter not passing multicast traffic bartock Linux - Networking 2 03-17-2008 01:04 PM
slow Intel 82540EM Gigabit card performance kscott121 Linux - Hardware 2 07-07-2006 10:37 AM
Gigabit LAN ethernet adapter not working ParticleHunter Linux From Scratch 1 07-31-2005 10:29 AM
Marvell Yukon Gigabit Ethernet Adapter Problem burrough Linux - Networking 1 10-10-2004 12:31 AM
Intel e1000 gigabit adapter with RH 7.2 dulli1 Linux - Networking 3 02-14-2003 08:45 AM

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

All times are GMT -5. The time now is 08:46 PM.

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