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 :)

  • damium@programming.dev
    ·
    9 months 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.

  • Efwis@lemmy.zip
    ·
    9 months 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?