I *think* there is better and more pleasant workaround rather than rebooting every time this bug affects you.
Try putting your computer into suspension, then wake it up. In most of the cases Ethernet interface fails to start at all. If it does, then reloading its driver may help it this point: # modprobe -r r8169 # modprobe r8169 This worked for me on 5.0.0-25-generic. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1841040 Title: r8169 ethernet sometimes doesn't work after cold boot/boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1841040/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs