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: machine IP address



Title: Re: machine IP address
At 3:10 PM -0400 7/25/06, Mark J. Reed wrote:
On 7/25/06, Adam Bell <email@hidden> wrote:
set ip_internal to do shell script ("ipconfig getifaddr en0")

Hey, nifty.  Didn't know about that command.  Much easier than parsing
it out of ifconfig or netstat output.

ipconfig has a bunch of options:

ipconfig waitall
ipconfig getifaddr
interface-name
ipconfig ifcount
ipconfig getoption
interface-name (option-name| option-code)
ipconfig getpacket interface-name
ipconfig set interface-name NONE
ipconfig set
interface-name (DHCP | BOOTP)
ipconfig set interface-name (MANUAL | INFORM) ip-address subnet-mask
ipconfig set verbose level


--
Mark J. Reed <email@hidden>

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

This email sent to email@hidden

References: 
 >machine IP address (From: Bob Cuilla <email@hidden>)
 >Re: machine IP address (From: "Mark J. Reed" <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.