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



On Friday, September 13, 2002, at 11:32 , Greg Jewett wrote:

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

After having a look at /System/Library/StartupItems/Network/Network on my 10.1.5 box, looks like "ipconfig" is the command that may do it - however, an "ipconfig waitall" seems to just do the renew, not the release. Unfortunately, there's no man page.

Since you mention Mac OS X, maybe the System Configuration Framework has what you need?

Cheers,
--
Paul Ripke
Unix/OpenVMS/DBA
101 reasons why you can't find your Sysadmin:
67: It's 9AM and they're not working that late.
-- Koos van den Hout
_______________________________________________
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.

References: 
 >DHCP Manual Release/Renew (From: Greg Jewett <email@hidden>)



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.