user_naa

joined 1 month ago
 

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

[–] [email protected] 0 points 2 weeks ago (1 children)

X server isn't starting

[–] [email protected] 0 points 2 weeks ago* (last edited 2 weeks ago) (3 children)

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

 

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

 

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?

 

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

[–] [email protected] 1 points 1 month ago

Invidious doesn't work now lol

[–] [email protected] 1 points 1 month ago (1 children)

In LibreTube doesn't work

[–] [email protected] 1 points 1 month ago (3 children)

Same error on smnz.de

[–] [email protected] 3 points 1 month ago

Grayjay is proprietary, so I don't think it is very good for privacy and freedom

[–] [email protected] 2 points 1 month ago (2 children)

FreeTube also doesn't work well

[–] [email protected] 1 points 1 month ago

I am looking for Piped instance for LibreTube, but this is better than nothing. Than you!

[–] [email protected] 2 points 1 month ago (1 children)

Why you can't just issue Let's Encrypt certificate via certbot?

[–] [email protected] 1 points 1 month ago

Frontend doesn't matter. And I am watching videos primarily via LibreTube Android app

 

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

1
submitted 1 month ago* (last edited 4 weeks ago) by [email protected] to c/[email protected]
 

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.

 

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.