Comments on “Renew a Mac's DHCP Lease Via Terminal” http://robwilkerson.org/2008/05/08/renew-a-macs-dhcp-lease-via-terminal/feed 2009-10-28T10:27:24-04:00 Chyrp Renew a Mac's DHCP Lease Via Terminal tag:robwilkerson.org,2009-10-28:/id/63//comment_13610 2009-10-28T10:27:24-04:00 2009-10-28T10:27:24-04:00 tje210 <p>so i find going through all those menus tiresome when i need to renew my dhcp lease, so i was looking for a way to do it via terminal. found this website… and i executed those commands. checked it for effectiveness in the <span class="caps">GUI</span> menu, and immediately freaked when it said i had no IP address!! however, it seems i can still browse. ifconfig tells me i do have an ip, so that’s cool… but can anyone tell me why the <span class="caps">GUI</span> (and iStat) won’t tell me my ip? </p> Renew a Mac's DHCP Lease Via Terminal tag:robwilkerson.org,2009-04-02:/id/63//comment_6652 2009-04-02T11:23:10-04:00 2009-04-02T11:23:10-04:00 murga <p>hey, <br /> i think it should be ipconfig.</p> <p>if i try to renew the adress with ifconfig I get an error</p> <p>sh-3.2# ifconfig set en0 <span class="caps">DHCP</span><br /> ifconfig: interface set does not exist</p> <p>so if i use ipconfig everything works fine.</p> Renew a Mac's DHCP Lease Via Terminal tag:robwilkerson.org,2009-03-07:/id/63//comment_6083 2009-03-07T12:36:40-04:00 2009-03-07T12:36:40-04:00 Rob Wilkerson http://robwilkerson.org <p>Yep, for the second code sample, you’re absolutely right. Typo. I’ve made the adjustment in the post. Thanks for pointing that out.</p> Renew a Mac's DHCP Lease Via Terminal tag:robwilkerson.org,2009-03-06:/id/63//comment_6052 2009-03-06T15:15:22-04:00 2009-03-06T15:15:22-04:00 jcrowgey <p>should be $ifconfig</p>