Skip to content

Instantly share code, notes, and snippets.

@pelletier
Created July 29, 2011 13:12
Show Gist options
  • Save pelletier/1113780 to your computer and use it in GitHub Desktop.
Save pelletier/1113780 to your computer and use it in GitHub Desktop.
rc.local patch for auto DHCP on eht0 on Archlinux
--- rc.local.orig 2011-07-29 15:09:01.353309284 +0200
+++ /etc/rc.local 2011-07-29 15:08:19.689962672 +0200
@@ -3,3 +3,7 @@
# /etc/rc.local: Local multi-user startup script.
#
+# Enable DHCP at boot on eth0.
+# See https://wiki.archlinux.org/index.php/Network#DHCP_fails_at_boot
+dhcpcd -k eth0
+dhcpcd -nd eth0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment