[WayBack] Rebooting a Linux server unattended – twm’s blog:
/sbin/shutdown -r now
Simple, but I keep forgetting where Linux has short/long command options and short/long verbs.
–jeroen
Posted by jpluimers on 2020/09/21
[WayBack] Rebooting a Linux server unattended – twm’s blog:
/sbin/shutdown -r now
Simple, but I keep forgetting where Linux has short/long command options and short/long verbs.
–jeroen
Posted in *nix, *nix-tools, Debian, Linux, OpenShift, openSuSE, Power User, Raspbian, RedHat, SuSE Linux, Tumbleweed, Ubuntu | Leave a Comment »
Posted by jpluimers on 2020/09/11
Hopefully the below links will eventually get me further in figuring out how to force fsck with opensuse Tumbleweed on Raspberry Pi 3.
For now, I just reinstalled an SD card (my Mac didn’t support the file systems and I did not have time and equipment with me to mount it to another opensuse based device).
–jeroen
Posted in *nix, Linux, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »
Posted by jpluimers on 2020/07/27
Somehow Firefox is available on ARM by default, but the crash recovery isn’t that awesome.
On my list of things to try is Chrome or Chromium. These links should help me find out if this is possible at all:
On Firefox crash recovery:
–jeroen
Posted in *nix, Chrome, Google, Linux, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »
Posted by jpluimers on 2020/07/20
I always thought than an umount /dev/sdX# for all partitions on /dev/sdX was enough for USB devices to be ejected, but there are three commands that (on most systems) actually power down USB drives (or USB to SD card adapters):
udisks --detach /dev/sdX (requires the udisks package which is obsolete)eject /dev/sdX seems not to be enough on some systems; it is part of the util-linux packageudisksctl power-off -b /dev/sdX is equivalent to the udisks command; it is part of the udisks2 package.These will ensure that the disk is not part of the fdisk --list output any more.
The opposite of these is sg_start, which is from the sg3_utils package.
Source: [WayBack] Eject USB drives / eject command – Unix & Linux Stack Exchange
On MacOS, you can use diskutil eject /Volumes/<LABEL> (source: answer by efesaid on [WayBack] Eject USB drives / eject command – Unix & Linux Stack Exchange)
–jeroen
Posted in *nix, *nix-tools, Linux, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »
Posted by jpluimers on 2020/07/17
A few tips from posting to the openSUSE forums, learned from banging my head to the wall too often.



–jeroen
Posted in *nix, Linux, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »
Posted by jpluimers on 2020/07/15
Cool tool: [WayBack] GitHub – gamelinux/passivedns: A network sniffer that logs all DNS server replies for use in a passive DNS setup via [WayBack] How to log all my DNS queries? – Unix & Linux Stack Exchange (thanks mxmlnkn!).
It listens on port 53 for DNS requests then logs them to a file on regular intervals aggregating similar requests.
Usage is simple:
Posted in *nix, *nix-tools, Development, DevOps, Infrastructure, Linux, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »
Posted by jpluimers on 2020/07/13
A very insightful talk: “Marrying U-Boot, uEFI and grub2 – Alexander Graf – openSUSE…”
Booting is hard. Booting in the ARM world is even harder. State of the art are a dozen different boot loaders that may or may not deserve that name. Each gets configured differently and each has its own pros and cons.
As a distribution this is a nightmare. Configuring each and every one of them complicates code that really should be very simple.
To solve the problem, we can just add another layer of abstraction (grub2) on top of another layer of abstraction (uEFI) on top of another layer of abstraction (u-boot). Follow me on a journey on how all those layers can make life easier for the distribution and how much fun uEFI really is.
After this talk, you will know how ARM systems boot, what uEFI really means, how uEFI binaries interact with firmware and how we are going to move to uEFI based boot on openSUSE for ARM.
Usually known as agraf on-line, [WayBack] Alexander Graf – Open IoT & ELC 2017 is an impressive guy:
Alexander Graf
SUSE
KVM Wizard
Nürnberg Area, GermanyAlexander started working for SUSE about 9 years ago. Since then he worked on fancy things like SUSE Studio, QEMU, KVM and openSUSE on ARM. Whenever something really useful comes to his mind, he tends to implement it. Among others he did Mac OS X virtualization using KVM, nested SVM, KVM on PowerPC and a lot of work in QEMU for openSUSE on ARM. He is the upstream maintainer of KVM for PowerPC, QEMU for PowerPC and QEMU for S390x.
Slides: [WayBack] Marrying U-Boot, UEFI and grub.pdf
There are 2 videos on YouTube (view them below):
Boot sequence:
Alexander pushed the U-Boot stuff up stream, but the FreeBSD team was the first to actually boot a full OS from it.
Relations:
U-boot:
md.b (shows bytes starting at memory address for a certain length)config.txt is used for that; specs at [WayBack] config.txt – Raspberry Pi Documentation–jeroen
References:
Images
Posted in *nix, *nix-tools, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »
Posted by jpluimers on 2020/07/09
For my link archive: [WayBack] openSUSE:Standards Rpm Metadata – openSUSE: Repository layout.
It is not fully up to date any more on primary.xml.gz, so here are my notes for the aarch64 version of Tumbleweed:
- Inspect http://download.opensuse.org/ports/aarch64/tumbleweed/repo/oss/repodata/repomd.xml [WayBack] for the name of
*-primary.xml.gz(in this case http://download.opensuse.org/ports/aarch64/tumbleweed/repo/oss/repodata/d701c298b21d0b995c9560f9cfcc84685cb916deacc4f4c4a613a9b9d8f5aa57-primary.xml.gz [WayBack]- Download that
.gzfile and uncompress it- Inspect the
*-primary.xmlfrom it, look inside themetatadataroot element for apackagehaving anameelement with valueopenSUSE-release: thatpackageelement now has aversionelement having averattribute containing the version text.
–jeroen
Posted in *nix, *nix-tools, Linux, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »
Posted by jpluimers on 2020/06/15
I want to use btrfs as filesystem on a Raspberry Pi with opensuse Tumbleweed.
It is hard to find out how, so here are a few links that should help me from “opensuse” “tumbleweed” “btrfs” “raspberry” pi:
–jeroen
Posted in *nix, *nix-tools, Development, Hardware Development, Linux, openSuSE, Power User, Raspberry Pi, SuSE Linux, Tumbleweed | Leave a Comment »
Posted by jpluimers on 2020/05/25
It looks like OpenSuSE has stopped supporting Raspberry Pi 1, so the best likely is to recycle it into a Pi-Hole as basically it’s been dead since mid 2017: [WayBack] Raspberry Pi 1B OpenSuSE Tumbleweed zypper upgrade problem · GitHub.
Build status for armv6l support: [WayBack] Project openSUSE:Factory:ARM Status Monitor – openSUSE Build Service
–jeroen
Posted in *nix, *nix-tools, Debian, Development, Hardware Development, History, Linux, openSuSE, Power User, Raspberry Pi, Raspbian, SuSE Linux, Tumbleweed | Leave a Comment »