• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to find network computers, use Rendezvous?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to find network computers, use Rendezvous?


  • Subject: Re: How to find network computers, use Rendezvous?
  • From: Gnarlodious <email@hidden>
  • Date: Fri, 15 Oct 2004 06:32:46 -0600

Title: Re: How to find network computers, use Rendezvous?
Hmmm... I didn't receive this post. Wonder why?

The task is exacerbated by the fact that routers are not scriptable.

This script needs to be saved as a Stay Open Application:

-- Script to log and report Airport Extreme users

on run
   set logFile to ((path to startup disk) & "private:tmp:TCP.txt" as string)
    
    do shell script "osascript -e 'tell application \"Terminal\" to do script \"" & ("sudo tcpdump -i en1 port 80 >> " & the POSIX path of logFile) & "\"'"
end run


on reopen
   set logFile to ((path to startup disk) & "private:tmp:TCP.txt" as string)
    set logPOSIX to the quoted form of the POSIX path of logFile
   
    display dialog (do shell script "perl -lne'@h{/\\b10\\.\\d+\\.\\d+\\.\\d+/g}=()}{print for keys%h' " & logPOSIX)
end reopen


-- Gnarlie


Entity jj spoke thus:

> This works fine here if you need only a list of IP numbers:
>
> set IPs to paragraphs of (do shell script "arp -a | awk '{print $2}' | tr -d
> '()'")
>
>
> jj
 _______________________________________________
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

References: 
 >Re: How to find network computers, use Rendezvous? (From: jj <email@hidden>)

  • Prev by Date: Re: Mozilla/Firefox Suggestion
  • Next by Date: Re: Mozilla/Firefox Suggestion
  • Previous by thread: Re: How to find network computers, use Rendezvous?
  • Next by thread: Re: How to find network computers, use Rendezvous?
  • Index(es):
    • Date
    • Thread