2025年10月21日 星期二

VMware ESXi 6.5 VMXNET3 known issue

VMware ESXi 6.5 VMXNET3 網卡在遇到 Linux Kernel >= 4.8 時,
會有不定時 Kernel panic 的問題,狀況是機器會自己重開機
ESXi 中的 Event 可以看到
The CPU has been disabled by the guest operating system. Power off or reset the virtual machine.
這個問題在 ESXi 6.5 Update 1 已解決,若無法升級 ESXi,可以將網卡換成 E1000E

ref. Linux virtual machine crash with vmxnet3 virtual NIC in VMware ESXi 6.5

2025年10月18日 星期六

Download test of any file size

1GB 以內任意大小測試檔案下載服務
1MB ~ 1024MB (1GB)
檔案內容是隨機產生的,某些測試情境可能會有用處

https://pank.org/testfile/1mb.bin

檔名可以是 1mb.bin 到 1024mb.bin,後面的 mb.bin 是固定的

2025年10月3日 星期五

Using wgcf to export WARP WireGuard config

Cloudflare WARP 的底層是用 WireGuard tunnel
wgcf 工具可以把它匯出成 WireGuard config

curl -sL https://github.com/ViRb3/wgcf/releases/download/v2.2.29/wgcf_2.2.29_linux_amd64 > wgcf
chmod 755 wgcf
./wgcf register
./wgcf generate

產生 wgcf-profile.conf

scp remote to remote

有 3 台主機 HostA、HostB、HostC 在 HostC 下 scp 指令要從 HostA 複製檔案到 HostB,都透過 Key auth 預設情況下 (沒有加參數 -3) HostC 對 HostA 要建 Key,HostA 對 hostB 要建 Key 資料流是直...