Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'An advanced script/web solution to track stolen Macs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An advanced script/web solution to track stolen Macs
Authored by: ctierney on Aug 28, '08 11:42:01AM
Good hint. I've been thinking about writing up something like this for the company I work for. We're always sending laptops to trade shows for exhibits and training labs.

My thought was to maintain an optional list of trusted gateways and to only "phone home" when on an untrusted network. To get the currently active gateway (which also suggests internet access):

netstat -nrfinet | \
awk 'BEGIN {
    while ($1 != "default") getline;
    gate_ip = $2;
(gate_ip == $1) {
    print $2;

[ Reply to This | # ]