This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo `which rkt` run --interactive \ | |
--volume volume-sys-fs-cgroup,kind=host,source=/sys/fs/cgroup,readOnly=true \ | |
--insecure-options=image,seccomp,capabilities \ | |
docker://fedora/systemd-systemd --exec /bin/bash -- \ | |
-c "exec unshare --pid --fork --mount-proc /sbin/init" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
My Apple devices started stating "incorrect password" for my network, even though they had conncted previously. | |
So how to fix Unifi network "incorrect password" error on iPhone, iPod, iPad and Macbook pro? | |
The reason for the error is the WiFi management done on iOS devices. | |
The default settings for the Unifi AP range are not compatible with iOS 11 and 12 and OSX High Sierra (and maybe more). | |
The reason for the error is the "DTIM Mode" (beacon timing) setting for power saving. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# LICENSE: MIT, wtfpl or whatever OSS license you like | |
function get_stack () { | |
STACK="" | |
local i message="${1:-""}" | |
local stack_size=${#FUNCNAME[@]} | |
# to avoid noise we start with 1 to skip the get_stack function | |
for (( i=1; i<$stack_size; i++ )); do | |
local func="${FUNCNAME[$i]}" | |
[ x$func = x ] && func=MAIN | |
local linen="${BASH_LINENO[$(( i - 1 ))]}" |