Blogs

Create an IPsec tunnel between 2 Mikrotik routers and dynamic public IPs

In this post we are going to create an IPsec VPN tunnel between two remote sites using Mikrotik routers with dynamic public IPs . By default, Mikrotik does not allow to use FQDN (domain names) to setup an IPsec tunnel, so we are going to create some scripts to update the IPsec configuration whenever the local or remote IPs change. The network layout is as follows: The first thing to take into account is that LAN addresses must be different between Site 1 and Site 2.

Continue reading

Homemade ambilight with Arduino and Kodi

The Ambilight system is a gadget for TV to enjoy the TV shows. The system is composed by a concrete RGB LEDs (25 or 50 LEDs) and the LEDs reproduce the border color from TV. This post explains how create a homemade Ambilight system and connect to TV with Kodi. Components 50 LEDS => 2 x [12mm Diffused Thin Digital RGB LED Pixels (Strand of 25) - WS2801]: Link Ebay Arduino uno: Link Dx Male + Female DC Power Converter Connector Adapters (Optional to connect leds): Link Dx 5V 2A Power Adapter Charger: Link Dx Total price: 100€ (approximately)

Continue reading

Be sync with Raspberry Pi

Is very common have the necessity to sync some kind of information with other computers or have a synchronize backup. In this post we explain how to install Btsync into the Raspberry PI. Download mkdir .btsync cd .btsync wget https://download-cdn.getsyncapp.com/stable/linux-arm/BitTorrent-Sync_arm.tar.gz tar -xvf BitTorrent-Sync_arm.tar.gz rm BitTorrent-Sync_arm.tar.gz ln -s /lib/arm-linux-gnueabihf/ld-linux.so.3 /lib/ld-linux.so.3 Configure cd ~/.btsync ./btsync --dump-sample-config > btsync.conf # browse the sample config file and change what you want Start at boot nano /etc/init.

Continue reading

CONNECT AN EXTERNAL HDD (USB) TO RASPBERRY PI

In Raspberry Pi B model by default is limiting the output amperage. We can trick this behavior editing the config file: vi /boot/config.txt Add the following lines: safe_mode_gpio=4 max_usb_current=1 Reboot the raspberry and now you can plug the HDD in the usb port.

Continue reading

Update Deluge version on your Raspberry PI

Unfortunately, at the time of writing this post the latest version available from Raspbian repositories is 1.3.3. And you may not use other repositories since they will probably not provide packages for ARM devices such as the Raspberry PI. There are different reasons for updating Deluge to the latest version. One of them is that 1.3.3 does not support Magnet links, which is a very common way of loading in torrents to the client.

Continue reading

Meteodino monitoring temperature system

Meteodino is a personal project using Arduino and temperature and humidity sensor. The project challenge is build a gadget to measure the temperature and humidity and send these data to a server and to after analyze these data. This project combines Ruby on rails, AngularJS, Coffescript and Arduino. Making-of Mounting the gadget: Gadget Server API REST. Frontend with AngularJS. Temperature gadget => Arduino Arduino Uno: Link Dx Arduino Ethernet Shield: Link Dx Temperature sensor (DHT-11): Link Dx (Shit, very imprecise) Temperature sensor (DHT-22): Link Dx LCD 16x2: Link Dx Temperature gadget => Raspberry pi (coming soon) Raspberry pi Temperature sensor (DHT-11): Link Dx (Shit, very imprecise) Temperature sensor (DHT-22): Link Dx LCD 16x2: Link Dx Demo at: meteodino.

Continue reading

Hal-cash finder (Android)

Hal-cash finder searches terminal banks compatibles with Hal-cash method using Hal-cash API and render in Google Maps. This application is a hello world using Google Maps. Description Hal-cash finder is an application that searches terminal banks compatibles with Hal-cash method nearest your position. With this application, you can do: - With your position: the application searches terminal banks automatically nearest your position. - With an address: you can put an address and the application finds terminal banks nearest.

Continue reading

Manuncios opensource (Android)

Manuncios is a native android application that finds offers in Milanuncios.com web page. This application is my first Android application and it’s a Helloworld. Description In the application, you can do: Search: you can search offers with different criteria as title, price or location. Order: the offers can order by price or age. Show: click in the offer to see more in detail. Contact: if you are interested in the offer you can contact with the seller.

Continue reading