Spyke

Posts

Managing Updates Across Multiple Arch Based Systems

Greetings everyone,

So I have been pondering on how to accomplish something;

I have multiple Arch based systems, and I want to try to manage updates on all of them so they are all on the same version. So I was wondering how anyone may go about doing this?

One thought was that I could host my own Arch repo, where I have a server that pre-builds all of the packages I want to be installed across my systems. However, each machine has different hardware, so I would have to build driver packages such as Nvidia related packages for one machine, etc.

How do you handle managing updates across multiple Arch machines?

Thank you!

View original on lemm.ee

Networking Oddity

Hello Selfhosted!

So I have an interesting issue. I have a docker host, and that host i have a Caddy container. I have that setup to handle reverse proxying. I have it setup to be local only. I have a pihole and a wireguard server. And can connect to my network successfully.

The part that confuses me is that while on network everything works great. While on VPN I can connect to services by IP:Port. If I use mobile data with VPN, I can't use the site addresses. x.domain.xxx (for privacy sake I'm leaving my domain out of the post.) But when I connect to WiFi, any WiFi, and connect to VPN I can go to the address I have setup for reverse proxying.

I am unsure how to troubleshoot this. Any pointers would be appreciated.

View original on lemm.ee
linux4noobs·Linux 101 stuff. Questions are encouraged, noobs are welcome!byHellmo_luciferrari

In need of help recovering Laptop stuck in grub shell

Well, wasn't expecting this...

I rebooted my laptop, and it keeps booting to the grub shell.

I was going to arch-chroot into it and update grub, and rebuild intarimfs, however, I guess I don't know how to with BTRFS subvolumes that are LUKS encrypted.

I would appreciate any help, and am willing to learn.

I could even jump on a call of some kind if anyone has time to help...


Arch

BTRFS encrypted with LUKS (No LVM)

GRUB


I live booted into the live usb

cryptsetup luksOpen /dev/nvme0n1p2 arch
mount /dev/mapper/arch /mnt
arch-chroot /mnt

Output:

mount: /mnt/proc: mount point does not exist
dmesg(1) may have more information after failed mount system call.
=> ERROR: failed to setup chroot /mnt

So I browsed /mnt and it lists subvolumes. However, I am not sure how to go about arch-chrooting into this.

View original on lemm.ee
linux4noobs·Linux 101 stuff. Questions are encouraged, noobs are welcome!byHellmo_luciferrari

Qcow2 vs Physical Disk for QEMU

Hello everyone,

Back again with more questions maybe you all could help with.

So currently I am running Arch with BTRFS, and for a few specific programs that aren't all that graphically intensive (Specifically Line 6 applications for my Helix and PowerAmp) and the Windows VM I am running through QEMU is using qcow2 for the disk. I do have another Gen 4 NVME that is unused in my system I could use for the VM itself.

How much of a performance gain would I notice using a separate NVME for my Windows VM over qcow2?

View original on lemm.ee
linux4noobs·Linux 101 stuff. Questions are encouraged, noobs are welcome!byHellmo_luciferrari

Adding Mods to Games

So not sure where else to ask, maybe someone here knows?

I am using Heroic Launcher to play Control which I own through GOG.

There are a few mods I wanted to add to the game:

The first mod is a requirement for the next 3.


So the first mod for Windows I would need to add the DLL to where the game is installed. This is where I run into issues. I did that, put the DLL in the games install directory, however it is not loading the DLL.

I investigated using Winetricks GUI from Heroic Launcher to see if there was a way to add a DLL and register it. However, it doesn't give me an option to install a custom DLL.

All of my searching has not lead me to see how I could register the DLL for my Control Prefix.


I could be going about this all wrong, so if anyone has any tips or suggestions I would very much appreciate it.

Thank you!

View original on lemm.ee
linux4noobs·Linux 101 stuff. Questions are encouraged, noobs are welcome!byHellmo_luciferrari

Updating Firmware

So I switched to Arch full time last month, and that got me thinking: How do I update the firmware of my devices?

I know about fwupd, however from my understanding not all vendors support linux.

In this case, I have an Asus motherboard, and after brief searching I seemed to come across results that would point that Asus isn't one of the manufacturers who support firmware updates from linux.

That being said, how do you all update your firmware if you know the vendor doesn't support linux?


I can't imagine that I could update the firmware from QEMU, and nor do I want to try. I don't want to have windows installed on my system at all. So then I thought, can I go about this via Windows to Go? And that is the solution I am going to investigate trying...

View original on lemm.ee

Traefik and external services

Hello Selfhosted peeps!

So I just got Traefik v3 setup inside my docker environment, and successfully got SSL certs for my services hosted within docker. However, I have an external device hosting PiHole and Wireguard-UI. I am looking to use the docker instance of Traefik v3 to obtain SSL certs for the internal use only for PiHole and Wireguard-UI.

I am still new to Traefik, and have no idea if this is possible, or how I would go about doing this.

Any tips, suggestions, links to documentation; I am all ears.

Video

Notes for above video

These 2 resources I utilized to help further my understanding.

Thank you

View original on lemm.ee

Homelab Organization

Hi all!

So I want to get back into self hosting, but every time I have stopped is because I have lack of documentation to fix things that break. So I pose a question, how do you all go about keeping your setup documented? What programs do you use?

I have leaning towards open source software, so things like OneNote, or anything Microsoft are out of the question.


Edit: I didn't want to add another post and annoy people, but had another inquiry:

What ReverseProxy do you use? I plan to run a bunch of services from docker, and would like to be able to reserve an IP:Port to something like service.mylocaldomain.lan

I already have Unbound setup on my PiHole, so I have the ability to set DNS records internally.

Bonus points if whatever ReverseProxy setup can accomplish SSL cert automation.

View original on lemm.ee
linux4noobs·Linux 101 stuff. Questions are encouraged, noobs are welcome!byHellmo_luciferrari

Grub-btrfsd.service degraded and failing to start

                 -`                     hellmo@archie
                 .o+`                    -------------
                `ooo/                    OS: Arch Linux x86_64
               `+oooo:                   Host: INTEL
              `+oooooo:                  Kernel: Linux 6.9.7-zen1-1-zen
              -+oooooo+:                 Uptime: 7 mins
            `/:-:++oooo+:                Packages: 1169 (pacman)
           `/++++/+++++++:               Shell: bash 5.2.26
          `/++++++++++++++:              Display (ASUS PB278): 2560x1440 @ 60Hz
         `/+++ooooooooooooo/`            Display (ASUS VG32V): 2560x1440 @ 144Hz
        ./ooosssso++osssssso+`           DE: KDE Plasma 6.1.1
       .oossssso-````/ossssss+`          WM: KWin (Wayland)
      -osssssso.      :ssssssso.         WM Theme: Breeze
     :osssssss/        osssso+++.        Theme: Breeze (Dark) [QT], Breeze-Dark [GTK2], Breeze [GTK3]
    /ossssssss/        +ssssooo/-        Icons: candy-icons [QT], candy-icons [GTK2/3/4]
  `/ossssso+/:-        -:/+osssso+-      Font: Noto Sans (10pt) [QT], Noto Sans (10pt) [GTK2/3/4]
 `+sso+:-`                 `.-/+oso:     Cursor: breeze (24px)
`++:.                           `-/+/    Terminal: yakuake 24.05.1
.`                                 `/    CPU: 12th Gen Intel(R) Core(TM) i7-12700KF (20) @ 5.00 GHz
                                         GPU: NVIDIA GeForce RTX 3090 [Discrete]
                                         Memory: 3.43 GiB / 62.60 GiB (5%)
                                         Swap: 0 B / 4.00 GiB (0%)
                                         Disk (/): 151.91 GiB / 1.82 TiB (8%) - btrfs
                                         Local IP (enp7s0): x.x.x.x/x *
                                         Locale: en_US.UTF-8

I am having some issues with my Arch install:

  UNIT                LOAD   ACTIVE SUB    DESCRIPTION              
● grub-btrfsd.service loaded failed failed Regenerate grub-btrfs.cfg

Legend: LOAD   → Reflects whether the unit definition was properly loaded.
        ACTIVE → The high-level unit activation state, i.e. generalization of SUB.
        SUB    → The low-level unit activation state, values depend on unit type.

1 loaded units listed.

I have already tried:

sudo systemctl restart grub-btrfsd.service

sudo grub-mkconfig -o /boot/grub/grub.cfg


Does anyone have any suggestions? I am failing to understand how to resolve this issue... Any help would be wonderful...

View original on lemm.ee

Synchronizing user (files, configs, etc) between 2 machines

Not a stranger to using linux, but never bothered with keeping things synchronized between devices.

I have a laptop, and a desktop both running Arch (I use Arch BTW) and wanted to investigate the best way to synchronize things from device to device. Just to outline some details, both are running KDE on Wayland, both BTRFS, as well as a number of other similarities such as username.

I want to be able to synchronize certain config files, Documents and Files, and was going to go the Syncthing route.

What are you doing, or what would you recommend to setup in order to have parity between two devices?

View original on lemm.ee
linux4noobs·Linux 101 stuff. Questions are encouraged, noobs are welcome!byHellmo_luciferrari

UFW and a Windows KVM with Virt-Manager

So, I finally ditched Windows... All except for my need for a VM to use some hardware that aren't supported in Windows.

I setup a Virtual Machine with Virt-Manager for a Windows VM but the network traffic is being blocked by UFW. If I disable UFW the Windows VM can pull an IP, which is static as is, and even after turning UFW back on, the network traffic is still allowed.

I am in need of some help with networking for the VM.

<interface type="network">
  <mac address="52:54:00:d7:8f:48"/>
  <source network="default" portid="d7ff3b1f-2c9b-4a62-b9e0-180855f14de7" bridge="virbr0"/>
  <target dev="vnet2"/>
  <model type="e1000e"/>
  <link state="up"/>
  <alias name="net0"/>
  <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
</interface>

This is the networking setup within Virt-Manager.

Any advice for getting network access on the VM?

View original on lemm.ee
linuxscripts·Linux Troubleshooting and scriptsbyHellmo_luciferrari

Goverlay/Mangohud issues

cross-posted from: https://lemm.ee/post/35034629

I am having issues with Mangohud and Goverlay.

Upon opening Goverlay it gives a black box and has issues closing without forcing it shutdown.

https://ibb.co/pnzKZdd

OS: Arch Linux x86_64 Kernel: Linux 6.9.5-zen1-1-zen DE: KDE Plasma 6.0.5 WM: KWin (Wayland) CPU: 12th Gen Intel(R) Core(TM) i7-12700KF (20) @ 5.00 GHz GPU: NVIDIA GeForce RTX 3090 [Discrete] Memory: 4.09 GiB / 62.60 GiB (7%)

I have tried uninstalling both Goverlay and Mangohud

I have also removed .conf files from: ~/.config/MangoHud /usr/share/doc/mangohud

Is there more that I need to do to clean uninstall and reinstall?

Any help would be appreciated

https://ibb.co/pnzKZddOpen linkView original on lemm.ee

Goverlay/Mangohud issues

cross-posted from: https://lemm.ee/post/35034629

I am having issues with Mangohud and Goverlay.

Upon opening Goverlay it gives a black box and has issues closing without forcing it shutdown.

https://ibb.co/pnzKZdd

OS: Arch Linux x86_64 Kernel: Linux 6.9.5-zen1-1-zen DE: KDE Plasma 6.0.5 WM: KWin (Wayland) CPU: 12th Gen Intel(R) Core(TM) i7-12700KF (20) @ 5.00 GHz GPU: NVIDIA GeForce RTX 3090 [Discrete] Memory: 4.09 GiB / 62.60 GiB (7%)

I have tried uninstalling both Goverlay and Mangohud

I have also removed .conf files from: ~/.config/MangoHud /usr/share/doc/mangohud

Is there more that I need to do to clean uninstall and reinstall?

Any help would be appreciated

https://ibb.co/pnzKZddOpen linkView original on lemm.ee

Goverlay/Mangohud issues

I am having issues with Mangohud and Goverlay.

Upon opening Goverlay it gives a black box and has issues closing without forcing it shutdown.

https://ibb.co/pnzKZdd

OS: Arch Linux x86_64 Kernel: Linux 6.9.5-zen1-1-zen DE: KDE Plasma 6.0.5 WM: KWin (Wayland) CPU: 12th Gen Intel(R) Core(TM) i7-12700KF (20) @ 5.00 GHz GPU: NVIDIA GeForce RTX 3090 [Discrete] Memory: 4.09 GiB / 62.60 GiB (7%)

I have tried uninstalling both Goverlay and Mangohud

I have also removed .conf files from: ~/.config/MangoHud /usr/share/doc/mangohud

Is there more that I need to do to clean uninstall and reinstall?

Any help would be appreciated

Goverlay/Mangohud issueshttps://ibb.co/pnzKZddOpen linkView original on lemm.ee
linuxscripts·Linux Troubleshooting and scriptsbyHellmo_luciferrari

KDE Plasma 6 wakiing up display issues

Having issues with the display when waking up resolution and position is reverting on one of the monitors.

OS: Arch Linux x86_64

Kernel: Linux 6.9.5-zen1-1-zen

DE: KDE Plasma 6.0.5

WM: KWin (Wayland)

CPU: 12th Gen Intel(R) Core(TM) i7-12700KF (20) @ 5.00 GHz

GPU: NVIDIA GeForce RTX 3090 [Discrete]

Unsure of how to go about this. I am using Display Port (unsure of what version but it supports sound too.) Not sure where to look for logs, or what exactly could be the culprit.

Any suggestions?

View original on lemm.ee

What Rom do you prefer for your Pixel device?

Hello everyone!

A lot has happened since my last post, specifically talking about my LineageOS inquiries. I had a string of bad luck and broke the digitizer but no cracks to my Pixel 7 Pro.

So I ended up "upgrading" to the Pixel 8 Pro because the store I went to only had the 8 Pro and not the 7 Pro in stock and it was dire that I have a phone.

So this leads me to my next questions:

What is your favorite Android spin for your Pixel Device?


I have used GrapheneOS, LineageOS, and Stock Android (of various versions on my Pro 7)

This leads me down the rabbit hole of deciding which experience I want on my Pixel 8 Pro.


I have GrapheneOS on my 8 Pro right now because I wanted to see if I could make it fit my needs, and I am leaning towards it not working for me. Since I switched, android auto is not connecting even following the instructions GrapheneOS has to offer.

AdAway (nonroot) is not working on GrapheneOS, as it just kills any internet connection to everything on GrapheneOS. So that's another point against me wanting to stick with GrapheneOS.

No AFwall+. Another point against it.


It appears that CalyxOS is going to give me a similar experience with issues related to the ones I mentioned with GrapheneOS.

--

I had considered trying out LineageOS for microG but unsure if this is the route I want to go because I am unsure if some of the apps I will rely on will work for various reasons. (Mainly unsure if MicroG will suffice for them.)


I am open to other options to, and would love to hear what you are using!


Thank you!

View original on lemm.ee

LineageOS Inquiry

Hello! Longtime Android user here.

I am currently using LineageOS 21 on my Pixel 7 Pro, however after rooting and running a few Magisk modules I have been having issues with overheating.

So what I planned to do is build LineageOS myself, and use a custom kernel.

One of these:


Some follow up questions:

  • Will this break using banking apps because of custom kernel? (even with Chiteroman's PIF, Zygisk, and Shamiko?)

  • However, I am unsure if I build LineageOS 21 with one of these custom kernels if I will be required to build each update with the custom kernel, or if the updater would update my build.


I am open to suggestions on how to solve my thermal issues if anyone has any.

Thank you!

Edit: more questions

View original on lemm.ee