Search found 387 matches

by peter_b
Wed Nov 27, 2024 11:38 am
Forum: Knowledge Base
Topic: Samba: No such file or directory (BAD_NETWORK_NAME)
Replies: 0
Views: 467

Samba: No such file or directory (BAD_NETWORK_NAME)

Tried to mount a samba share, and got this error: mount error(2): No such file or directory dmesg said: kernel: CIFS VFS: BAD_NETWORK_NAME: \\servername\sharename [SOLUTION] It was actually so, that the wrong /etc/samba/smb.conf was loaded - so "sharename" was not present. Make sure that &...
by peter_b
Wed Nov 20, 2024 4:51 pm
Forum: HowTo's
Topic: yt-dlp: select resolution and file format
Replies: 1
Views: 1866

Re: yt-dlp: add metadata!

yt-dlp supports extended file attributes (EAs) - aka "xattrs" on Linux/MacOS: --xattrs Write metadata to the video file's xattrs (using dublin core and xdg standards) This stores descriptive metadata *with* the downloaded object/file. For example, the following video "Vessel" (by...
by peter_b
Fri Nov 15, 2024 10:04 pm
Forum: Knowledge Base
Topic: Xubuntu 20.04 & snap: "127.0.0.1:443: connect: connection refused"
Replies: 0
Views: 579

Xubuntu 20.04 & snap: "127.0.0.1:443: connect: connection refused"

[PROBLEM] sudo snap install btop [sudo] password for user: error: cannot install "btop": Post "https://api.snapcraft.io/v2/snaps/refresh": dial tcp 127.0.0.1:443: connect: connection refused [SOLUTION] I had the following lines in my "/etc/hosts": # Hack to disable aut...
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: 1530

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: 1
Views: 1866

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: 2921

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: 2191

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: 12503

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: 3590

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: 3765

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: 4607

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: 4474

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: 4176

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: 4076

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: 3886

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...