Skip to content

Instantly share code, notes, and snippets.

@bcatubig
Created August 24, 2019 01:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bcatubig/1f17be48702406fc49e7b1537eea8656 to your computer and use it in GitHub Desktop.
Save bcatubig/1f17be48702406fc49e7b1537eea8656 to your computer and use it in GitHub Desktop.
r8169 Arch Linx

module bricks networking after resuming from sleep

either remove the blacklist file

/etc/modprobe.d
❯ sudo rm r8169_blacklist.conf 

or run

# /usr/lib/systemd/system-sleep/fix_internet.sh
#!/bin/sh
case $1/$2 in
	pre/*)
	;;
	post/*)
	 modprobe -r r8169
         modprobe r8169
	;;
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment