Skip to content

Instantly share code, notes, and snippets.

@K-orne
Created May 12, 2015 16:05
Show Gist options
  • Save K-orne/88903ceef66bf2cffbc4 to your computer and use it in GitHub Desktop.
Save K-orne/88903ceef66bf2cffbc4 to your computer and use it in GitHub Desktop.
Description='A basic dhcp ethernet connection'
Interface=enp0s25
Connection=ethernet
IP=dhcp
DHCPClient=dhcpcd
#DHCPReleaseOnStop=no
## for DHCPv6
#IP6=dhcp
#DHCP6Client=dhclient
## for IPv6 autoconfiguration
IP6=stateless
ExecUpPost="systemctl stop netctl-auto@wlp4s0.service"
ExecDownPre="systemctl start netctl-auto@wlp4s0.service"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment