Arduino Yún, managing wifi reset and timeouts

Arduino Yún is a great prototype hardware platform.
It has integrated Ethernet and Wifi modules and it runs a distribution of Linux for embedded systems, named OpenWrt-Yun.

When you first power your Arduino Yún or you reset its network configuration, it has the ability to act as an Access Point; thus, it will create a WiFi network called ArduinoYun-<THE BOARD MAC ADDRESS>.
In this way you can connect your computer to that network.



Then, entering http://arduino.local or 192.168.240.1 in your browser you will able to configure the WiFi network (in addition to Ethernet and a lot of other things...) in order to connect the board to your WiFi network.


The network configuration is persistent, so if you power off the Arduino, next time you power on it again it will try to connect to the configured WiFi network.


But, if something goes wrong and the Yún is not able to connect to the configured Wifi network within 60 seconds, by default it resets the network configuration (loosing your configuration) and it enters again in the Access Point mode.


If, for any reason, you need to override this behaviour you can

  • login to your Yún via ssh as root (default password is arduino)
ssh root@192.168.240.1 

  • edit the /usr/bin/wifi_live_or_reset file:
vi /usr/bin/wifi_live_or_reset
  • edit the timeout as you prefer changing the MAX_SLEEP value. For example, for 3 minutes:

MAX_SLEEP=180


Save the file.
Power off and then on again the board.


In case you need to disable the wifi reset at all, then:

  • edit the /etc/rc.local file commenting the following row, as:
#wifi_live_or_reset


Save the file.
Power off and then on again the board.

That's all.

RabbitMQ 3.4.1 and rabbitmqctl "cannot get bootfile" error

If you are running RabbitMQ v. 3.4.1 and your are experiencing the following error when running rabbitmqctl:


{"init terminating in do_boot",{'cannot get bootfile','/Users/pintux/devtools/rabbitmq_server-3.4.1/sbin/../erts-6.1/bin/../../bin/start.boot'}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()



then, below is a workaround, waiting for a new version that fixes it.
RabbitMQ installation directory assumed to be /Users/myuser/rabbitmq-3.4.1


cd /Users/myuser/rabbitmq-3.4.1
mkdir bin
cd bin
ln -s /Users/myuser/rabbitmq-3.4.1/releases/3.4.1/start.boot .



Paraimpu & RIOT Hackathon

[Italian only this time, we're sorry!]

Invito all' Internet Festival / RIOT Revolutionizing the Internet Of Things in collaborazione con il FabLab Pisa e CNA Digitale.


Sei un maker, un hacker, uno studente, un appassionato del fare e dell'Internet of Things (IoT)?

Se sì, è con grande piacere che noi di Paraimpu ti invitiamo a partecipare come Paraimpu Ambassador al "RIOT Revolutionizing the Internet Of Things", organizzato dall'Internet Festival in collaborazione con il FabLab Pisa e CNA Digitale che si terrà da venerdì 10 ottobre a domenica 12 ottobre presso SMS Centro Espositivo, in via San Michele degli Scalzi, Pisa.

Lo scopo di RIOT è quello di mettere in contatto sviluppatori e maker di talento con aziende innovative interessate ad utilizzare le nuove tecnologie dell’IoT per innovare e sviluppare i prodotti del futuro. Infine, sarà organizzato un grande hackathon riservato a sole 50 persone.
Durante l'hackathon verranno sviluppate in gruppo delle idee progettuali. Al termine di questo, verrà decretato un progetto vincitore con un premio finale di 3000€!

Paraimpu Ambassador? Sì... ma cosa è?
Crea oggi il tuo account gratuito su Paraimpu, dopodichè scrivici un'email dal tuo indirizzo di contatto a contact@paraimpu.com,  potresti essere da noi selezionato per diventare uno dei primi utenti della versione Premium di Paraimpu per 6 mesi, gratuitamente.
L'unico impegno che ti chiederemo sarà quello di partecipare all'hackathon, di presentare brevemente le funzionalità di base di Paraimpu ai partecipanti e di utilizzarlo in quello che sarà il tuo team per realizzare la vostra idea! Se verrai da noi selezionato sarai automaticamente iscritto al RIOT Hackathon e potrai concorrere così al premio finale di 3000€.

Quindi...
se sei interessato a candidarti:

  1. crea il tuo account Paraimpu gratuito
  2. scrivici un'email entro e non oltre il 20 settembre, indicando l'indirizzo email del tuo account Paraimpu e raccontandoci brevemente dell'idea che hai in mente, anche se in uno stadio embrionale.
Tutte le candidature che ci perverranno saranno da noi valutate e sceglieremo tra queste il Paraimpu Ambassador per il RIOT Hackathon, il quale sarà automaticamente iscritto.

Tutto chiaro? ;) Se sì, candidati ora!

A presto e buona fortuna. YOU ARE WEB!

The Paraimpu Team

Heartbleed OpenSSL security bug fixed

Few days ago a big security bug was found in the OpenSSL implementation of the SSL protocol, allowing an attacker to access certain portions of servers memory that could contain sensitive data, passwords, etc... The bug is now called The Heartbleed bug.



With this post we inform you that we’ve just secured our servers against this bug.
Also, we recommend you to change your password through the Forgot your password functionality.
 

Thank you and keep making with Paraimpu!

First steps with the Intel® Galileo board, the Internet of Things and Paraimpu




We've just published inside the Arduino Scuola website a tutorial about the first steps with the great Intel® Galileo board, connecting it to the world and how to build a simple Internet of Things application using Galileo and Paraimpu.

Intel® Galileo is an hardware and software Arduino-compatible powerful board made by Intel®.

The Intel® Galileo board is based on the Intel® Quark SoC X1000, a 32-bit Intel Pentium®-class system on a chip (SoC). It is the first board based on Intel® architecture designed to be hardware and software pin-compatible with shields designed for the Arduino Uno R3.

This tutorial shows the basic steps and some notes and tips to pragmatically setup and use the board, to run your sketches and connect it to Internet in order to build a simple application through Paraimpu, the social platform for the Internet of Things.

Start the tutorial from here and have fun!


Paraimpu NEWS







We're glad to announce that the road to a new Paraimpu experience has officially started.

Paraimpu is now a startup company and you're invited to create your new, free, account on paraimpu.com

The old web site paraimpu.crs4.it will be dismissed on March 5th, and all your data will be securely deleted from it.

Connect, compose, share with Paraimpu!


The Paraimpu Team


© 2013-2014 Paraimpu Srl. Powered by Blogger.