Skip to content

Instantly share code, notes, and snippets.

@samber
Last active October 8, 2018 14:12
Show Gist options
  • Save samber/506e976e3daf2c43f66e1f0dc24a36a3 to your computer and use it in GitHub Desktop.
Save samber/506e976e3daf2c43f66e1f0dc24a36a3 to your computer and use it in GitHub Desktop.

Step 1

Move some libs needed for dhclient and broken by criterion:

cd /usr/lib64/bind9-export

# quick and dirty
cp *.so* ..

Step 2

Remove every network connections

cd /etc/sysconfig/network-scripts
mkdir bak
ls ifcfg-* keys* | grep -v lo | xargs -I {} mv {} bak/
service NetworkManager stop
service network restart
service NetworkManager start

If network.service failed to start, please execute this:

journalctl -fu network

and

dmesg -wH

then restart network+NetworkManager and see what happens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment