Announcements‎ > ‎

Lagarto on the Raspberry PI

posted Jul 10, 2012, 11:15 AM by Daniel Berenguer
Our Raspberry PI arrived this morning. I rapidly installed Debian Wheezy following this tutorial and soon realized that Raspberry PI is a perfect platform for Lagarto. I then installed all the necessary tools and Python bindings to run Lagarto-SWAP and Lagarto-MAX. Finally, downloaded Lagarto from subversion, as explained in the wiki and plugged a panStick+panStamp dongle to the board.

Lagarto on the Raspberry PI

Figure 1: Lagarto on the Raspberry PI

As an attempt to simplify this process for other people wanting to try Lagarto on a Raspberry PI, I've uploaded a disk image to be grabbed on a 8 GB SD Flash card. Simply follow these steps:

  1. Download the compressed image from here.
  2. Unzip the compressed image and check the MD5 sum to be sure that the file is not corrupted.
  3. Put a 8 GB (or higher capacity) SD card into a card reader connected to your desktop or laptop.
  4. Grab the downloaded image into the SD card. Follow these instructions from the Raspberry PI wiki.
From Linux, you'll basically have to do the following:

# dd if=lagarto_raspberry.img of=/dev/sdc

where /dev/sdc is the SD card file system

The rest is a simple task. The image automatically sets the IP address to by default so you'll have to configure your LAN to accept the board. Then SSH into it:

# ssh root@

(password: raspberry)

And run Lagarto-SWAP and Lagarto-MAX, both detached from the current shell:

# nohup python /home/lagarto/lagarto-swap &
# nohup python /home/lagarto/lagarto-max &

That's all. You can now access Lagarto-SWAP from and Lagarto-MAX from Needless to say, you can change the IP address and parameters from /etc/network/interfaces whenever you want. You'll also want to set your own DNS's from /etc/resolv.conf.

This is a first step to simplify things for people that is not familiarized with Linux and shells but we plan to go some steps further. Ex: run Lagarto-SWAP and Lagarto-MAX at start-up, create a watchdog process, connect a panStamp directly on the P1 header, etc.