Re: machine IP address
Re: machine IP address
- Subject: Re: machine IP address
- From: Adam Bell <email@hidden>
- Date: Tue, 25 Jul 2006 17:37:07 -0300
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:
This email sent to email@hidden