Wireguard on Proxmox

Wireguard on proxmox: https://securityboulevard.com/2019/04/howto-install-wireguard-in-an-unprivileged-container-proxmox/ https://www.digitalocean.com/community/tutorials/how-to-create-a-point-to-point-vpn-with-wireguard-on-ubuntu-16-04 https://wiki.archlinux.org/index.php/WireGuard Add Wireguard debian unstable source echo “deb http://deb.debian.org/debian/ unstable main” > /etc/apt/sources.list.d/unstable-wireguard.list printf ‘Package: *\nPin: release a=unstable\nPin-Priority: 90\n’ > /etc/apt/preferences.d/limit-unstable Update, install wireguard and kernel headers apt update apt install wireguard pve-headers Run DKMS autoinstall, probe kernel module, and add to conf file dkms autoinstall modprobe wireguard echo “wireguard” … Continue reading “Wireguard on Proxmox”

Deluge web UI disable password

## Allow correct AND incorrect password to be submitted sed -i ‘s/if s.hexdigest() == config\[“pwd_sha1″\]:/if True:/’ /usr/lib/python2.7/dist-packages/deluge/ui/web/auth.py ## Auto submit blank password sed -i ‘s/onShow:function(){this.passwordField.focus(.*)}/onShow:function(){this.onLogin();}/’ /usr/lib/python2.7/dist-packages/deluge/ui/web/js/deluge-all.js https://forum.deluge-torrent.org/viewtopic.php?f=7&t=54769&p=227493 https://dukrat.net/124/deluge-webui-1-3-6-autologin-disable-password

Using XboxHDM with QEMU on Linux

General Info This should work with most SATA hard drives, and SATA/IDE -> USB adapters. You will likely need to run these commands with sudo or as root HDD locking rules apply. It seems that most SATA drives are lockable, but always check the compatibility lists before going too crazy. Items Needed: xboxhdm23usb-linux (This is the … Continue reading “Using XboxHDM with QEMU on Linux”

timelapse

#time lapse the images ffmpeg -f image2 -i %04d.jpg -r 30 -s hd1080 -vcodec libx264 time-lapse.mp4 #2x video speed ffmpeg -i time-lapse.mp4 -filter:v “setpts=0.5*PTS” time-lapse-fast.mp4 https://www.ffmpeg.org/faq.html#How-do-I-encode-single-pictures-into-movies_003f https://trac.ffmpeg.org/wiki/How%20to%20speed%20up%20/%20slow%20down%20a%20video Rename the images into sequential numbering with Thunar’s built in batch rename feature.

grub

MBR/DOS: # Mount root partition: #your root partition, e.g. /dev/sda1 sudo mount /dev/sdX# /mnt # If you have a separate boot partition you’ll need to mount it also: sudo mount /dev/sdX# /mnt/boot # Mount your virtual filesystems: for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done # Chroot sudo … Continue reading “grub”

NFS Share

https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nfs-mount-on-ubuntu-14-04 Server: sudo apt-get install nfs-kernel-server sudo mkdir /var/nfs/SHARE sudo chown nobody:nogroup /var/nfs/storage_pool sudo mount –bind /mnt/storage_pool /var/nfs/storage_pool /var/nfs/storage_pool 10.1.1.*(rw,sync,no_root_squash,no_subtree_check,fsid=0) sudo exportfs -ra sudo systemctl restart nfs-kernel-server   Client: sudo apt-get install nfs-common sudo mount 10.1.1.10:/ /mnt/storage_pool 10.1.1.10:/ /mnt/storage_pool nfs rw,rsize=8192,wsize=8192,timeo=14,_netdev 0 0  

mergerFS

If you don’t have them yet, install mergerfs and fuse. sudo apt-get install mergerfs fuse   #Pool disks UUID=”0a268f7b-53ad-40c2-917c-0c1d9f6f5bf1″ /media/disk0 ext4 defaults,errors=remount-ro 0 2 #4TB WD WD-WCC4E2R##### (Slot 0) UUID=”48faa7f4-8073-47f3-b7f8-f8a1bb72ea70″ /media/disk1 ext4 defaults,errors=remount-ro 0 2 #4TB HGST PK1334PEJ##### (Slot 1) UUID=”f42d3b98-afab-4ead-add0-ab1c9ba4adf5″ /media/disk2 ext4 defaults,errors=remount-ro 0 2 #4TB HGST PK2334PEK##### (Slot 2) UUID=”4e0f56f6-5d78-41c0-917d-03b6c7a20ee2″ /media/disk3 ext4 defaults,errors=remount-ro … Continue reading “mergerFS”