Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

May 05 2019

External encrypted disk on LibreELEC

Last year I replaced, on the Raspberry Pi, the ArchLinux ARM with just Kodi installed with LibreELEC. Today I plugged an external disk encrypted with dm-crypt, but to my full surprise this isn’t supported. Luckily the project is open source and sky42 already provides a LibreELEC version with dm-crypt built-in support. Once I flashed sky42’s version, I setup automated mount at startup via the autostart.sh script and the corresponding umount via shutdown.sh this way: // copy your keyfile into /storage via SSH $ cat /storage/.config/autostart.sh cryptsetup luksOpen /dev/sda1 disk1 --key-file /storage/keyfile mount /dev/mapper/disk1 /media $ cat /storage/.config/shutdown.sh umount /media cryptsetup luksClose disk1 Reboot it and voilà! Automount If you want to automatically mount the disk whenever you plug it, then create the following udev rule: // Find out ID_VENDOR_ID and ID_MODEL_ID for your drive by using `udevadm info` $ cat /storage/.config/udev.rules.d/99-automount.rules ACTION=="add", SUBSYSTEM=="usb", SUBSYSTEM=="block", ENV{ID_VENDOR_ID}=="0000", ENV{ID_MODEL_ID}=="9999", RUN+="cryptsetup luksOpen $env{DEVNAME} disk1 --key-file /storage/keyfile", RUN+="mount /dev/mapper/disk1 /media"

May 04 2019

Automated phone backup with Syncthing

How do you backup your phones? Do you? I use to perform a copy of all the photos and videos from my and my wife’s phone to my PC monthly and then I copy them to an external HDD attached to a Raspberry Pi. However, it’s a tedious job mainly because: - I cannot really use the phones during this process; - MTP works one in 3 times - often I have to fallback to ADB; - I have to unmount the SD cards to speed up the copy; - after I copy the files, I have to rsync everything to the external HDD. The Syncthing way Syncthing describes itself as: Syncthing replaces proprietary sync and cloud services with something open, trustworthy and decentralized. I installed it to our Android phones and on the Raspberry Pi. On the Raspberry Pi I also enabled remote access. I started the Syncthing application on the Android phones and I’ve chosen the folders (you can also select the whole Internal memory) to backup. Then, I shared them with the Raspberry Pi only and I set the folder type to “Send Only” because I don’t want the Android phone to retrieve any file from the Raspberry Pi. On the Raspberry Pi, I accepted the sharing request from the Android phones, but I also changed the folder type to “Receive Only” because I don’t want the Raspberry Pi to send any file to the Android phones. All done? Not yet. Syncthing main purpose is to sync, not to backup. This means that, by default, if I delete a photo from my phone, that photo is gone from the Raspberry Pi too and this isn’t what I do need nor what I do want. However, Syncthing supports File Versioning and best yet it does support a “trash can”-like file versioning which moves your deleted files into a .stversions subfolder, but if this isn’t enough yet you can also write your own file versioning script. All done? Yes! Whenever I do connect to my own WiFi my photos are backed up!

April 02 2019

Arch signoff

Arch sign off tool Since some time Arch has been letting users become testers which can sign off packages in [testing] repository's. The idea behind allowing users and not only the Arch team sign off packages as known good is that packages can be moved earlier or bugs and issues found earlier. To sign off a package you need to login into Arch Linux's website and go to the sign off page to sign off a package. Haavard created a tool to be able to sign off packages from the command line which makes it easier to sign off by doing it interatively. This tool has now been adopted by Arch as the official sign off tool and has been packaged in the extra repository. Issues can be reported here. If you want to become an Arch Linux tester, feel free to apply here. A special thanks goes out to the current testing team and haavard for creating this awesome tool!

March 06 2019

My new hobby

A few years ago, sitting in an emergency room, I realized I'm not getting any younger and if I want to enjoy some highly physical outdoor activities for grownups these are the very best years I have left to go and do them. Instead of aggravating my RSI with further repetitive motions on the weekends (i.e. trying to learn how to suck less at programming) I mostly wrench on an old BMW coupe and drive it to the mountains (documenting that journey, and the discovery of German engineering failures, was best left to social media and enthusiast forums). Around the same time I switched jobs, and the most interesting stuff I encounter that I could write about I can't really write about, because it would disclose too much about our infrastructure. If you are interested in HAProxy for the enterprise you can follow development on the official blog.

January 01 2019

Bug Day 2019

Hey all. We will be holding a bug day on the weekend of January 5th and 6th, to start off the year with a cleaned up bugtracker.The community is encouraged to canvass the bugtracker and find old bugs, figure out which ones are still valid, track down fixes and suchlike. Feel free to join #archlinux-bugs at that time in order to reach a bug wrangler and get more input on a bug. Or just post to the bug tracker.Links:https://lists.archlinux.org/pipermail/a … 29410.htmlOpen bugs, sorted by last edit date: core/extra and community

December 13 2018

Arch Linux @ Reproducible Build Summit Paris

Write up of the reproducible summit Three members of the Arch Linux team attended the Reproducible Build Summit 2018 in Paris this week to work together with the reproducible ecosystem to work on reproducible build issues. The other participants where from a lot of different projects and companies such as Debian, NixOS, Guix, Alpine, openSUSE, OpenWrt, Google, Microsoft and many more. The summit was organized by letting attendees work with a small subset of the attendees on issues which they are interested in and trying to find solutions and discuss ideas. At the end of the day there time for hacking together on solutions. The event was very open and there was a lot of collaboration between projects which have different goals! The Arch Team has worked on the following topics: Packaging & updating more reproducible build tools in our repos, disorderfs was updated to the latest version and disorderfs was updated after a pytest fix from Chris Lamb for diffoscope. Reprotest, the tool to test if something is reproducible has been added to [community]. A note has been made that we should investigate if the Arch ISO is reproducible. At least one possible issue is that squashfs images are not reproducible and Arch should consider switching to squashfskit which creates reproducible squashfs images. Discussed adding a JSON endpoint for fetching the reproducible build status of Arch Linux packages on tests.reproducible-builds.org. Sharing reproducible build issues cross distros. Discussed how to rebuild Arch Linux packages and test if they are reproducible. Discussed how to verify before installing a package if a package is reproducible. Debian's Kernel is reproducible, but Arch's isn't. We started investigating why ours isn't reproducible, as one goal is to get [core] reproducible as first repo. Investigate PGO (profile guided optimisation) reproducibility issues for Firefox and Python. And much more! It has left us with a lot of "homework" to continue making Arch Linux more reproducible! A huge thanks to the organizers and sponsors of the Reproducible build summit!

December 09 2018

Arch Linux ARM on the Allwinner NanoPi A64

Arch Linux ARM on a NanoPi A64 I've obtained two NanoPi A64's a long while ago and recently thought of setting them up as a HA cluster as an exercise. Since setting it up with real hardware is a lot more fun then with VM's or containers. And I wanted to try out aarch64 and see how well that fares on mainline Linux. The first part of setting it up created the partitions and rootfs on the sd card. For this I've just followed the "Generic AArch64 Installation". The more challenging part was setting up U-boot, clone it and follow the 64 bit board instructions. All that is required now is to install a boot.scr file in /boot on the sdcard, download the boot.cmd file and create a boot.scr with mkimage from uboot-tools with mkimage -C none -A arm64 -T script -d boot.cmd boot.scr. That should get the NanoPi A64 booting, note that 4.20 is required for the ethernet controller to work, luckily Arch Linux ARM offers an linux-rc package since as of writing this article 4.20 is still not released yet.

October 18 2018

archlinux-keyring update required before December 1 2018

archlinux-keyring 20181018-1 re-enables my PGP key for packaging. As any package updates on my behalf requires this version (or greater) to proceed without errors, users should update archlinux-keyring before December 1 2018. Prior to this date, there will be no new packages signed by my key. The list of affected packages:https://www.archlinux.org/packages/?sor … ainer=AladAlad

August 22 2018

lib32-ncurses 6.1-2 x86_64

System V Release 4.0 curses emulation library (32-bit)

August 21 2018

kdepim-runtime 18.08.0-2 x86_64

Extends the functionality of kdepim

firefox-developer-edition-i18n-es-mx 62.0b19-1 any

Spanish (Mexico) language pack for Firefox Developer Edition

firefox-developer-edition-i18n-en-za 62.0b19-1 any

English (South African) language pack for Firefox Developer Edition

firefox-developer-edition-i18n-bs 62.0b19-1 any

Bosnian language pack for Firefox Developer Edition

firefox-developer-edition-i18n-sr 62.0b19-1 any

Serbian language pack for Firefox Developer Edition

firefox-developer-edition-i18n-pt-pt 62.0b19-1 any

Portuguese (Portugal) language pack for Firefox Developer Edition

firefox-developer-edition 62.0b19-1 x86_64

Developer Edition of the popular Firefox web browser

firefox-developer-edition-i18n-bn-in 62.0b19-1 any

Bengali (India) language pack for Firefox Developer Edition

firefox-developer-edition-i18n-es-cl 62.0b19-1 any

Spanish (Chile) language pack for Firefox Developer Edition

firefox-developer-edition-i18n-he 62.0b19-1 any

Hebrew language pack for Firefox Developer Edition

firefox-developer-edition-i18n-ia 62.0b19-1 any

Interlingua language pack for Firefox Developer Edition
Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.

Don't be the product, buy the product!