25 March 2019

rpi ubuntu 18.04 arm64 - fix bluetooth not working

apt install bluez
hciattach /dev/ttyAMA0 bcm43xx 921600
systemctl restart bluetooth


14 March 2019

Run AspNet Core 2.2 on Raspberry PI 64bits (ubuntu 18.04 arm64)

As Ubuntu does officially support Raspberry PI 3 (arm64 and armhf) starting with 18.04.2, I gave a try to the 64 bit version to be able using dotnet core with MongoDB as the later is discontinued in 32 bits architecture.

I've downloaded and extracted the 32bits version of  aspnet core as the arm64 is not yet supported.
But I've quickly found myself ending with an issue when trying to run the armhf dotnet app:
-bash: /opt/dotnet/dotnet: No such file or directory
Even if all the dotnet prerequisites were met.

A few Googling hours later, I've figured out that, by default, no 32 bits (armhf) libraries are installed.

Thought that can be done simply.
First allow the armhf repository to be used in addition of arm64:
dpkg --add-architecture armhf
apt update
Then add the armhf flavor of the dotnet prerequisites:
apt install libunwind8:armhf gettext:armhf libc6:armhf libssl1.0-dev:armhf

You can now enjoy running aspnet core 2.2 apps on a arm64 ubuntu 18.04 :-)

#1 #2

22 January 2019

Install node.js and java package on raspbian (raspberry pi)

apt install openjdk-8-jdk
apt install nodejs
ln -s /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/client/libjvm.so

30 May 2017

Fix broken LibreElec on Raspberry Pi after auto-update (could not mount /flash/SYSTEM)

Mount the SD card on Windows or Linux.
Grab the latest LibreElec image file from https://libreelec.tv/downloads/
Extract the kernel.img and the SYSTEM files from the downloaded file.
Replace the existing kernel.img and SYSTEM files on the SD card with those two files.

Put back the SD card in the RPi and all should be fine.


19 May 2017

Zabbix : use external ip in simple checks

In Zabbix, simple checks are done by the Zabbix Server or Proxy on the default agent IP address, usually the internal one.
If you would like to monitor some services like SSH or SMTP using the external IP address, simply add another Agent Interface with the external IP.

Then choose the external interface in the item configuration:

03 February 2017

Resolve "Cannot download packages whilst offline" issue in Deja-Dup backup software

If you got the error message "Cannot download packages whilst offline" but your internet connection is active, this is probably because you've managed the network configuration yourself and the network manager is reporting an offline status even if it's not correct.

To fix this issue, simply edit the file /etc/NetworkManager/NetworkManager.conf and change the following configuration to be inline with:
Then restart the Network Manager :
sudo service NetworkManager restart