Re: Get IP
Re: Get IP
- Subject: Re: Get IP
- From: Joshua See <email@hidden>
- Date: Fri, 24 Oct 2003 16:24:35 -0500
On Friday, October 24, 2003, at 03:13 PM, DigitEL wrote:
Sorry for the late thread, just figured why unable to post to the
list...
On Tuesday, Oct 21, 2003, at 13:51 America/Vancouver, Ian Ferguson
wrote:
(do shell script "ifconfig en0 | grep 'inet' | awk '{print $2}'")
Can someone illuminate why all these shell script calls only work on
my machine if set to 'en1'?
Using 'en0' brings back a lot of info but does not contain a IP
addresses.
Do you have a second NIC, such as an Airport card? en# is the Ethernet
interface you are using. Zero is your computers built-in network jack.
If you're not using it to connect to a TCP/IP network, it won't have an
IP address to return. One and up are other interfaces that you or
someone else has added on.
--
Sincerely,
Joshua See
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
References: | |
| >Re: Get IP (From: DigitEL <email@hidden>) |