Monthly Archives: June 2012

Secure your network with the help of Android!

A great tool has just been released for testing your servers / PCs / network security from the palm of your hand!

zANTI is penetration testing software for Android and can perform a variety of tests such as scanning networks and finding vulnerabilities and security holes!

You can download it directly from here but it should be on the Android App store soon!

Source

HumpA

Moving house

So have not had any time these past few weeks and now I’m moving house so I will continue my RaspberryPi and Arduino adventures next month!

HumpA

Using the GPIO pins on the RaspberryPi

Check out some useful info here regarding the GPIO pins on the Arduino.

HumpA

RaspberryPi, MQTT, Mosquitto & Arduino

Here is some examples / sample code for the RaspberryPI / MQTT / Mosquitto / Ardunio.

SSH to your RaspberryPi, with mosquitto installed, if not already running execute the command “sudo mosquitto” to start the broker.

Now your mosquitto server is running, run the command “mosquitto_sub -d -t HomeZoneCH“, what does this do? it subscribes the RaspberriPi to the topic HomeZoneCH

Open a second ssh session to your Pi and run the command “mosquitto_pub -d -t HomeZoneCH -m “CellarLightOff”” you should see the message below.

On the first SSH session you have open you should see the message below appear!

Now with the code runnning on my Arduino after a reset I receive the following message on the first SSH session.

Now I know this is super simple and your asking yourself what value does this have? it’s just a simple demo of the messaging system… I will be sharing all my final code with Webserver, mosquitto interface etc… as soon as I feel it’s ready. I am moving house soon and will not have much time to focus but I hope to have a good update next month regarding my progress

Have a look at some useful links here, here and here

HumpA

RaspberryPi and MQTT Mosquitto

How to install Mosquitto on the RaspberryPi

Download the latest tar from http://mosquitto.org/download currently mosquitto-0.15.tar.gz

The following instructions are for the Debian install

  1. sudo apt-get install libwrap0-dev
  2. tar zxf mosquitto-0.15.tar.gz
  3. cd mosquitto-0.15
  4. make
  5. sudo make install
  6. sudo ldconfig

Install Instruction Source

And while your waiting for it to install, get the MQTT Library for your Arduino!

HumpA

MQTT and RaspberryPi

So I have decided to build a web server and MQTT to further atuomate my house … I installed my Pi last night with Apache, PHP and now looking at Mosquito for MQTT.

Updates to come, all details, config and source will be published.

HumpA

No time :( + Prometheus

Have been a little busy with other commitments… have not had the time to touch Arduino and RaspberryPI…. have some ideas to turn the RaspberryPi into my HomeAutomation web server… but no time

PS: Prometheus is great!!! Get out and watch it!

HumpA