> From: Lisa Seelye > Sent: Tuesday, March 16, 2004 12:54 > > On Tue, 2004-03-16 at 12:00, daPlumber wrote: > > The advantage is that if one has temporary access to a > bunch of desktops, > > which are usually running Windows, a boot-able cd would be > ideal combined > > with the distcc "search" script (PERL) : > > > http://dev.gentoo.org/~lisa/distcc/distcc-subnetscan/distcc-su > bnetscan.pl > > I would be surprised if that script still worked. You can > take it as a > starting point for expansion, but in reality it was just > written to see > if it could be done. The task of scanning could be done a lot faster > with nmap. So don't put all your eggs into that script, for > it may not > work. > > ymmv.
You mean something like: nmap -sT -n -p 3632 -oG - 192.168.0.0/24 | grep open | cut -f2 -d" " | tr [:space:] " " >/etc/distcc/hosts :-) I still can't find an elegant way of extracting the network/mask from a system either. <sigh> I'm hopeless with PERL, but ugly shell scripts are a specialty... :-) Kudos for the idea! REgards James Dean __ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/distcc
