Posts

Showing posts with the label linux

Raspberry : Create a TimeLapse machine

Image
Background I'm about to have some workers at home constructing some fun stuff in the garden. It would be nice to "survey" the progress with some cool progress video. Why not a timelapse ? But How can I do this ?

Domoticz : How to send Telegram Notifications

Image
Background Sometimes, it is cool to receive important notifications directly to your phone when something critical is happening. It's even more true when talking about smart home / home automation : basement water flood, some temperature drops, ... really anything you can think off. There is a Telegram integration in Domoticz, but I was not finding what I was looking for in the official documentation. Let's see how it works !

RClone : Mount Google Drive on any File System

Image
Background Would it be nice to directly manipulate Google Drive as part of the OS File System ? Would it be nice to automate backups directly in the cloud ? Would it be nice to stop buying expensive external storage ? The idea is not to send a "all to cloud" message. But sometimes, this very handy to have quickly have access to some centralized storage. Well, I think so. But How ? Cloud Storage is object storage (S3 like), so each files are actually identified by a unique URL and a set of credentials granting or not certain rights. There is a way of course !

Raspbian : I've lost my password !

Image
Background Yeah, I know, I should have written it down in a safe place, in a vault or so. But it happened. I've lost access to my Raspberry taking care of my hotspot and sending my various API calls to my Yamaha Amplifier . This is an issue since I need to adjust some settings !

Linux : Rocky Linux

Image
Background I believe most of you heard about the new Red Hat strategy around CentOS ? One of the favorite OS for Linux testing in the Enterprise ? Yes, CentOS used to be the most stable and conservative environment in the Red Hat family (CentOS, Fedora and Red Hat Enterprise Linux - aka RHEL). When Red Hat announced they are going to shift CentOS to a rolling release exactly like Fedora for the end user world. Many Sysadmin out there were wondering how to address that issue. I believe we have a solid candidate.

NextCloud : File-based Restoration

Image
Background Nextcloud is a well known file share platform, open source, freely available with nice syncing features. It is the OwnCloud "successor". The platform is providing a web based portal to manage files and shares but as well syncing clients are available on most OSs. The use case I'm trying to achieve here is the file-level restoration. Most of the time, the backup is doing a full VM backup with all files. But what if a user is requesting a restoration of a single file or directory ?

Linux : Mount an Bucket on a Linux Machine

Image
Background If you are already using an object store, you probably have a use case where you want to access the content of the bucket directly from the Linux filesystem. In my case, I'm using Cloudian, and I would like to directly read/write content from/to my Linux machine. Cloudian is object store and Linux is using traditional block store. But, wait ! it is possible to mix those environments !

Linux : Change Default Console Keyboard Layout

Image
Background You are creating Linux VMs - whatever hypervisor you are using - and you are configuring your local keyboard layout. In my case, this will be Belgian (be-latin1). But, when you colleague from UK or US is connecting to the console for whatever reason, his password is always wrong. This is because he is using a different keyboard layout that the one used for VM creation. This is annoying and in most cases a waste of time. It does not happen when accessing the VM using SSH . Let's localectl ! Your best friend for this case if  localectl . To check the current status, issue this command : # sudo localectl status    System Locale: LANG=en_US.UTF-8        VC Keymap: be-latin1       X11 Layout: be To list available mapping, you can use this command : # sudo localectl list-keymaps ANSI-dvorak al al-plisi amiga-de amiga-us applkey at at-mac at-nodeadkeys at-sundeadkeys atari-de atari-se ...

Linux : Cisco SSL VPN

Image
Background Your network administrator provides you with some Cisco AnyConnect SSL VPN configuration that works great with WIndows and Mac OS but of course, nobody cares about Linux and you are a proud Linux Fedora 27 user - yeah! But how to access to company resources while on the go ? Read below

Linux : IPSec and VPNC

Image
Background Sometimes, you have to connect to old IPSec VPN sites. But unfortunately, latest modern Linux distributions are dropping connectivity after around 24 minutes without any valid understandable reason. It was the case for me with Fedora 25. I've made some researches all over the web without finding a solution until ...