Results 1 to 2 of 2

Thread: Any Howto's for an Ubuntu "Back to my Mac"

  1. #1
    Join Date
    Mar 2006
    Location
    Massachusetts
    Beans
    135
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Any Howto's for an Ubuntu "Back to my Mac"

    I've done a little searching, but found nothing. I found the "Back to my Mac" story in which a woman used it to recover her laptop to be very interesting. While my laptop doesn't have a built-in webcam, there is data that would help immensely in an attempt to recover my laptop if it were stolen.

    Simply sending the IP address assigned would be very helpful (LocatePC will do this, but it's Windows only), but with the nature of Ubuntu/Linux, we could certainly do much more.

    Imagine if you received an email detailing the IP address, the results of a traceroute (to google or similar), and other bits of information. If a built-in webcam exists, some pictures. Randomly timed screenshots, etc. I'm sure people could come up with more.

    Granted, not every thief is going to connect a laptop to the internet, so it wouldn't be foolproof, but it would certainly help.

  2. #2
    Join Date
    Apr 2007
    Location
    Trondheim (Norway)
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Any Howto's for an Ubuntu "Back to my Mac"

    Quote Originally Posted by WrathofthePenguin View Post
    I've done a little searching, but found nothing. I found the "Back to my Mac" story in which a woman used it to recover her laptop to be very interesting. While my laptop doesn't have a built-in webcam, there is data that would help immensely in an attempt to recover my laptop if it were stolen.
    For dynamic IP, check out www.no-ip.com or www.dyndns.com. Here you can aquire a domain name (e.g. yourcomputer.no-ip.com) that points to your computers current IP. They work by having a daemon on your computer reporting back the IP. Daemons for both these providers are availible in the repositries.

    When you have your dynamic IP daemon working. You can install openssh-server availible in the repos. But first be shure to have strong passwords for all users as this will open a service on your computer that can be attacked. I think you can disable ssh-login for some users if you want though, but they are all enabled by default.
    Code:
    sudo apt-get install openssh-server
    Openssh-server will enable you to connect to your computer from anywhere where you have an ssh-client. F.ex. in a linux-terminal with openssh-client
    Code:
    ssh username@yourcomputer.no-ip.org
    will grant you access to your shell with username.

    From there, having ssh-access to your computer with yourcomputer.no-ip.com, there are many many possibilities. Download personal files with scp, delete or even shred sensitive information. And... catching the thieves on cam:
    Code:
    ssh -X -C username@yourcomputer.no-ip.org
    cheese
    The -C will compress the transfer, and -X will forward xserver connection so you can run programs on your computer and show the graphical output on the terminal you are sitting.

    Cheese is a webcam toy that is included in the latest GNOME (which means it is in Ubuntu Hardy Heron). When you run this having enabled x-forwarding, the output will show up on the terminal you are sitting. The usability is limited by bandwidth. But I've tried to use cheese from 500km away on a 2MBit connection, and I got a nice view of my own flat.

    Good luck!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •