There are a few tutorials out there for setting this up and while some worked, I found this one deep in a chinese github and its my preference for this kind of setup:
curl -fsSL git.io/wireguard-go.sh | sudo bash
There are a few tutorials out there for setting this up and while some worked, I found this one deep in a chinese github and its my preference for this kind of setup:
curl -fsSL git.io/wireguard-go.sh | sudo bash
Posted in Blog
To remove and re-add devices in a zpool, you will need to offline the disk, detach the disk, wipe the gpt partition then re-add it to pool as a new disk. This will re-silver the pool.
sgdisk -Z /dev/disk/by-id/ata-WDC_WD100EMAZ-
Steps.
Posted in Blog
Tiny bootable .iso that downloads liveCD images for multiple OS like Debian.
Posted in Blog
Came across Revo Uninstaller which seems to be very useful tool to make sure that all files and registry keys are actually removed from windows when you uninstall a program.
https://www.revouninstaller.com/revo-uninstaller-free-download/
Posted in Blog
I’ve been a huge fan of promox since version 1.0 – they later implemented native support of my favorite filesystem ZFS and if you are an early adopter like me your proxmox /etc/pve/storage.cfg file may not have some settings like sparse that the new installations configure by default.
Use the following command to see the zfs properties we care about:
zfs get volblocksize,volsize,refreservation,used gdata/pve/base-152-disk-0
Expected output
NAME PROPERTY VALUE SOURCE
gdata/pve/base-152-disk-0 volblocksize 8K default
gdata/pve/base-152-disk-0 volsize 64G local
gdata/pve/base-152-disk-0 refreservation none local
gdata/pve/base-152-disk-0 used 7.31G -
The property refreservation=none tells us this disk is thin-provisioned. Meaning ZFS won’t guarantee and account for the VM ‘max disk size’ in the zpool usage metrics. This may be helpful if you want to overprovision a VM disk to say 1TB but rarely use that much and you don’t want zpool list to claim you have 1TB phantom disk usage.
The volsize=64G and refreservation=64G would be set on the example above.
Posted in Blog
My notes and resources on X470D4U. This motherboard needs special tweaks in order to have the DDR4 memory settings and timings work.
There are also many ‘quirks’ with this board, when modifying DDR4 overclocking settings the board tends to fail to POST. Removing the CMOS battery and unplugging should do the trick at resetting – but sometimes this is not enough. The workaround is using IPMI to do a ‘bios update’ without preserving bios settings. This usually makes my system be able to POST again.
Windows 10 (due to tools)
* Thaiphoon Burner (to get ram info – but didn’t work for me.)
* ZenTimings (visualization for voltages from Ryzen platform – actually detects individual dims)
* AMD Ryzen Master Utility (AMD own tool)
* HWInfo64
* CPU-Z
Tuning resources / videos:
Video explains detecting memory, using Ryzen Calculator for manual settings input of motherboard.
BIOS walk through for this board. In German.
Some of these tools like Thaiphoon mail fail to work if you don’t have the AMD Chipset drivers installed. Download them, install, reboot, retry. Use the all-in-one detect tool to take care of it (lazy method) although I did all this it did not work for me. Still get the “SPD EEPROM” error. Let me know if you find a solution.
A good guide on memory OC. Another great explanation in detail.
https://forum.level1techs.com/t/list-of-dr-debug-bios-codes/114364
This comment on reddit can explain why a bios flash is the only way to recovery from bad memory OC settings. Includes terminology too.
mostly the same, but…
DRAM Voltage = MEM VDDIO
SOC Voltage = VDDCR SOC
VDDG CCD Voltage = not available in RM
VDDG IOD Voltage = CLDO VDDG
cLDO VDDP Voltage = CLDO VDDP
MEM VTT is simply half of MEM VDDIO and usually there is no need to change that. And you can find it on the Advanced page of DRAM calc.
There is a chance to brick the BIOS by setting wrong values in RM (because they aren’t stored in cmos and can’t be cleared easily). If you don’t have USB flash or dual BIOS then don’t touch it, use BIOS menu.
Posted in Blog
Sometimes we want to test software or do remote monitoring and testing that you may not want to pay a premium to do, or maybe you just want to do it as a hobby. In this post I will share some tips on where to find dirt-cheap providers of virtual servers (VPS).
I strongly advise against placing any production or critical workflows on any of these; use for testing or fun.
Continue readingI wanted to document my Microsoft Azure saga in getting a public IPv6 address to work in a virtual machine without a load balancer in front of it. My needs were pretty simple and straightforward I wanted a virtual server that had a static IPv4 and IPv6 public addresses so that I can monitor my home network and other websites.
You would think this would be pretty easy, a few clicks and done? That wasn’t my experience on Azure and setting this up isn’t easy nor straightforward. Below is how to get it done, if this helps you – you can buy me a coffee or beer.
Continue readingPosted in Blog, Cloud, Linux, Technology, Troubleshooting, Virtualization
Tagged azure, cloud, dual stack, ipv6, networking, virtual server, virtualization, vm, vmnet
If you’re looking to create a bootable USB drive to install multiple operating systems or other images you should take a look into Ventoy.
Ventoy is an open source tool that allows you to format the USB disk and drop any .iso image into the USB drive – magically making any .iso be bootable without having to reformat the USB disk multiple times when you want to image different things.
Posted in Blog
An aggregate quicklist of commands for use in IPv6 on Windows 10. This is nowhere near exhaustive nor is it intended to be authoritative at all; just a collection of commands I want to save for quick reference.
# Find out the INTERFACE-ID or "ZONE ID" to send outgoing packets thru
netsh interface ipv6 show interface
ping fe80::2080:218b:b6e7:8f35%4 (sends out ping via ID 4)