Need remote access to help people troubleshoot their computers around the farm. But needs to have access on lock screen even before first user has logged in. sudo apt install x11vnc sudo nano /etc/systemd/system/x11vnc.service sudo systemctl daemon-reload sudo systemctl enable –now x11vnc sudo x11vnc -storepasswd /etc/x11vnc.passwd
Author: admin
pihole backup
Pihole runs my site blocking as well as my DHCP server. It’s a LXC container on Proxmox. If the host goes down or there’s a network problem, I lose my DHCP server. I need a second pihole running on a separate machine to reduce downtime in case of failure. However, I have a bunch of…
Audio on Linux flashed Chromebooks
Certain drivers on Chromebooks have issues. On Lenovo 100e Gen 2, audio is one of them. Two links to fix it. echo "deb http://deb.debian.org/debian trixie-backports main contrib non-free non-free-firmware" | sudo tee /etc/apt/sources.list.d/backports.list sudo apt update sudo apt install -t trixie-backports linux-image-amd64 linux-headers-amd64 git -y sudo reboot 2. Adjust ALSA conf to fix broken paths,…
Gargoyle in a VM on a USFF PC running Proxmox with eth0 as LAN and wifi as WAN
The problem:My router (WDR4300) was overloaded with 30ish concurrent clients and 240ish quotas to keep track of, and load was way too high. Option 1: Switch to a Draytek router with quota mangementOption 2: Buy a USB->Ethernet adapter and virtualize Gargoyle on Proxmox on a 4th gen intel processorOption 3: Set up VLANs on a…
Network ping checks
On the farm, I need to ping hosts to make sure all the antennas and routers are working correctly. I have historically been doing this with a Tasmota device using the following ruleset: However, I can do the same thing a little faster with a debian system. sudo nano ~/ping_monitor.sh sudo chmod +x ping_monitor.sh sudo…
Set up VPS on Oracle with VNC access
Install lubuntu sudo apt install –no-install-recommends lubuntu-desktop Install Tigervnc sudo apt install tigervnc-standalone-server tigervnc-xorg-extension vncpasswd to choose a password sudo nano ~/.vnc/xstartup to start lxqt once vncserver is started sudo nano /lib/system/system/tigervncserver@.service and replace what’s in there with sudo systemctl daemon-reload sudo systemctl enable tigervncserver@1.service On host machine, establish ssh tunnel to forward traffic to…
Interacting with SMS USSD on Debian
On my 4G sticks, I’d like to have a way to know how much data is used each day and what the remaining balance is, and have that sent to me on a regular basis (and logged to the victoriametrics time-series database). Can use data to do that or SMS. But I need a way…
Connman bug with Docker and LXQT/LXDE desktop environments
Certain versions of Connman (which sucks) will allow Docker to create default routes of their VETH devices, which normally just bridge between the docker container and docker bridge. This kills host network connectivity as soon as Docker starts up. Thanks to this thread, the solution is simple. sudo nano /etc/connman/main.conf uncomment the NetworkInterfaceBlacklist line and…
Proxmox kernel bug with e1000 ethernet NICs
Post kernel 6.8.12-8, bug was introduced which causes the NIC to crash and not recover. Revert to 6.8.12-8 kernel to prevent the problem. Other temporary solutions include turning off cpu-offloading options. In the Node console: apt updateapt install proxmox-kernel-6.8.12-8-pveproxmox-boot-tool kernel pin 6.8.12-8-pve *Update* This bug still exists in Promxox 9.2.11 (kernel 7.0.14-14). This proxmox thread…
Status display with monitor/TV and Raspi Zero 2W
I have a number of places around the farm where I need information displayed so workers can keep track of machine status, temperatures, and power consumption. I have a central server that has a influxdb database and grafana to display the info on various dashboards. The cheapest way I have found to have a live…