Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)UN
user_naa @lemmy.world

Mastodon: @[email protected]

Posts 11
Comments 50
Libvirt USB passthrought via port
  • No, this is not possible. Virt-manager is just a GUI over libvirt. For now libvirt doesn't support USB passthrought by port id, only by device id (which changes on each plug) or vendor id.

  • Libvirt USB passthrought via port

    Hello! I need to create a VM and passthrought some host USB port to it. Sadly libvirt doesn't support QEMU built-in feature to use -hostport argument (which was added 10 years ago...). I tried to add custom arguments to domain (<qemu:commandline>) but this didn't work. When I just run qemu-system-x86_64 -device host-usb,hostbus=X,hostport=Y -usb everything works well. It seems like libvirt restricts some QEMU actions. How can I fix this? OS: Debian 12

    7
    X.org: no screens found
  • Kernel driver is loaded

    # lsmod | grep radeon
    radeon               1888256  9
    video                  77824  2 amdgpu,radeon
    i2c_algo_bit           12288  2 amdgpu,radeon
    drm_suballoc_helper    12288  2 amdgpu,radeon
    drm_display_helper    266240  2 amdgpu,radeon
    drm_ttm_helper         12288  2 amdgpu,radeon
    ttm                   102400  3 amdgpu,radeon,drm_ttm_helper
    drm_kms_helper        253952  3 drm_display_helper,amdgpu,radeon
    drm                   749568  16 gpu_sched,drm_kms_helper,drm_exec,drm_suballoc_helper,drm_display_helper,drm_buddy,amdgpu,radeon,drm_ttm_helper,ttm,amdxcp
    
    
  • X.org: no screens found

    Recenty I changed my old NVidia GPU with nouveau to AMD. I installed firmware-amd-graphics and set up radron kernel driver. But when I try to start X11 with default config (X -configure) it fails with no screen error. Kernel radeon driver works well and tty resolution is proper. When I try run Debian live usb X.org works well. Xorg.0.log: https://pastebin.com/7tsvGA7r OS: Debian 12

    15
    Running Arch in chroot
  • If you're using an Intel chip look into GVT-g and consider running Arch from a VM, that'll be the closest thing to native.

    I want to start clear Arch Wayland session on one my ttys and want to Arch have full direct hardware access.

    The unfortunate thing about running an Arch container from a Debian host is that you're relying on an older kernel

    I use latest Linux-libre on my Debian machine and everything works well.

    If you are very, very lucky Arch will just work inside the container, but IME that's fairly rare as systemd often has breaking changes over several releases (and Arch tends to be at least several releases ahead of Debian.)

    As I mentioned earlier I tried running Archbox. It is basically script to easy set up chroot. The main problem was that compositor couldn't connect to Wayland socket.

  • Running Arch in chroot

    I am using Debian for long time and really like it for stability. Recently I wondered if it is possible to run Arch Linux from chroot. I want to run full Wayland session from Arch. I found Archbox project and it is worked for me, but I couldn't start any Wayland compositor from tty (Error: can't connect to Wayland socket . ). How can I properly do this? Or maybe there is a better way than chroot?

    11

    Can't connect to host after enabling WireGuard tunnel

    I installed WireGuard on my host and set this configuration /etc/wireguard/wg0.conf:

    ``` [Interface] Address = 10.0.0.1/24 ListenPort = 51820 PrivateKey = [REDACTED] PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -t nat -A POSTROUTING -o ens3 -j MASQUERADE PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -t nat -D POSTROUTING -o ens3 -j MASQUERADE

    [Peer] PublicKey = [REDACTED] PresharedKey = [REDACTED] AllowedIPs = 10.0.0.2/32

    [Peer] PublicKey = [REDACTED] PresharedKey = [REDACTED] AllowedIPs = 10.0.0.3/32

    [Peer] PublicKey = [REDACTED] PresharedKey = [REDACTED] AllowedIPs = 10.0.0.4/32

    [Peer] PublicKey = [REDACTED] PresharedKey = [REDACTED] AllowedIPs = 10.0.0.5/32

    [Peer] PublicKey = [REDACTED] PresharedKey = [REDACTED] AllowedIPs = 10.0.0.6/32

    [Peer] PublicKey = [REDACTED] PresharedKey = [REDACTED] AllowedIPs = 10.0.0.7/32

    [Peer] PublicKey = [REDACTED] PresharedKey = [REDACTED] AllowedIPs = 10.0.0.8/32

    [Peer] PublicKey = [REDACTED] PresharedKey = [REDACTED] AllowedIPs = 10.0.0.9/32

    [Peer] PublicKey = [REDACTED] PresharedKey = [REDACTED] AllowedIPs = 10.0.0.10/32

    [Peer] PublicKey = [REDACTED] PresharedKey = [REDACTED] AllowedIPs = 10.0.0.11/32

    ``` Nmap scan when wg0 is down:

    ``` Starting Nmap 7.93 ( https://nmap.org ) at 2024-08-16 03:26 CDT Host is up (0.050s latency). Not shown: 998 closed tcp ports (conn-refused) PORT STATE SERVICE 22/tcp open ssh 179/tcp filtered bgp

    Nmap done: 1 IP address (1 host up) scanned in 1.93 seconds ```

    Nmap scan when wg0 is up:

    ``` Starting Nmap 7.93 ( https://nmap.org ) at 2024-08-16 03:27 CDT All 1000 scanned ports are in ignored states. Not shown: 1000 filtered tcp ports (no-response)

    Nmap done: 1 IP address (1 host up) scanned in 201.43 seconds

    ``` I also cannot connect to host via ssh. How to fix this issue?

    Upd. Fixed my changing server WireGuard IP to 10.0.1.1. 10.0.0.1 was already taken

    19

    Good FLOSS casual games

    Hello! Share good casual libre android games if you know any

    20

    Death of Piped?

    Last two weeks every time I use Piped I am getting error "Sign in to confirm you are not a bot". It happens on every instance and videos work very rarely. It seems like Google enforces you to log in if you try watch lot of videos from one IP. I hope this will not be end of Piped and there will be solution for this problem.

    Upd. I got similar problem on Invidious recently

    39

    Disk utility to use in scripts

    Is there any good alternative to parted, that I can use in scripts? Parted main problem is that it requires user confirmation one each action.

    10

    Wi-Fi adapters for OpenWRT

    Hello! Is there any good Wi-Fi adapters that compatible with OpenWRT? I want to run OpenWRT in QEMU on my home server and share Wi-Fi from it.

    7

    Telegram channels alternative

    Hello! What is the best alternative to Telegram channels in Fediverse? I need platform where I can post messages in different topics and users can subscribe to them.

    27

    PeerTube likes/dislikes support

    Many people use Mastodon to follow PeerTube channels. It is very convenient that you can fetch videos to your feed and even post comments & replies from your account. But you need to login to PeerTube to like videos. Is there a way to improve this?

    5
    Bitwarden - The unofficial Bitwarden community @lemmy.ml user_naa @lemmy.world

    Material You Android app

    Hello! Is there any good FOSS Bitwarden Android app with Material You design? The official one is very ugly and laggy.

    7