parted “Error: Can’t have a partition outside the disk!” sometimes means...
At first sight I thought I had a damaged partition table on the HDD, but then I realised it was a bogus DVD. parted -l would give me this: Error: Can't have a partition outside the disk! Ignore/Cancel?...
View ArticleopenSuSE Tumbleweed: solution for `ImportError: No module named pkg_resources`
If ever on openSuSE Tumbleweed you get an error ImportError: No module named pkg_resources then check you have the installed the python-setuptools package it is different from python3-setuptools which...
View Articlehow to resize (grow) device partition of a multi-device BTRFS filesystem?
To grow you must first change the size of the container: the partition, the LV, or arraydevice. Then you can resize the file system. It’s the same with XFS, and NTFS. I’m only aware of Apple’sdiskutil...
View ArticleCan I connect to or view abandoned ssh sessions?
Boy I wish I had known about screen and tmux years ago. Screen is such a generic term that I never bumped into it, but tmux is easier to find and I like it more. When on the road, I regularly loose...
View ArticleOpenSuSE and logging: no more syslogd; journald is default, you can use...
In the 1990s and early 2000s I did a lot of Unix-Like (Minix, SunOS, HP-UX, Xenox) and later Linux (mostly RedHat and SuSE) work. The internet and Linux weren’t as big as they are now and old stuff was...
View Articletmux attach to named session or create when it doesn’t exist yet – via: How...
In my alias list: alias "tmux-attach-or-create-main-session=tmux new-session -A -s main" Via User Wesley Baugh – Unix & Linux Stack Exchange who answered: If naming your session is okay, then it’s...
View Articlezypper installing from a non-standard repository
I got a bit lost in the woods of implicit URLs between various places. All I wanted is to install software.opensuse.org: Install package server:monitoring / lnav preferably from the link...
View Article18 Useful Commands to Get Hardware Information on Linux – Linuxslaves
Quick look at commands that can be used to gather hardware information such as cpu, disks, memory, partition, peripherals etc on Linux OS based systems Source: 18 Useful Commands to Get Hardware...
View Article#220 feature `SKIP_FIRMWARE` by jpluimers · Pull Request #221 ·...
Reminder to self: Fix #220 feature SKIP_FIRMWARE by jpluimers · Pull Request #221 · Hexxeh/rpi-update It’s bash. How hard can it be. (no that was a rhetorical question). –jeroenFiled under: *nix,...
View Articlewhatismylocalip alias (actually more like whataremylocalips) and some sed links
Getting the local IP (actually IPs, but most hosts only have a single IP): # OS X: alias whatismylocalip='ifconfig | sed -En '\''s/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p'\''' #...
View Articlelinux port forwarding to external ip – Google Search
For my Link Archive via linux port forwarding to external ip – Google Search: Iptables – how to portforward to external IP and ports?. linux – How can I port forward with iptables? – Server Fault....
View Articlepi-hole/pi-hole: A black hole for Internet advertisements (designed for...
pi-hole – A black hole for Internet advertisements (designed for Raspberry Pi) Works on most Debian distributions as well. Hopefully on opensuse one day as well. Source: pi-hole/pi-hole: A black hole...
View ArticleSome links I’ll need for monit one day
Getting monit to run on opensuse isn’t a feat. I might try again one day with these links: Discussion of monit, a utility for monitoring and managing daemons on Unix [WayBack] Problem starting my monit...
View ArticleThe woods and trees of OpenSuSE on single-board computers – image...
Finding the right image There are many single-board computers on the OpenSuSE hardware-compatibility list (HCL), including: Raspberry models Pi, Pi 2, Pi 3 ODroid models C1, XU A lot of them have ready...
View Articleuse vmrun – via How do I find the IP address of a virtual machine using...
Note this works only when the VMs have VMware Tools installed (more on that below): VMWare provides, not surprisingly, a built in tool for this, vmrun. It’s under /Applications/VMware...
View Articleopensuse – How to run my script after SuSE finished booting up? – Unix &...
For future research: opensuse – How to run my script after SuSE finished booting up? – Unix & Linux Stack Exchange Reason? Want to show the output of this as the last boot sequence line: hostname...
View ArticleANSI HTML Adapter example
ANSI HTML Adapter example installation on OpenSuSE Tumbleweed: zypper addrepo http://download.opensuse.org/repositories/utilities/openSUSE_Factory/utilities.repo zypper refresh zypper install aha On...
View ArticleOpenSuSE Tumbleweed – when `halt` doesn’t halt, but CLI+HLT the CPU at the...
When halt is not a real halt but a “disabling” of the CPU. TL;DR: Don’t use halt, use poweroff instead. A while ago I wrote about OpenSuSE 12.x not halting after a halt: openSUSE 12.x: “A plain `halt`...
View ArticleHmm, named failing at start on one of the secondaries: need to investigate...
I was not too happy that this just happened after updating one of the DNS secondaries: May 24 21:29:48 laurel systemd[1]: Starting LSB: Domain Name System (DNS) server, named... -- Subject: Unit...
View ArticleReverse ssh tunnel between two linux boxes to allow RDP traffic over port 3389
You know the drill: site that limits incoming traffic and has painful VPN. Luckily this time outgoing ssh traffic on port 22 was allowed (because they do SFTP which is SSH File Transfer). Since I’ve...
View Article