Mailing Lists: Apple Mailing Lists

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

quick question on renewing DHCP programmatically and command line



Hello,

I'm assuming System Configuration Framework is the best way programmatically. What is the Apple preferred method for restarting DHCP on a client via the command line? There's ifconfig, but I'm thinking moving forward, Apple would suggest scutil or networksetup. I can't figure out scutil, but neworksetup seems it would be something like...

sudo networksetup -setdhcp interface id

thanks for any info,

Jaime Magiera

Sensory Research
http://www.sensoryresearch.net

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to 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.