eth0 - No Such Device

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
friesian49

eth0 - No Such Device

Post by friesian49 »

All,
I have a friend's Dell computer that had malware on the Windows 7, had a heck of a time removing it and decided to wipe the drive and load Linux Mint 18 Sarah. I've used this install on my laptop with no issues. The install worked great, but I'm unable to connect to my router via ethernet. I've ran a couple of commands from the user forum and searching on Google. I'm not sure if it's a simple method of downloading the Realtek drivers or if there's more going on. We were online with the Windows 7 a day ago with no issues. This is a clean install, not a dual boot.

Ifconfig - a
Shows enp2s- and lo. eth0 is not listed.

sudo ethtool eth0
cannot get device settings: no such device
cannot get wake-on LAN; no such device.

lspci
Ethernet controller: Realtek Semiconductor Co

/etc/network/interfaces.d
this file is empty

Any thoughts? I've been working on Linux a bit, by no means am I an expert. Learn something everyday, but wasn't expecting to have issues with the dang ethernet!

kelly
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
sammiev

Re: eth0 - No Such Device

Post by sammiev »

The lan would be enp2s not eth0.

systemd is different with the network connections and show it as so.
friesian49

Re: eth0 - No Such Device

Post by friesian49 »

Thank you, I just realized that after I posted this and did a bit of a search. So I used the sudo ethtool enp2s0 and get the below:

sudo ethtool enp2s0
Settings for enp2s0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: no
friesian49

Re: eth0 - No Such Device

Post by friesian49 »

All,

It was a driver issue. Updated the Realtek drivers and got connected. Thanks for the help!

Kelly
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: eth0 - No Such Device

Post by catweazel »

friesian49 wrote:All,

It was a driver issue. Updated the Realtek drivers and got connected. Thanks for the help!

Kelly
Please mark your thread as [SOLVED] by editing the title of the first message in the thread.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Locked

Return to “Networking”