Advertisement
Guest User

Untitled

a guest
Apr 25th, 2025
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. # Allow users of this group to interact with dhcpcd via the control socket.
  2. #controlgroup wheel
  3.  
  4. # Inform the DHCP server of our hostname for DDNS.
  5. #hostname
  6.  
  7. # Use the hardware address of the interface for the Client ID.
  8. #clientid
  9. # or
  10. # Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
  11. # Some non-RFC compliant DHCP servers do not reply with this set.
  12. # In this case, comment out duid and enable clientid above.
  13. duid
  14.  
  15. # Persist interface configuration when dhcpcd exits.
  16. persistent
  17.  
  18. # vendorclassid is set to blank to avoid sending the default of
  19. # dhcpcd-<version>:<os>:<machine>:<platform>
  20. vendorclassid
  21.  
  22. # A list of options to request from the DHCP server.
  23. option domain_name_servers, domain_name, domain_search
  24. option classless_static_routes
  25. # Respect the network MTU. This is applied to DHCP routes.
  26. option interface_mtu
  27.  
  28. # Request a hostname from the network
  29. option host_name
  30.  
  31. # Most distributions have NTP support.
  32. #option ntp_servers
  33.  
  34. # Rapid commit support.
  35. # Safe to enable by default because it requires the equivalent option set
  36. # on the server to actually work.
  37. option rapid_commit
  38.  
  39. # A ServerID is required by RFC2131.
  40. require dhcp_server_identifier
  41.  
  42. # Generate SLAAC address using the Hardware Address of the interface
  43. #slaac hwaddr
  44. # OR generate Stable Private IPv6 Addresses based from the DUID
  45.  
  46. slaac private
  47.  
  48. # Do not attempt to obtain an IPv4LL address if we failed to get one via DHCP. See RFC 3927.
  49. noipv4ll
  50.  
  51. nohook resolv.conf
  52. static domain_name_servers=1.1.1.1 8.8.8.8
  53.  
  54. interface wlan0
  55.  
  56. #noipv6rs
  57. #ipv6ra_own=yes
  58. #ipv6ra_accept=yes
  59. # noipv6ra_fork
  60. noipv6rs
  61. #static ip6_address=2407:5400:5204:5700::55e:c9c8:2bc5:68c3/64
  62. #static routers=fe80::22b0:1ff:fec6:9ae0
  63. # ipv6rs
  64. noipv6
  65. # ia_na 1
  66. # ia_pd 1
  67. # noarp
  68. # nooption rapid_commit
  69. #nooption ipv6ra_own
  70. # nogateway
  71. # nohook resolv.conf
  72. # nohook fallback
  73. # nohook ntp
  74. # noipv6nd
Tags: dsgadsg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement