Skip to content

Instantly share code, notes, and snippets.

@vip9
Created September 7, 2010 14:53
Show Gist options
  • Save vip9/568489 to your computer and use it in GitHub Desktop.
Save vip9/568489 to your computer and use it in GitHub Desktop.
[16:40 root@dzibutti:~]# dhcpcd -T wlan0
dhcpcd[26807]: version 5.2.7 starting
dhcpcd[26807]: wlan0: broadcasting for a lease
dhcpcd[26807]: wlan0: offered 10.0.0.112 from 10.0.0.1
interface=wlan0
pid=26807
reason=TEST
new_broadcast_address=10.0.0.255
new_dhcp_lease_time=43200
new_dhcp_message_type=2
new_dhcp_rebinding_time=37800
new_dhcp_renewal_time=21600
new_dhcp_server_identifier=10.0.0.1
new_ip_address=10.0.0.112
new_network_number=10.0.0.0
new_routers=10.0.0.1
new_ssid=TP-LINK_CC9614
new_subnet_cidr=24
new_subnet_mask=255.255.255.0
[16:41 root@dzibutti:~]# dhcpcd -d wlan0
dhcpcd[26815]: version 5.2.7 starting
dhcpcd[26815]: wlan0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
dhcpcd[26815]: wlan0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason CARRIER
dhcpcd[26815]: wlan0: broadcasting for a lease
dhcpcd[26815]: wlan0: sending DISCOVER (xid 0x8d4d1bad), next in 3.93 seconds
dhcpcd[26815]: wlan0: sending DISCOVER (xid 0x8d4d1bad), next in 7.96 seconds
dhcpcd[26815]: wlan0: offered 10.0.0.112 from 10.0.0.1
dhcpcd[26815]: wlan0: sending REQUEST (xid 0x8d4d1bad), next in 3.42 seconds
dhcpcd[26815]: wlan0: acknowledged 10.0.0.112 from 10.0.0.1
dhcpcd[26815]: wlan0: checking for 10.0.0.112
dhcpcd[26815]: wlan0: sending ARP probe (1 of 3), next in 1.67 seconds
dhcpcd[26815]: wlan0: sending ARP probe (2 of 3), next in 1.93 seconds
dhcpcd[26815]: wlan0: sending ARP probe (3 of 3), next in 2.00 seconds
dhcpcd[26815]: wlan0: leased 10.0.0.112 for 43200 seconds
dhcpcd[26815]: wlan0: adding IP address 10.0.0.112/24
dhcpcd[26815]: wlan0: adding route to 10.0.0.0/24
dhcpcd[26815]: wlan0: adding default route via 10.0.0.1
dhcpcd[26815]: wlan0: writing lease `/var/lib/dhcpcd/dhcpcd-wlan0.lease'
dhcpcd[26815]: wlan0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason BOUND
dhcpcd[26815]: forking to background
dhcpcd[26815]: forked to background, child pid 26839
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment