Channel Button

There is 1 article on this title. You are reading the article ranked and rated #1 by Helium's members.

Computers & Technology   >

Computers & Technology (Other)

How to set up a Lojack for your Linux computer

by ArsGeek

  • Writing Level StarWriting Level Star

Facing the possibility that your laptop (or even desktop) could get stolen, lost or otherwise disappear makes me think of what I'd do. While it wouldn't be earth shattering for me, there's a lot of work I've put into this thing and it has a lot of data on it I'd like to get back.

Note: This tutorial was written for Ubuntu or Debian based Linux distros. It will work with other distro's with only minor modifications, mainly the way to install new programs.

That got me interested in some security measures I could take and more, what I could do to locate my laptop if it ever did get stolen? Here's a quick guide to setting up a Lojack' for your laptop. If it's taken and put on a network somewhere (obviously without being reformatted or reinstalled) you'll be able to find it.

First, you're going to need an account with a free dynamic DNS provider. DynDNS is a great one to use and will be focused on in this tutorial. This allows you to alias a dynamic IP address to a static hostname. They offer a number of domains from which you can choose. I have a DNS entry now at dnsdojo.net.

Once you've got an account with DynDNS, set up a dynamic DNS host by clicking on Add Host Service, and then Add Dynamic DNS Host.

You'll see that it has defaulted to BLANK.selfip.info. If you set this to your computer's host name (in this example we'll use arsgeek) it would be arsgeek.selfip.info. This is your host name. Jot this down, you'll need it in a few minutes.

Then we're going to install a client that will keep DynDNS updated as to what the laptop's real, actual IP address is. This is important as, especially with laptops that tend to roam around a bit, you're IP address will change a lot. We want to be able to pinpoint your computer's IP no matter what it is.

The client we'll use is one called ddclient. Let's install it.

sudo apt-get install ddclient

Once the install begins, you'll be asked a couple of questions. When it asks you for a fully qualified domain name for your host, you'll plug in what you just jotted down above (in this example:) arsgeek.selfip.info.

Then you'll be asked to type in your DynDNS username and password.

Lastly, it will ask you what interface you're going to use for this. Type in web' without the quotes.interface.png

That's pretty much all you're going to do to set this up. To verify it's working, head on over to DynDNS again, click on My Services at the top. Once you're on the My Services page, look at the Host Level Services at the bottom. You should see your Dynamic DNS services listed. Click on it and you'll see a report containing a message that looks like this:

Alternatively, you can try pinging, sshing or otherwise connecting to your own machine via the new DNS entry that you've set up.

If your laptop ever is stolen, start looking for your DNS entry by pinging it. Once you see that it's online, you can use a program like traceroute from another machine to find your laptop's default gateway. Once you have that, notify the police and the ISP in question and get your computer back!

(Note if you have another Ubuntu machine that you want to use to trace your laptop, be sure you install traceroute on it: sudo apt-get install traceroute)

Learn more about this author, ArsGeek.
Contact this writer Click here to send this author comments or questions.


Below are the top articles rated and ranked by Helium members on:

How to set up a Lojack for your Linux computer

  • 1 of 1

    by ArsGeek

    Facing the possibility that your laptop (or even desktop) could get stolen, lost or otherwise disappear makes me thin... read more

Add your voice

Know something about How to set up a Lojack for your Linux computer?
We want to hear your view. Write_penWrite now!

What do you know about?
  • Tell us! Get published today.
  • Reach millions.
  • Many ways to earn.
Join Helium Today

Already a member? Log in.

Helium Debate

Cast your vote!

Does the abundance of technology help or impede homeland terrorism-fighting effectiveness?

Click for your side. Must be logged in.

122042

Featured Partner

Masons

Washington, D.C. Masons, members of the Free and Accepted Masons of Washington, D.C. Freemasonry is first and foremos...more

What is Helium? | User Guide | Community | Link to Helium | Privacy | User agreement | DMCA

Helium, Inc.
200 Brickstone Square Andover, MA 01810 USA