Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DHCP Manual Release/Renew



From another submission awhile back,

sudo ifconfig en0 down (use en1 for AirPort)
...wait a minute or more
sudo ifconfig en0 up


Apology to:
"Raphael Arlitt" <email@hidden>
(whom at first, I did not realize I replied directly to,
and I meant to reply to the list, to get her and other's folks opinion..)

To the list:

I just saw an article go by that mentioned how to get some
information from the DHCP daemon. I have not been able to find any
information (possibly not looking in the right places..) on how to
manually tell OS X to release a DHCP lease, and renew one.

I can sorta do it via the GUI -- go to System Preference, Network,
choose manual config, apply, choose DHCP, apply. This sometimes
works.

However, is there any method to perform this task with feedback on the CLI?
Anything like the Windows OS commands:

ipconfig /release
ipconfig /renew

I already found: ipconfig /all = ifconfig -a

Just curious!

Thanks!

..Greg
_______________________________________________
darwin-userlevel mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-userlevel
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.