Seite anzeigenÄltere VersionenLinks hierherNach oben Diese Seite ist nicht editierbar. Sie können den Quelltext sehen, jedoch nicht verändern. Kontaktieren Sie den Administrator, wenn Sie glauben, dass hier ein Fehler vorliegt. <markdown> # HowTo Fix Network Disconnect in Ubuntu on a MacMini (2012, x86) Suddenly my Ubuntu 24.04 server on an MacMini from 2012 stopped playing music over network and was completely unreachable - even over LAN and ssh. ## Temporary QuickFix if the machine is next to you I sent the machine into suspend by pressing once on the MacMini's power button. Pushing again when the LED is blinking slowly resumes it from suspend and the network is back, so that I can e.g. ssh again. ## Longtermn Fix Checking the kernel logs with `journalctl -b0 -k -n600` I found that the tg3 kernel module threw lots of failure messages before network all of a sudden stopped working at all. Searching for `tg3 kernel macmini ubuntu`led me to https://www.reddit.com/r/linux_on_mac/comments/w3hisc/network_dropout_fix_for_linux_on_mac_with_kernel/ and the solution: In __/etc/default/grub__ change `GRUB_CMDLINE_LINUX=""` to `GRUB_CMDLINE_LINUX="iommu.passthrough=1"` or if you already had boot options set add `iommu.passthrough=1`. Don't forget to `sudo update-grub2` before you finally reboot your machine. IOMMU seems to be a ARM-Chip-specific feature that leads to problems on a x86-machine. After reboot I haven't seen any similar messages in the kernel logs again yet. Also no lost network connections after 24h at least. The reddit post suggests that this little change solved massive network problems for a lot of the responders. </markdown> macminiubuntunetworkfix.txt Zuletzt geändert: 2024/10/30 15:01von homer