Skip to content

Instantly share code, notes, and snippets.

@cormojs
Created December 4, 2017 23:25
Show Gist options
  • Save cormojs/8a55d878702c1deef0cb0c86b6a93daa to your computer and use it in GitHub Desktop.
Save cormojs/8a55d878702c1deef0cb0c86b6a93daa to your computer and use it in GitHub Desktop.
sudo su -
echo "auto enp0s8" >> /etc/network/interfaces
echo "iface enp0s8 inet static" >> /etc/network/interfaces
echo "address 192.168.56.2" >> /etc/network/interfaces
echo "netmask 255.255.255.0" >> /etc/network/interfaces
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment