Re: How to find network computers, use Rendezvous?
Re: How to find network computers, use Rendezvous?
- Subject: Re: How to find network computers, use Rendezvous?
- From: "John C. Welch" <email@hidden>
- Date: Fri, 15 Oct 2004 16:20:30 -0500
On 10/15/04 2:51 PM, "Sander Tekelenburg" <email@hidden> wrote:
>> 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
>> '()'")
>
> That seems to be unreliable. When I tried it returned the IP addresses for
> only some of the machines on my LAN. Only after ssh-ing into the other
> machines, exiting, and then running the command again did it list all
> machines.
>
> It looks to me like arp returns only IP addresses it already knows about;
> does not go out on the subnet to actively search for what is there.
That's correct. The way to fill your ARP cache in a hurry is to ping the
broadcast address. That will get a return from any machine yours can see.
Another one that just occurred to me is to download the demo of Intermapper,
point it at your router address, and let it work from there. So if your
router is 198.162.0.1 and your subnet mask is 255.255.0.0, point it at the
router and tell it to find everything in the 198.162/16 range. Intermapper
uses a number of probes to find stuff, so if you have an active device on
the network, it'll find it.
john
--
"Aim towards the enemy." -
Instruction printed on US Rocket Launcher.
_______________________________________________
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