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. 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:
From Linux, you'll basically have to do the following:
# dd if=lagarto_raspberry.img o f=/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 192.168.1.22 by default so you'll have to configure your LAN to accept the board. Then SSH into it:
# ssh root@192.168.1.22 (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 http://192.168.1.22:8001 and Lagarto-MAX from http://192.168.1.22:8002. 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. |
Announcements >