A quick reminder to myself how to set up Strongswan. /etc/ipsec.conf conn gr2 left=123.45.67.89 leftauth=psk lefthostaccess=yes right=%any rightsubnet=192.168.1.0/24 rightauth=psk auto=add dpdaction=restart esp=aes128-sha1-modp2048 /etc/ipsec.secrets 123.45.67.89 %any : PSK "QWERTY12345" /etc/strongswan.d/charon/kernel-netlink.conf kernel-netlink { ... mtu = 1422… 

Turns out, Xorg is now using modesetting driver by default. I’ve been trying to get VAAPI to work for ages but could not figure out why it was not working! All I needed to do… 

Bash Get .ini file value sed -nr "/^\[protocol.mysql\]/ { :l /^password[ ]*=/ { s/.*=[ ]*//; p; q;}; n; b l;}" /etc/somefile where protocol.mysql is the section and password is the variable name. Fancy PS1 prompt… 

This is not as trivial as you may think. The easiest way is to simply dd the ISO image to the USB device, but you get a 1) ReadOnly media and 2) Not all Servers…