Search found 384 matches

by peter_b
Tue Aug 27, 2024 12:02 pm
Forum: Knowledge Base
Topic: Linux: /sbin/init not found - won't boot
Replies: 0
Views: 281

Linux: /sbin/init not found - won't boot

For some reason (*) my /lib was suddenly empty. Very nasty. Long story short, here's how I fixed it: * boot a live distro (of similar OS version/flavor) * In my case: Xubuntu 20.04.6 (live) over 20.04.5 (=compatible, but slight library/version deviation) * Mount the broken OS system disk. * rsync -a...
by peter_b
Sat Aug 24, 2024 2:21 pm
Forum: HowTo's
Topic: yt-dlp: select resolution and file format
Replies: 0
Views: 458

yt-dlp: select resolution and file format

The following parameter selects a maximum resolution of 720 pixels (height), avc1 (=h.264) as video codec and mp4 as container format:

Code: Select all

$ yt-dlp -f "bv*[height<=720][ext=mp4][vcodec^=avc1]+ba*[ext=m4a]" URL
by peter_b
Tue Jun 18, 2024 5:23 pm
Forum: Knowledge Base
Topic: Samba & mpv: NT_STATUS_WRONG_CREDENTIAL_HANDLE
Replies: 0
Views: 2150

Samba & mpv: NT_STATUS_WRONG_CREDENTIAL_HANDLE

Here's an error that MPV throws when trying to open a file from a network (Samba on Linux) share: Using netbios name HOSTNAME1 Using workgroup DVA-PROFESSION. gensec_spnego_client_negTokenTarg_step: SPNEGO(ntlmssp) login failed: NT_STATUS_WRONG_CREDENTIAL_HANDLE [smb] Could not open from LAN: smb://...
by peter_b
Tue Jun 18, 2024 5:18 pm
Forum: Knowledge Base
Topic: Samba: Anonymous/guest access fails (or timeout)
Replies: 0
Views: 1447

Samba: Anonymous/guest access fails (or timeout)

[PROBLEM] I have a known-to-be-working smb.conf which shares a local folder with write-access for certain logins, and read-only access for guests/anonymous. Authenticated login (using a smbpasswd-mapped account) works. The config is known to be stable and working on many hosts (in my setups), but o...
by peter_b
Fri Jun 07, 2024 1:38 pm
Forum: Knowledge Base
Topic: Samba: mount error(13): Permission denied
Replies: 4
Views: 12014

Samba: mount error(22): Invalid argument

On Debian 10, I had "noatime" as argument in the fstab.
Removing it fixed the problem.

However, on Debian 12, "noatime" in the arguments in fstab for mounting cifs/smb share worked.
by peter_b
Wed May 22, 2024 9:08 pm
Forum: Knowledge Base
Topic: PVE/Proxmox: Stuck in a boot-reset loop after adding kernel parameter
Replies: 0
Views: 2757

PVE/Proxmox: Stuck in a boot-reset loop after adding kernel parameter

[PROBLEM] After adding new kernel parameters for full IOMMU separation of hardware devices (See Proxmox PVE: passthrough of non-GPU + split IOMMUs ). Seems like loading the kernel module (?) for `pcie_acs_override` support, triggers to load the mokmanager.efi boot image: proxmox_pve-mokmanager_boot...
by peter_b
Wed May 08, 2024 11:59 am
Forum: HowTo's
Topic: Proxmox PVE: passthrough of non-GPU + split IOMMUs
Replies: 0
Views: 2906

Proxmox PVE: passthrough of non-GPU + split IOMMUs

I'm passing through a Blackmagic Decklink SDI video capture card to a virtual machine on Proxmox PVE. The mainboard is an MSI Mortar B450M Max. Using any of the available 2 PCIe slots always put my Decklink card into a shared IOMMU group - that also contained many other onboard devices, such as netw...
by peter_b
Thu Apr 04, 2024 6:23 pm
Forum: Knowledge Base
Topic: Linux+Firefox+Github+Yubikey = "passkey registration failed"
Replies: 0
Views: 3808

Linux+Firefox+Github+Yubikey = "passkey registration failed"

PROBLEM =============== I was basically forced to buy a yubico key (2 actually: 1 backup) although I didn't want to: The model is a 30 EUR Yubico "Security Key C NFC" . Now Github 2 factor authentication was pissing me off for quite a while now, because I very often DO NOT have my phone w...
by peter_b
Fri Mar 15, 2024 3:13 pm
Forum: Knowledge Base
Topic: No route to host: missing cifs-utils package
Replies: 0
Views: 3664

No route to host: missing cifs-utils package

[PROBLEM] Trying to mount an smb/cifs share using a proper, working /etc/fstab entry: mount: /mnt/inbox/bd1-inbox: mount(2) system call failed: No route to host. The same config works perfectly on another machine - and the IP route to host (including name-resolution) works perfectly. [SOLUTION] $ a...
by peter_b
Wed Mar 06, 2024 10:00 pm
Forum: Knowledge Base
Topic: github: permission denied (publickey)
Replies: 0
Views: 3401

github: permission denied (publickey)

I've had several reasons for the following error: git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 1. SSH config (~/.ssh/config) had no public key set. 2. Remote-URL wasn't poin...
by peter_b
Wed Mar 06, 2024 9:58 pm
Forum: Knowledge Base
Topic: github: permission denid
Replies: 0
Views: 3358

github: permission denid

[PROBLEM] Trying to "git push" to a repository of mine on github.com: ERROR: Permission to USER1/repository.git denied to USER2. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Seems there's a mixup between which...
by peter_b
Tue Feb 27, 2024 10:55 pm
Forum: HowTo's
Topic: irtoy & ir-keytable on xubuntu 20.04
Replies: 0
Views: 3140

irtoy & ir-keytable on xubuntu 20.04

Here's my working command that "sees" all buttons pressed on remotes of 2 different devices: $ sudo ir-keytable -t -v -p rc-5,rc-6,nec * Philips VCR (VR 740) * Universum VCR (VR-2796) Here's an overview of "hello to the irtoy device": $ sudo ir-keytable Found /sys/class/rc/rc0/ w...
by peter_b
Tue Feb 27, 2024 10:51 pm
Forum: Knowledge Base
Topic: LIRC & irtoy: hardware does not support sending
Replies: 0
Views: 3481

LIRC & irtoy: hardware does not support sending

Updating my existing IR setup - yet again (for the n-th time in 20 years...) irToy hardware IR sender/receiver on Xubuntu 20.04.6, using lirc 0.10.1. It works! 8) :D Well, at first I got an error, when I tried this: $ irsend SEND_ONCE UniversumVCR power hardware does not support sending [SOLUTION] E...
by peter_b
Tue Feb 27, 2024 12:50 pm
Forum: Knowledge Base
Topic: LIRC on Xubuntu 20.04: control process dump core
Replies: 0
Views: 3414

LIRC on Xubuntu 20.04: control process dump core

Running "apt install lirc" on Xubuntu 20.04.6, fails to install lirc package - and leaves apt in an unclean state: Setting up lirc (0.10.1-6.1) ... Job for lircd.service failed because a fatal signal was delivered causing the control process to dump core. See "systemctl status lircd.s...
by peter_b
Tue Feb 20, 2024 1:07 am
Forum: Knowledge Base
Topic: ImageMagick:
Replies: 1
Views: 5922

ImageMagick: split/crop error "no images defined"

Again, splitting the very same images, I ran into the following error: $ convert video_motion.png -crop 30000 out-%02d.png convert-im6.q16: no images defined `out-%02d.png' @ error/convert.c/ConvertImageCommand/3258. I seem to have forgotten to write down the following change, too: In `/etc/ImageMag...