Network FIX on Ubuntu 18.04 LTS, and why Linux isn't ready for the masses

I'm a big fan of Linux, but I know for several reason it isn't ready for the masses and probably it will never be ready but it's OK because people still use it even if just as server operative system.

Sono un grande fan di Linux, ma so che per diverse ragioni non è pronto per tutti e probabilmente non lo sarà mai, ma va bene perché le persone ancora lo usano anche se principalmente come sistema operativo server.

Schermata da 2018-05-09 21-40-31.png

I noticed a bug in the latest Ubuntu 18.04, after the standby/suspend the Gigabit Ethernet card stopped to work, the fix is quite simple.. if you know where to fix it. The network driver needs to reload after the wake up -_-

Ho notato un bug nell'ultima Ubuntu 18.04, dopo lo standby la scheda di rete smette di funzionare, il fix è abbastanza semplice.. se sai dove mettere le mani. Il driver della scheda di rete ha bisogno di essere ricaricato dopo il risveglio -_-

sudo gedit /lib/systemd/system-sleep/fixnet

Put the code below, r8169 is the driver of my network card that I found with lsmod

metti il codice sotto, r8169 è il driver della mia scheda di rete che ho trovato con lsmod

#!/bin/sh

case $1 in
  post)
        rmmod r8169
   sleep 3
   modprobe r8169
    ;;
esac

Run

Esegui

sudo chmod +x  /lib/systemd/system-sleep/fixnet

Tested with

Testato con

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 11)

Il mio video su Ubuntu 18.04 in italiano.

Very sad that a "production" Linux release relead with very known bug!

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1760073
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1752772
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1768660

steem

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center