Skip to content

Instantly share code, notes, and snippets.

@jpmens
Last active February 10, 2020 07:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpmens/82ee7dab727ee29b19ed9bc6ad768e3c to your computer and use it in GitHub Desktop.
Save jpmens/82ee7dab727ee29b19ed9bc6ad768e3c to your computer and use it in GitHub Desktop.
dhclient vs resolvconf: variables
dhclient
interface=em0
new_broadcast_address=172.16.23.255
new_dhcp_lease_time=10800
new_dhcp_message_type=5
new_dhcp_server_identifier=172.16.16.1
new_domain_name_servers=172.16.16.1
new_expiry=1580174627
new_ip_address=172.16.23.168
new_network_number=172.16.16.0
new_routers=172.16.16.1
new_subnet_mask=255.255.248.0
reason=REBOOT
resolvconf.conf: invoked with args: -a em0
interface=em0
new_broadcast_address=172.16.23.255
new_dhcp_lease_time=10800
new_dhcp_message_type=5
new_dhcp_server_identifier=172.16.16.1
new_domain_name_servers=172.16.16.1
new_expiry=1580174627
new_ip_address=172.16.23.168
new_network_number=172.16.16.0
new_routers=172.16.16.1
new_subnet_mask=255.255.248.0
reason=REBOOT
# boot at $cust over wifi
reason=FAIL
interface=em0
args -d em0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment