Created
July 29, 2011 13:12
-
-
Save pelletier/1113780 to your computer and use it in GitHub Desktop.
rc.local patch for auto DHCP on eht0 on Archlinux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 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