Monitor wlan0 Interface (Wireless) to avoid disconnection from Raspberry Pi

I had implemented my raspberry pi to use wireless network, unfortunately the connection might after a while disconnect, the only option that I have found was to run a script that check the connection and re-connect if network is down.

Continue reading “Monitor wlan0 Interface (Wireless) to avoid disconnection from Raspberry Pi”

Set time zone on Raspberry pi

Run this command which should work in most of distro.
Select the correct Zone that you wish to apply:

Example (London):

cp /usr/share/zoneinfo/Europe/London /etc/localtime

HubiC on Raspberry pi

sync your data with HubiC.

Install it on your Raspberry, just download the last package:

http://mir7.ovh.net/ovh-applications/hubic/hubiC-Linux/1.2.5/

Install it:

sudo dpkg -i -R hubiC-Linux-1.2.5.38-linux.deb

finalize the installation as for the dependancies:

sudo apt-get -f install

Before running it, you need to reed the bus:

dbus-launch --sh-syntax

Copy/paste the bus data address and export the settings (change ‘xxxx’ with your own data from the previous command output:

export DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-xxxx,guid=xxxx'

And run hubiC with the login you have created on the website:

mkdir /home/pi/hubiC
hubic login login@domain.tld /home/pi/hubiC