MacBook security
(permalink)
A while back I found this howto on flickr: http://www.flickr.com/photos/omegastation/292845901/
It's pretty useful - every time your mac wakes up from sleep, it takes a photo and emails it to you (or to flickr!). That's cool, but I'd also like to record the internal / external IP address as well. That way, if my macbook is ever stolen, I have a photo of who's using it, AND their IP address.
This is what you'll need, if you want to do the same:
1)Download my workflow
2) I put everything into ~/Stuff/Surveillance - you can put it wherever, but be sure to modify the workflow.
3) Download camcapture, and copy the binary into ~/Stuff/Surveillance
4) If you want to upload your photos to flickr, get a flickr account and read this.
5) Test the workflow
6) Save it as an application (I saved my into ~/Stuff)
7) Download camcapture
8) Download & install sleepwatcher 9)Open terminal and vim ~/.wakeup (Make sure you change the location of take_picture_on_wake.app to the directory that you saved it into):
Make it executable:
10) Restart and test!
Note: Most users would be better off using automator to download a copy of http://ipchicken.com / http://whatismyip.com for an internal IP address, using automator to create an archive of all the files (index.html with External IP, ipdata with internal IP, iSight.jpg, and then emailing all the files to an account they can check over the web (like gmail). This will eliminate the need to use wget / rsync.
It's pretty useful - every time your mac wakes up from sleep, it takes a photo and emails it to you (or to flickr!). That's cool, but I'd also like to record the internal / external IP address as well. That way, if my macbook is ever stolen, I have a photo of who's using it, AND their IP address.
This is what you'll need, if you want to do the same:
- My workflow, to start with: http://sam.bluwiki.com/sam/take_picture_on_wake.zip
- wget
- A server to rsync into
- Ability to set up password-less ssh for your server (see this howto
- camcapture
- sleepwatcher
1)Download my workflow
2) I put everything into ~/Stuff/Surveillance - you can put it wherever, but be sure to modify the workflow.
3) Download camcapture, and copy the binary into ~/Stuff/Surveillance
4) If you want to upload your photos to flickr, get a flickr account and read this.
5) Test the workflow
6) Save it as an application (I saved my into ~/Stuff)
7) Download camcapture
8) Download & install sleepwatcher 9)Open terminal and vim ~/.wakeup (Make sure you change the location of take_picture_on_wake.app to the directory that you saved it into):
#!/bin/sh
/usr/bin/automator /Users/so/Stuff/take_picture_on_wake.app
Make it executable:
chmod +x ./.wakeup
10) Restart and test!
Note: Most users would be better off using automator to download a copy of http://ipchicken.com / http://whatismyip.com for an internal IP address, using automator to create an archive of all the files (index.html with External IP, ipdata with internal IP, iSight.jpg, and then emailing all the files to an account they can check over the web (like gmail). This will eliminate the need to use wget / rsync.
Labels: apple



0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home