this post was submitted on 22 Sep 2023
9 points (100.0% liked)

linux4noobs

1425 readers
7 users here now

linux4noobs


Noob Friendly, Expert Enabling

Whether you're a seasoned pro or the noobiest of noobs, you've found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux's ongoing evolution.


Seeking Support?

Community Rules

founded 1 year ago
MODERATORS
 

I use a laptop, and have only just been able to finally connect an ethernet cable to it. However, ethernet doesn't work on Linux, returning this "Cable Unplugged" message, whereas it does work on dual-booted Windows.

I tried running "lspci -v" to get a list of where my drivers were located, but I could not find any entry for "Ethernet controller," or something of the like. That being said, I'm assuming I just don't have an Ethernet driver?? and I was wondering how I get one :)

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 1 year ago

It's probably a missing driver. You can boot into a live environment with Linux and download the driver from there if it recognizes it.

If it's a fresh install it might be simpler to reinstall and make sure to check the box that allows for proprietary drivers to be installed if necessary.

You can also find out the model of your network card and then download the driver package on another PC and move it over on a flash drive.

[–] damium 5 points 1 year ago

If it isn't showing up in lspci then it isn't currently attached to a PCI port. lspci will show all devices with or without a driver, known and unknown. You can try lsusb to see if it is attached internally to USB (very uncommon). It might also have a firmware level power saving disconnect feature that needs to be either disabled or managed by the OS in some way. It might also be showing up as a different device than you expect (also very uncommon) most cards will show as either Ethernet controller: or Network controller:.

Make and model of the laptop and any identification details from the ethernet device under windows would be helpful for diagnosis.

[–] [email protected] 1 points 1 year ago

Reboot with the ethernet cable plugged in

[–] [email protected] 0 points 1 year ago

However, Ethernet doesn’t work on Linux….

This part of the comment is not correct. This is more of an Ubuntu 22.04 issue. I haven’t used Ubuntu in like 4 years and never had this problem occur on any new version of Linux OSes that I have used. I have been able to hotswap Ethernet connections ootb on every distro I have ran without having to install a driver for it.

I am curious about one thing though. Is your Ethernet port integrated or are you using a usb dongle to connect. If it’s a dongle, then that might be your problem.

What does lspci without the -v show for connections?