this post was submitted on 06 Aug 2023
31 points (97.0% liked)

Linux

48178 readers
1363 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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?

top 10 comments
sorted by: hot top controversial new old
[–] edinbruh@feddit.it 10 points 1 year ago* (last edited 1 year 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@lemmy.blackeco.com 8 points 1 year 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 5 points 1 year 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.

[–] 01189998819991197253@infosec.pub 4 points 1 year ago (1 children)

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.de 2 points 1 year ago (1 children)

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@lemmy.blackeco.com 2 points 1 year 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 3 points 1 year 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.de 2 points 1 year ago* (last edited 1 year ago) (1 children)

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@lemmy.world 2 points 1 year ago (1 children)

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

[–] Rhabuko@feddit.de 1 points 1 year ago* (last edited 1 year ago)

Yeah seems to be the hardware. Bought a Wifi adapter today and it works.