AlpineLinux autoX, autoRDP, mini img for PXE

apk update vi /etc/apk/repositories ~ add community apk add util-linux vi /etc/inittab ~ from /.../getty /.../ goes to /.../agetty --autologin root --noclear /.../ setup-xorg-base apk add setxkbmap freerdp xterm vi .xinitrc ~ setxkbmap si ~ xterm -hold -e sh /root/status.sh vi /etc/profile.d/startMyX.sh ~ if [ $(tty) == "/dev/tty1" ]; ~ then ~ #add video drivers on the fly, once you have formatted the bootable USB, this is the only way. Cry or laugh? ~ /sbin/apk add xf86-video-openchrome ~ /usr/bin/xinit ~ else ~ echo "Hello!" ~ fi chmod +x /etc/profile.d/startMyX.sh vi status.sh ~ while true; do ~ if pgrep -x "xfreerdp" > /dev/null ~ then ~ echo "works" ~ else ~ bash xterm -e sh /root/freerdp.sh ~ fi ~ sleep 1 ~ done vi freerdp.sh ~ xfreerdp /v:192.168.122.253 /u:administrator /p:mojegeslo123 /f /cert-ignore status check: ...

2019-07-30 · 1 min · EK

AlpineLinux uIMG for PXE RDP

Pre-install grab 4gb usb key, 8gb usb key, and download Vanilla .iso from Alpine. Burn ISO to 8gb stick Boot to system, make sure you have drivers, and install to 4GB stick. Recommended step: remove other storage in prior stage. Install After installation Use second PC and Gparted to remove swap, fix [inst-root]/etc/fstab (comment out the swap partition), and resize the [inst-root] so it’s as small as you can go (512MB IIRC?) ...

2019-07-30 · 2 min · EK

Ubuntu settings: Mikrotik L2TP/IPsec

2019-07-04 · 0 min · EK

Timelapse with FFmpeg!

GoPRO Shoot with res 4000x3000px! Use one of following commands (FHD vs 4K): /bin/ls -1tr | grep -v files.txt > files.txt && mencoder -nosound -noskip -oac copy -ovc copy -o output.avi -mf fps=60 'mf://@files.txt' && ffmpeg -i output.avi -y -qscale 0 -vf scale=3840:2880,crop=3840:2160 output-final.avi or /bin/ls -1tr | grep -v files.txt > files.txt && mencoder -nosound -noskip -oac copy -ovc copy -o output.avi -mf fps=60 'mf://@files.txt' && ffmpeg -i output.avi -y -qscale 0 -vf scale=1920:1440,crop=1920:1080 output-final.avi Create list of files ...

2019-04-22 · 2 min · EK

Ultra-light Fluxbox DM, terminal login

minimal Debian install, with no Debian Desktops selected for more ultralight, don’t check “basic system tools” apt-get update apt-get install xorg apt-get install fluxbox vim edit ~/.bashrc vim ~/.bashrc append startx if we’re not in it already. if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then exec startx fi reboot login via console wait for your new lightweight DM to start Sources: https://wiki.debian.org/FluxBox#Fluxbox_Session https://wiki.archlinux.org/index.php/Xinit#Autostart_X_at_login

2019-01-31 · 1 min · EK