snipt

Ctrl+h for KB shortcuts

Bash

request new IP from dhcp

sudo dhcpcd -k wlan0 dhcpcd -nd wlan0
https://snipt.net/embed/ca49391f5bc63c3ea1808afa56fa0293/
/raw/ca49391f5bc63c3ea1808afa56fa0293/
ca49391f5bc63c3ea1808afa56fa0293
bash
Bash
1
2019-08-16T14:55:46
True
False
False
/api/public/snipt/6956/
request-new-ip-from-dhcp
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>sudo dhcpcd -k wlan0 dhcpcd -nd wlan0 </span></pre></div> </td></tr></table>
bash, dhcp

Text only

Renew DHCP when button missing from Sys Pref

1
2
3
4
Mac OS X renew DHCP when renew dhcp button missing from system preferences panel:

sudo ipconfig set en0 BOOTP
sudo ipconfig set en0 DHCP.
https://snipt.net/embed/1bf0cf39a8d88028002964827e808063/
/raw/1bf0cf39a8d88028002964827e808063/
1bf0cf39a8d88028002964827e808063
text
Text only
4
2019-08-18T15:44:32
True
False
False
/api/public/snipt/2888/
renew-dhcp-when-button-missing-from-sys-pref
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>Mac OS X renew DHCP when renew dhcp button missing from system preferences panel: </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a>sudo ipconfig set en0 BOOTP </span><span id="L-4"><a name="L-4"></a>sudo ipconfig set en0 DHCP. </span></pre></div> </td></tr></table>
commandline, dhcp, macosx