Guest User

Untitled

a guest
Dec 1st, 2012
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. cat /etc/resolv.conf
  2. # Generated by dhcpcd
  3. # /etc/resolv.conf.head can replace this line
  4. # /etc/resolv.conf.tail can replace this line
  5. nameserver 8.8.8.8
  6.  
  7. cat /etc/dhcpcd.conf
  8. # A sample configuration for dhcpcd.
  9. # See dhcpcd.conf(5) for details.
  10.  
  11. # Inform the DHCP server of our hostname for DDNS.
  12. hostname
  13. # To share the DHCP lease across OSX and Windows a ClientID is needed.
  14. # Enabling this may get a different lease than the kernel DHCP client.
  15. # Some upstream DHCP servers may also require a ClientID, such as FRITZ!Box.
  16. #clientid
  17.  
  18. # A list of options to request from the DHCP server.
  19. option domain_name_servers, domain_name, domain_search, host_name
  20. option classless_static_routes
  21. # Most distributions have NTP support.
  22. option ntp_servers
  23. # Respect the network MTU.
  24. option interface_mtu
  25. # A ServerID is required by RFC2131.
  26. require dhcp_server_identifier
  27.  
  28. # A hook script is provided to lookup the hostname if not set by the DHCP
  29. # server, but it should not be run by default.
  30. nohook lookup-hostname
  31. noipv4ll
  32. nohook resolv.conf
Advertisement
Add Comment
Please, Sign In to add comment