lspci say Ethernet controller exists, ethtool say it doesn't

Questions about cabled networking
Forum rules
Before you post please read how to get help
Post Reply
aschenk
Level 1
Level 1
Posts: 1
Joined: Thu Dec 31, 2015 1:03 pm

lspci say Ethernet controller exists, ethtool say it doesn't

Post by aschenk » Thu Dec 31, 2015 2:08 pm

I had a custom PC built by Microcenter. It has never been connected to the internet. It has the following specs via inxi -Fxz:

Code: Select all

owner@User ~ $ inxi -Fxz
System:    Host: User Kernel: 3.16.0-38-generic x86_64 (64 bit, gcc: 4.8.2) 
           Desktop: MATE 1.10.0  Distro: Linux Mint 17.2 Rafaela
Machine:   Mobo: ASUSTeK model: Z170-AR version: Rev 1.xx Bios: American Megatrends version: 0405 date: 07/07/2015
CPU:       Quad core Intel Core i7-6700K CPU (-HT-MCP-) cache: 8192 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 32064.2 
           Clock Speeds: 1: 800.00 MHz 2: 800.00 MHz 3: 800.00 MHz 4: 800.00 MHz 5: 1000.00 MHz 6: 4001.00 MHz 7: 800.00 MHz 8: 800.00 MHz
Graphics:  Card: NVIDIA Device 17c2 bus-ID: 01:00.0 
           X.Org: 1.15.1 drivers: vesa FAILED: fbdev,nouveau Resolution: 1920x1080@0.0hz 
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits) GLX Version: 2.1 Mesa 10.1.3 Direct Rendering: Yes
Audio:     Card-1: Intel Device a170 driver: snd_hda_intel bus-ID: 00:1f.3 Sound: ALSA ver: k3.16.0-38-generic
           Card-2: NVIDIA Device 0fb0 driver: snd_hda_intel bus-ID: 01:00.1 
Network:   Card: Intel Device 15b8 bus-ID: 00:1f.6
           IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: 31.6GB (98.1% used) 1: id: /dev/sda model: Name n/a size: 31.6GB 
Partition: ID: / size: 454G used: 4.7G (2%) fs: ext4 ID: swap-1 size: 17.10GB used: 0.00GB (0%) fs: swap 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 201 Uptime: 42 min Memory: 499.4/15978.5MB Runlevel: 2 Gcc sys: 4.8.2 
           Client: Shell (bash 4.3.11) inxi: 1.9.17 
I have tried to establish a connection via direct Ethernet cable at two different locations on two different types of modem. It failed, but other computers access the internet readily via cable to these same machines. From this I can conclude it is not the fault of the ISP (xfinity).

I've never used Linux before, so I did some Googling and ran some commands from the Terminal to get some diagnostics:

Code: Select all

owner@User ~ $ ifconfig -a
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:65536  Metric:1
          RX packets:192 errors:0 dropped:0 overruns:0 frame:0
          TX packets:192 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:15280 (15.2 KB)  TX bytes:15280 (15.2 KB)

Code: Select all

owner@User ~ $ lspci | grep Ethernet
00:1f.6 Ethernet controller: Intel Corporation Device 15b8 (rev 31)

Code: Select all

owner@User ~ $ sudo ethtool eth0
Settings for eth0:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device
No data available

Code: Select all

owner@User ~ $ sudo lshw -C network
  *-network UNCLAIMED     
       description: Ethernet controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       version: 31
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list
       configuration: latency=0
       resources: memory:df300000-df31ffff

Code: Select all

owner@User ~ $ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
What does this say about the connection? What can I do to establish one? (Note: I'm not sure if a wireless card was installed or not; I don't intend to use wireless but I don't know what may or may not be relevant).

JeremyB
Level 20
Level 20
Posts: 10934
Joined: Fri Feb 21, 2014 8:17 am

Re: lspci say Ethernet controller exists, ethtool say it doe

Post by JeremyB » Thu Dec 31, 2015 5:02 pm

Go https://downloadcenter.intel.com/download/15817 and download the e1000e file. Transfer the file to the LM computer to the desktop, right click and choose "extract here"
Then in terminal

Code: Select all

cd Desktop/e1000e-3.2.4.2/src/
sudo make install
This is according to the readme file

Then you should be able to

Code: Select all

sudo modprobe e1000e
and have an ethernet device in

Code: Select all

ifconfig

Post Reply

Return to “Ethernet”