Skip to main content

Posts

Showing posts from July, 2025

Raspberry Pi WOL via cable

 Headless Raspberry Pi set up: https://www.youtube.com/watch?v=9fEnvDgxwbI curl -fsSL https://pkgs.tailscale.com/stable/debian/trixie.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null echo 'deb [signed-by=/usr/share/keyrings/tailscale-archive-keyring.gpg] https://pkgs.tailscale.com/stable/debian trixie main' | sudo tee /etc/apt/sources.list.d/tailscale.list sudo tailscale up --ssh  sudo pacman -S wakeonlan  Making Wake-on-LAN (WOL) Persistent on Arch Linux By default, the ethtool setting for Wake-on-LAN does not persist across reboots on most Linux systems. To make Wake-on: g permanent for your network interface ( enp69s0 ), you have several reliable options: 1. Using a systemd Service Create a custom systemd service that sets WOL after the network interface is up: Create the service file /etc/systemd/system/wol@.service with the following content: text [Unit] Description=Enable Wake-on-LAN for %i Requires=network.target Afte...

Using rclone to integrate Google Drive in Arch

 sudo pacman -S rclone rclone config  # will need to set up secret key and client ID follow instructions    mkdir ~/GoogleDrive   rclone mount gdrive: ~/GoogleDrive --vfs-cache-mode writes --daemon  # can also use following to run in background (nohup): nohup rclone mount gdrive: ~/GoogleDrive --vfs-cache-mode writes --allow-non-empty --dir-cache-time 1000h --poll-interval 15s  systemctl --user edit --force --full rclone-mount.service   add: [Unit] Description=RClone Mount Google Drive After=network-online.target [Service] Type=notify ExecStart=/usr/bin/rclone mount gdrive: %h/GoogleDrive --vfs-cache-mode writes --vfs-cache-max-age 1h ExecStop=/bin/fusermount -u %h/GoogleDrive Restart=on-failure RestartSec=5 [Install] WantedBy=default.target    Enable: systemctl --user enable --now rclone-mount.service