Skip Navigation
Deleted
Wireguard ping problem
  • $ ip a
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
        inet 127.0.0.1/8 scope host lo
           valid_lft forever preferred_lft forever
        inet [REDACTED]/32 scope global lo
           valid_lft forever preferred_lft forever
        inet6 ::1/128 scope host noprefixroute 
           valid_lft forever preferred_lft forever
    2: enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
        link/ether [REDACTED] brd ff:ff:ff:ff:ff:ff
        inet [REDACTED]/30 brd [REDACTED] scope global dynamic enp6s0
           valid_lft 327sec preferred_lft 327sec
        inet6 fe80::8e0:afff:feae:17cf/64 scope link 
           valid_lft forever preferred_lft forever
    3: wlp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
        link/ether [REDACTED] brd ff:ff:ff:ff:ff:ff
        inet 192.168.0.1/24 brd 192.168.0.255 scope global wlp5s0
           valid_lft forever preferred_lft forever
        inet6 fe80::1291:d1ff:fe5a:2af8/64 scope link 
           valid_lft forever preferred_lft forever
    4: virbr1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
        link/ether 52:54:00:cf:c8:59 brd ff:ff:ff:ff:ff:ff
        inet 192.168.2.1/24 brd 192.168.2.255 scope global virbr1
           valid_lft forever preferred_lft forever
    5: virbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
        link/ether 52:54:00:bb:da:14 brd ff:ff:ff:ff:ff:ff
        inet 192.168.1.1/24 brd 192.168.1.255 scope global virbr0
           valid_lft forever preferred_lft forever
    6: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master virbr0 state UNKNOWN group default qlen 1000
        link/ether fe:54:00:ec:b8:55 brd ff:ff:ff:ff:ff:ff
        inet6 fe80::fc54:ff:feec:b855/64 scope link 
           valid_lft forever preferred_lft forever
    7: wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN group default qlen 1000
        link/none 
        inet 10.0.1.1/24 scope global wg0
           valid_lft forever preferred_lft forever
    
    # route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         [REDACTED]    0.0.0.0         UG    0      0        0 enp6s0
    10.0.1.0        0.0.0.0         255.255.255.0   U     0      0        0 wg0
    [REDACTED]    0.0.0.0         255.255.255.252 U     0      0        0 enp6s0
    192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 wlp5s0
    192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 virbr0
    192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 virbr1
    
    # iptables -L
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination         
    # iptables -L -t nat
    Chain PREROUTING (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain POSTROUTING (policy ACCEPT)
    target     prot opt source               destination         
    MASQUERADE  all  --  anywhere             anywhere            
    
  • Set custom refresh rate
  • In this guide author dumped edid from disaplay and then loaded it without any modifications. So after reloading edid you can choose any resolution? Or I understood something wrong?

  • Set custom refresh rate

    Hello! I am on Fedora 40 KDE Edition (Wayland). I have monitor with two supported refresh rates (60, 50 Hz). How can I set custom refresh rate? I know, on Windows you can use CRU.

    10
    Desiable shutdown for users
  • Thank you, it works! But I got weird behavior:

    1. User sddm also cannot execute poweroff (it is ok) but if I press shutdown button in sddm it will poweroff (not ok).
    2. If I press shut down in KDE Plasma I will get black screen and no sddm (I can restart it with systemctl restart sddm from tty and it will work again) How can I fix this bugs?
  • Desiable shutdown for users
  • They all operates some way through systemd, so if operation is disabled via policy you cannot bypass it.

    sasha@fedora:~$ /sbin/halt
    Call to Halt failed: Interactive authentication required.
    
  • Desiable shutdown for users

    Hello! Halt on Linux is disabled for average user by default. It will try to request sudo/root password and if fails returns: sasha@fedora:~$ systemctl halt Call to Halt failed: Access denied How can I make same behavior for poweroff action? I know it is possible somehow via PolicyKit rulle

    11
    How to switch Xorg to llvmpipe

    Hello! I have a very old PC with intel i915 graphics, which doesn't correctly display KDE and shows a lot of bugs. I know it is possible to switch to software acceleration in X server. On NVdia I can pass nouveau.noaccel=1 to kernel. So how can I disable hardware acceleration here? Maybe this is possible via Xorg config?

    5
    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
    Deleted
    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
    
    
  • [Solved] 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

    19
    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

    41
    [Solved] 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
    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
    Bitwarden - The unofficial Bitwarden community @lemmy.ml user_naa @lemmy.world
    [Solved] 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.

    Upd: In latest updates native Bitwarden Android app is pretty good.

    5
    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/)US
    user_naa @lemmy.world

    Mastodon: @user_naa@mastodon.social

    Posts 10
    Comments 59