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

  • DAS_AMAN
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Reboot with the ethernet cable plugged in

  • yol@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    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@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    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.