debian | disabling the spooky network-manager

Check the /etc/network/interfaces file. If there is nothing but lo – you are hijacked by the network-manager. Edit /etc/network/interfaces like: auto enp1s0f0 iface enp1s0f0 inet static address netmask gateway dns-nameservers dns-search MYDOMAIN.ORG Then do # systemctl stop network-manager # systemctl disable network-manager replace the symlink /etc/resolv.conf with a proper file.

OpenBSD // OpenVPN // EasyRSA || first steps

First of all: Read the fckn manual. Preparing the server # ./easyrsa init-pki # ./easyrsa build-ca # ./easyrsa genreq SERVERID nopass # ./easyrsa sign-req server SERVERID # ./easyrsa gen-crl # ./easyrsa gen-dh Preparing a client # ./easyrsa genreq CLIENTID # ./easyrsa sign-req client CLIENTID Revoking a client # ./easyrsa revoke CLIENTID # ./easyrsa gen-crl You […]

OpenBSD // WOL

1. Add wol to /etc/hostname.INTERFACE 2. Set apmd=”-A” in /etc/rc.config 3. Do not power off with halt -p but use zzz tu suspend the system.

SOX // trimming

EXAMPLE: cuts 10 seconds from the very beginning and recodes to 256 kbit/s sox -C 256 file.out.mp2 trim 10