Hey. Short story: I activated Secure boot on my MSI Mainboard and bootet in my new Debian. I realized that I had no wired internet connection and rebooted the system to deactivate secure boot again. Problem is that now my whole Ethernet is borked? I don’t get a connection in Debian or my older OpenSuse partition and the Debian install USB stick says that the connection doesn’t work. Of course I deinstallieren Windows and now this happens. Tried already a different cable . Any idea what I could do?

  • @edinbruh@feddit.it
    link
    fedilink
    10
    edit-2
    11 months ago

    Run dmesg and see if you find anything suspicious of the cause. If you find something like “blah blah… Ethernet… Blah blah… Key was rejected by service” or similar, it’s due to secureboot.

    If this is actually related to secureboot your drivers are most likely not in tree and installed via dkms, so they need to be signed or secureboot won’t allow them. You can setup a machine-owner-key to sign them yourself, and you can setup dkms to automatically sign them using that key. The instructions are on dkms’ readme. After setting up you need to run dkms autoinstall or manually reinstall the drivers to trigger the automatic signing.

    Edit: I just noticed you said you deactivated secure boot… I have no clue. But for future reference, you can sign your modules to work with secure boot, it’s not a bad idea.

  • BlackEco
    link
    fedilink
    811 months ago

    Check in your BIOS if on-board Ethernet is disabled. I think on MSI motherboards it’s under “Integrated Peripherals”. If not this, check PCI settings in the BIOS.

  • @Haui@discuss.tchncs.de
    link
    fedilink
    511 months ago

    Interesting typo. Puts your default language to german. :)

    But to answer your question: There are two not uncommon things I‘d like you to rule out.

    1. defective ethernet port, just now gave up
    2. some kind of „wrong port“ situation where one swears they used this one but it actually was another port they used earlier (happened to me once).

    If both are ruled out, check if the network adapter is showing „up“ or working condition even without the cable.

    I‘ve had a situation where my network adapter was „down“ because I installed it later and the installation (ubuntu in my case) didn’t know it and when I rebooted it defaultet to eth2 instead of eth0 or something.

    Good luck.

  • 𝕸𝖔𝖘𝖘
    link
    English
    411 months ago

    Try booting into a live image of a debian distro (pick any one you want that can boot into a live image), then try the Ethernet port. Is it working? If not, either your bios shut it off or the port is broken. Several years ago, I had a broken wifi adaptor that happened to break at the exact same time as (or super close thereto) me installing GIMP. No way GIMP caused it. If the port does work on the live image, then it’s likely a driver issue with your install. Try it and let us know the results.

    • @Rhabuko@feddit.deOP
      link
      fedilink
      211 months ago

      live image had the same problems. I bought a wifi usb stick after work from my local computer store (Linux support was advertised on the wrapping) and it works so far. Must be the hardware but the mainboard is only a year old…

      • BlackEco
        link
        fedilink
        English
        211 months ago

        Have you checked in the BIOS that on-board Ethernet hasn’t been disabled somehow? If not, try disabling it, reboot and enabling it back. I know my MSI board has a similar issue with the WiFi/Bluetooth chipset.

  • @f43r05@lemmy.ca
    link
    fedilink
    English
    311 months ago

    In your motherboard settings, are you in UEFI boot mode? Try changing to BIOS/Legacy. Driver firmware can act differently between the two.

  • @Rhabuko@feddit.deOP
    link
    fedilink
    2
    edit-2
    11 months ago

    Thanks everyone. I tried everything but only with very limited success. I have a very unstable connection that loads very very slow and is basically unusable. I will check tomorrow again if there’s damage and if WiFi is affected too. It’s already night here so time for a little sleep.

    • Blaster M
      link
      fedilink
      211 months ago

      If you have a wifi adapter, run on that for now, and dc the ethernet. Probably a hardware problem.