FreeBSD 12.0 with Gnome 3

https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/12.0/

SHA512 (FreeBSD-12.0-RELEASE-amd64-bootonly.iso) = b2a39f0a965a08a4fedf122cb898667c62db80cfe674dc22c062e0c2bad59431fe6fe9730853afdaaefd21e64053c0dfcec5eb81cb56e72d7e5207ed6b8352bd
SHA512 (FreeBSD-12.0-RELEASE-amd64-bootonly.iso.xz) = a222503d3f0094dc2292d52edf1f4df316f20ab76beca298bef6136e3f031d15fb7cbd3fe5792ed3f3a90adf56e1f2ba491c4778c717cc440ab7e580ad87537e
SHA512 (FreeBSD-12.0-RELEASE-amd64-disc1.iso) = f070a18b76f525ad4ec2798c3b8fc301672202835bad99129a253f034218ac54c3d09048c2be2b4de111a2f301b2ebd60c128ae0577a6f162489ed21b7379792
SHA512 (FreeBSD-12.0-RELEASE-amd64-disc1.iso.xz) = 5bc6a17b5c86f3e94b60cffd74d75c5973feb03d0c882db5eb11b3ed1dd919c45cfec0f6de9d1b7134c1ccb4ac4485af468a215c4e3daf71b5b88af1ea2ac864
SHA512 (FreeBSD-12.0-RELEASE-amd64-dvd1.iso) = 9f5530868b7cbdfc08aeba511d976e6c31b73577a873b405cf45971c28c5038e5db2aba93d0da1aa45606905255323ec4d2d11d3edaa12374c2763c85c561483
SHA512 (FreeBSD-12.0-RELEASE-amd64-dvd1.iso.xz) = ff7c0650969a31721841a6aa6afea9a7a53529383187b18d50178c930f7106fef94c6126d1ef6a846b5c3f91d775c6c54f50329645273eafb5bd1b12da590cb2
SHA512 (FreeBSD-12.0-RELEASE-amd64-memstick.img) = 87b29c56828eb847371563b44ed84adcb0a060c710fd928d96798f2fceb60f13a52232b7bce6540b586fa4ee0c4af8de0110075d994d17b3dc57fb363f4b74d1
SHA512 (FreeBSD-12.0-RELEASE-amd64-memstick.img.xz) = d630649a6e36132b34e3b1f97bf6a154a6dfe106bd13346ee0153b8804e48bf48aa55c65f50ca718e74f88fc56549db3ca07f8b7fe17bf4169b1e7da49ef0bdd
SHA512 (FreeBSD-12.0-RELEASE-amd64-mini-memstick.img) = 39a01d41b79bfb8a1be7f7309581ef9a61c79bd28947014a7b318929fdd315015882ce7d21d27a4322e4a67e83d9931b71c70be15eb393d82642bf883dfc2c46
SHA512 (FreeBSD-12.0-RELEASE-amd64-mini-memstick.img.xz) = fc23600d93a3ced2810146bee075d4bd158081db504d41e8fec83af59803400d0f38dd71e51b6f673edee9aa950167fe112a9acde37f64da7ae4d0517a0bd530

https://download.freebsd.org/ftp/releases/i386/i386/ISO-IMAGES/12.0/

SHA512 (FreeBSD-12.0-RELEASE-i386-bootonly.iso) = 3f830fd32a25bbcf14f8a4e1598c74466bb16016bbf86f79beba8aa568f0d6dfe438da1288d1bd0a7fd4a49419f4a81ba7ae2f8163c718a872724cafa97e2377
SHA512 (FreeBSD-12.0-RELEASE-i386-bootonly.iso.xz) = 87a5761d7e989bdb52eadef37c2b93d35934181f5a77d2f2905c25f516252a4cd8293d2e5be01db8714be793c5eb2fe6095a9f3809a2199dc066a7a4e408d28b
SHA512 (FreeBSD-12.0-RELEASE-i386-disc1.iso) = b2c339fe25c327f62eda6c9a846fd44ba9075288384db6033e8761bbb24ea90e2191cdeaa63e8640cbf839bb852afc43fc86f69436bab355513779e642080d0c
SHA512 (FreeBSD-12.0-RELEASE-i386-disc1.iso.xz) = 8f27e9674cbee2945e55227cc54d2981a18e97c70e7ba134285ad8fa8f3f26521b2c9ec231312bcb97ba6df49b7f1392f3bab806c43f2c2974e2a7b38525e925
SHA512 (FreeBSD-12.0-RELEASE-i386-dvd1.iso) = ccecb7c33dc7c3e7fb2fd3333a8b7c6bf63b9dbabbe28ecd47143a4152ebe6c58ec0267a99803e3675bceaaf8a62861ae6508e4fcbf6561065f1ca7e33c031f7
SHA512 (FreeBSD-12.0-RELEASE-i386-dvd1.iso.xz) = bb0c480ea9887e2c869fb241116f86178919a1765daad0ee3c89432a4563cd55f254044cd20d3b5e5ed6c722ad98d06fdca214e15d1377ad605ccd1345548c4c
SHA512 (FreeBSD-12.0-RELEASE-i386-memstick.img) = 880f52600db8e737673bab61185b8e2b4952143903f353f0348b20a4b8aec3f47bcbd743139b1afb1e331d05bf56fad651944134d299e2800cb02f6775089df0
SHA512 (FreeBSD-12.0-RELEASE-i386-memstick.img.xz) = 3d0813a13f5069ce3986ef7f3dfe4fc3ee5e2884ad1226b0a4ba39ecee652701593d5e5882ce1af403043e65bdb6c796ffa89c7422f8de961f9d39edee26bb9d
SHA512 (FreeBSD-12.0-RELEASE-i386-mini-memstick.img) = 9c88ef5045939690c2c507d223ab01afa0500604a0380325dc6a627a1113f47412946c95176a72d8ace70306a97cbc2d680cb8f5987b25d980a696524b49acc3
SHA512 (FreeBSD-12.0-RELEASE-i386-mini-memstick.img.xz) = 63df47030e2d6d7f710f65d65d6438bbeb0566d0f2d7f38f2edf327ad315cca108f98eebdabbb9d6edec480a0094bb1f48bf95b33417c4cf599e2542d7c516bd
 # update
pkg update
pkg upgrade

# su rights for user
pw groupmod wheel -m [user]

# install
pkg install xorg gdm gnome3 nano htop mtr firefox

# Xorg config
pkg install xf86-video-intel
Xorg -configure
mv xorg.conf.new /etc/X11/xorg.conf

# add the following to /etc/rc.conf
gnome_enable="YES"
moused_enable="YES"
dbus_enable="YES"
hald_enable="YES"
gdm_enable="YES"

# finally reboot

OpenBSD 6.4

http://www.openbsd.org/64.html

http://www.openbsd.org/ftp.html

i386 install64.iso

untrusted comment: verify with openbsd-64-base.pub
RWQq6XmS4eDAcX+ucYSomWI1rx0NkNqcpWSaWCLAwU/WUfXV7z6fBain7nQ5ovi2NgAtS2x+NB4XazjK07WdNZI4EjLNJ2eXhgg=
SHA256 (BUILDINFO) = 505a1c48069871a8efc4668b7b85f82c53a0bc4d9c5f94fe90761b61f794992d
SHA256 (INSTALL.i386) = 188182f0ccfe35c46a5a4c9e905558682126ebcf39d471f5efb53777f706ecb3
SHA256 (base64.tgz) = 6f10f823e8e184e2aeacf1c11f060ebbf1198d2a53c2322369c01e122475ab82
SHA256 (bsd) = adaba46c341e4461dc5e86fcac16c565774f096311db2ef9f8aef517fd84c7fd
SHA256 (bsd.mp) = c1c28a88bf533e93383f76d5c3793cc60924cd56753848edc8993a0752c9fef9
SHA256 (bsd.rd) = 417c316a3d8e0ac66c6982cb894045d859f8bd53b85f753c8fcca34e920020a2
SHA256 (cd64.iso) = 11a80cf5925ec6cfab3c91012c94fb97d2c3382d698b46742ecb86c5eb379003
SHA256 (cdboot) = 192db1e31251c2eb2bb1ef6e91c5d2a30e7ee499128154f92b4538a44f680966
SHA256 (cdbr) = 1324d815548722286be02cf42e0e3e4602c358e73e9ee6bc7a9c161005d0158a
SHA256 (comp64.tgz) = 8a7fbe35ea876a1e0e9ed013c1af156751c5cf84b5f2ee7f66d137e43c583ebf
SHA256 (floppy64.fs) = 2d26a30475cb066800533889badd05ddd29f40566ea4af54781a1ac5b292ab3a
SHA256 (game64.tgz) = 780ee3d7a43d768b57210b876ebe09a201f4fb676db781ff99c92064a4e87d21
SHA256 (install64.fs) = b2f74e006b7b3de74e7bcb513160b3f78177378a2ec5470a28319ec566334efe
SHA256 (install64.iso) = 90b79b2af47e9caded2d0e2a82da3ef5a821f371b9e96d653e8819419db56637
SHA256 (man64.tgz) = 8025fcebfeb15f5c3b828789cbbd19bd04ded78b3ea4b9da79bda687e9a52b42
SHA256 (miniroot64.fs) = 60ce7227af3f02e972b148bd6386988bee4dd87b682812a26475774e5b75c063
SHA256 (pxeboot) = 88a23a2eceb86952b9cd6d88a00cf0a7d7a941308978920f2659fee2180b63fd
SHA256 (xbase64.tgz) = f39d20f6ecaeba6a4376c3f32a4eb4aac34d094c9ab6f972473c6411a0a92fe7
SHA256 (xfont64.tgz) = 48e8c517d918fe186b6b57d911bdd57db53ba0e3e3dc6b0fc9ae57543b850873
SHA256 (xserv64.tgz) = dadf4a443700833e667b8d68c75d664403e64f448b19acff1f6c3eb852137577
SHA256 (xshare64.tgz) = 4d4b81236639881edc6a8872163cfb5a80daf9d8c98836fa4b71f56173ea2061

amd64 install64.iso

untrusted comment: verify with openbsd-64-base.pub
RWQq6XmS4eDAcamn8wxVGVvUEoz11csM6A0ks57zKWRUsyrxnBP0AzIdb6YWipiX7x7r1GpP8VlPwCWwCj6429MExZHiEGDG/gU=
SHA256 (BOOTIA32.EFI) = 54d5ba82b58919ca61ad8a4162ddaa7de43ed43ffb4768a386886ebd06c04a5f
SHA256 (BOOTX64.EFI) = 889f5e2e8b46085e839d6df60c3d11fac45b8e4fce4d6bd118a0c2dec7ed5172
SHA256 (BUILDINFO) = 379978b44a42ef5847b67db72061bfd408a064b1bd2cb345b93587011cb2ecb1
SHA256 (INSTALL.amd64) = 404c3f42b34cc09d1cc86332225c9ceb167ed82b240188506a15b348fe2b63b6
SHA256 (base64.tgz) = dacd17fb88673c16d4bd18f787c08e83c1c61904ec4a61d962aaee31a5dc5b1f
SHA256 (bsd) = e39c1d1edb2d848c108189e4872c2c8aebca91c943550833bf0623f818f0b235
SHA256 (bsd.mp) = 3c995dbaba73ead3b185cfcf7c62ad094e02158005258583e29ef46ff6402503
SHA256 (bsd.rd) = 89505c683cbcd75582fe475e847ed53d89e2b8180c3e3d61f4eb4b76b5e11f5c
SHA256 (cd64.iso) = 1a280cd45ea5fe8d818b61f9d8702c58d5edeff9aee1575f7445b505f45a8c77
SHA256 (cdboot) = f7fe5f00a662b89dd2bb1a2501d3e1183d2311f9dd18909dc5d313134fd5b7af
SHA256 (cdbr) = ec28ce68a4067779534e4868f20790d17a6851af159bec4ccc42c28e52db8565
SHA256 (comp64.tgz) = b67944691edd6feaac8acafbf890cf852df9df26d0dc1973c875ab8c1ac017ac
SHA256 (floppy64.fs) = 5ed70802df686e526068cd6df491d2db42a0e848a89df9e84e7775de8970b1fb
SHA256 (game64.tgz) = 4bb7a1ebf7aa41aa2c3f930c5af0a424d5203ff125375138ffc81728897a6527
SHA256 (install64.fs) = 7aa4344cb39efbf67300f97ac7eec005b607e8c19d4e31a0a593a8ee2b7136e4
SHA256 (install64.iso) = 81833b79e23dc0f961ac5fb34484bca66386deb3181ddb8236870fa4f488cdd2
SHA256 (man64.tgz) = 103c9d441b33fbb3b56ada9a0db8c443e51137a914ef953ff4c592c7c867208a
SHA256 (miniroot64.fs) = 649b2f412750dee2ef6f42bdd66fb5f015d095b4225fb775a4267aa01e3f80dd
SHA256 (pxeboot) = d87ab39d941ff926d693943a927585945456ccedb76ea504a251b4b93cd4c266
SHA256 (xbase64.tgz) = 8c20c8468e95d91d41abfc7a5dc022c2d95f6043512812566ba4435ba66a3328
SHA256 (xfont64.tgz) = 6fa168071302cf91bd2d4740443c97637cd5efec3a270a2a65992e3133a51791
SHA256 (xserv64.tgz) = 5995f18de58a00b6f03c48800811c6ed84e20f678044924e720855eb788192b8
SHA256 (xshare64.tgz) = ef377b4810dcb110b138b94f3df8b6640b399eabd7678a76009eb85acb633ca0

arm64

untrusted comment: verify with openbsd-64-base.pub
RWQq6XmS4eDAcenqFQW2Cy9loTBsO2aVPUwHsZVwBVH1/pep5fFCrWIQL9QjYebFYHNw5yUKkw53aj+IE1vnWLIzpNxMmjQ/Dw8=
SHA256 (BOOTAA64.EFI) = 3df338f1a50b8955b6c363fd416365efd43b283fb029bf631dc567afcecf60dc
SHA256 (BUILDINFO) = d5bcad95fff764ceafb7d02bd762ee04109a6333265ea1bb7d50d669ee089b83
SHA256 (INSTALL.arm64) = f23913393e76b8eaeb1d495e28ed724376a88dbe486d4f31b4fba5c2a2d70af1
SHA256 (base64.tgz) = e0d9cea7b6d14a0a551d1077ec119860922bdd893d4739273ec31dea3ee9d5a8
SHA256 (bsd) = e830f79a379c07177d6bfdb0435ede3a3f6b614298d8c56b2dfac186133c76df
SHA256 (bsd.mp) = 1928f029af9b8e7d93d9c5213ad1ccec497b613ae1ba548fa9b42eb363fc51b2
SHA256 (bsd.rd) = eff2db7033937de2b1486b89241cd13b15fdcae4cf812fffc719eb93da2d056c
SHA256 (comp64.tgz) = fda879c65079fcc266f71714843edfeecf500e245f4dc1e517aa29ed8e7d7315
SHA256 (game64.tgz) = eaf2ec570751abdaa28e936a626c132952d9ba9174ff7eca4d0ae4d033bfea59
SHA256 (man64.tgz) = c78d6a842b4d069b976fb4aef6c3b097fb38cadb1b551f88975a5c0edb93a9b7
SHA256 (miniroot64.fs) = 33d6b776cd2602d168ae09f12104bc90b539aea416254d260fccf044d1eba4f5
SHA256 (xbase64.tgz) = 8754eb80d8e25105ec4fafbb29ca24a017734f2c552fa63063ea4db739f22972
SHA256 (xfont64.tgz) = 517d1b255acc3a740b8105c3da5181edfaa3284ff89393427b2bb00de268f737
SHA256 (xserv64.tgz) = 24d1fa505cc1e5992590a1f1190e6be5a0406607a2e9d6d48dfb256a30ba5552
SHA256 (xshare64.tgz) = 49d8e37e8a29e04d48e8493b6d023c0c1799b1bdef1a0d17eb9046398202643c

Check Signature

signify pubkeys for this release:
base: RWQq6XmS4eDAcQW4KsT5Ka0KwTQp2JMOP9V/DR4HTVOL5Bc0D7LeuPwA
fw:   RWRoBbjnosJ/39llpve1XaNIrrQND4knG+jSBeIUYU8x4WNkxz6a2K97
pkg:  RWRF5TTY+LoN/51QD5kM2hKDtMTzycQBBPmPYhyQEb1+4pff/H6fh/kA
signify -C -p /etc/signify/openbsd-64-base.pub -x SHA256.sig
signify-openbsd -Cp openbsd-64-base.pub -x SHA256.sig install64.iso

Full Disk Encryption Install auf sd0/wd0
Boot CD and start (S)hell

zeroing the first chunk of the entire scsi disc (optional)

dd if=/dev/zero of=/dev/rsd2c bs=1m count=1

sd/rsd: Its device files would be /dev/sd2a for the block device and /dev/rsd2a for the raw (character) device.
2: The devices are numbered by the order in which they are detected at boot time, starting at zero. Here: Disc number three.
c: The c partition is always the entire disk.

if there is no sd0 (optional)

cd /dev && sh MAKEDEV sd0
fdisk -iy sd0
disklabel -E sd0

add partition a

z
a a

offset: [64]
size: [1234567890]
FS type: [4.2BSD] RAID

w[Enter]q[Enter]
bioctl -c C -l /dev/sd0a softraid0
exit

start (I)nstall

Which disk is the root disk? (‘?’ for detials) [sd0]
“?” should show you “sd?: SR CRYPTO”
e.g. “sd1”


install Packages
add to .profiles file:

export PKG_PATH=https://ftp.fau.de/pub/OpenBSD/`uname -r`/packages/`uname -m`/
pkg_add nano rsync wget openvpn firefox unzip htop

search Packages

pkg_info -Q sshfs
pkg_add sshfs-fuse

update OpenBSD

pkg_add -Uu

install mate Desktop

disable display manager

rcctl disable xenodm
pkg_add -Iv mate-desktop mate-notification-daemon mate-terminal mate-panel mate-session-manager mate-icon-theme mate-control-center mate-calc caja slim slim-themes
echo 'exec mate-session' > .xinitrc
echo "/usr/local/bin/slim -d" >> /etc/rc.local
echo 'pkg_scripts="dbus_daemon avahi_daemon"
dbus_enable=YES' >> /etc/rc.conf.local
startx

QR-Code and BASE64 fun

# install qrencode
apt install qrencode

# use qrencode with image
qrencode -o test.png 'test'

# use qrencode with ImageMagick
echo "test" | qrencode -s 10 -o -| display

# Text to qr to Browser image
echo "test" | qrencode -s 10 -o -| base64
iVBORw0KGgoAAAANSUhEUgAAASIAAAEiAQMAAABncE31AAAABlBMVEUAAAD///+l2Z/ TlP//8i138cAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAEJSURBVGiB7dhBDoQgDIXhJh5gjuTVOZIH
MGGgQGlMJs7Ckszk70IFP1cvQoPkb0pQKBQK9RdKem05p9cpsh9jZkdFqzY4tuKL0if/AhWp UzqsTyUw1EKlf0fPCrVW6fR9jqgHld6aOntW7gUqUNmO3GO62bdRz6lZ/p2bRYWp0QOJ5FTb0dwW
KhFUuPJN6BiWOq9/BypApVe92Mokc4gKVr0bapGc9uUlIVSQ6vuwZjViQi1Qs8byVABqiXKd KR3fouJUC2KcPPhwUOHKTn20HdVOtJ29oZapuTJ93LdRQWr2n2IHcKhYpTebTtL7ol6oQOV2ZPsn
lKKi1V2hUCgU6tfVG4K7L1m35cX0AAAAAElFTkSuQmCC

# url
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAAEiAQAAAAB1xeIbAAABeElEQVR4nO2aS26EMBBEX8dIWXqk OUCOAjfL1eAoc4BIsIxkVFmYz2SySBYhQNxegDBvUWrZ7VKBie9H9/QDCJxyyimnnDo6ZdOooLMK a4Z5ptlVVxFULUnqARhNLUGSpM/U3+sqghqWNR4T1gB5G+ytqzAqfLWdh9DllFO/Rs1tJQoYwOqb 5Zn71X9U9eemptp3ueABICSD0fbVVQKVa7+ucTGMNm2DPXWVQJGtZK2E2nzMBqmNKb/Ioz2q+nNT d7WfL5LUB0nLo9d+E+qu54jhKgMwYoKuCbK9dJVAzT5nuMqICXW2tP/4Nh+4R1V/boo1Opj6fZSo +yCI3nM2pe59Tp1vYyV4d4/5R9SaY+bF311A6kHtrrr+N7X4nMndTLNLu3GPuT0155iSEtKtgu4C 1uysqyRqSo5jQu0aLOyvqwRKLUHWEGSvt2f/drIl9ZhjQuwnk9+9pNnpH1X9uanHHDNnyNltDua1 35Iy/zfKKaeccqoI6gPykb77Lm4sZgAAAABJRU5ErkJggg==

# install python3-qrcode

apt install python3-qrcode

Text to qr image

echo "test" | qr > test.png

Text to qr to base64

echo "test" | qr | base64

Text to qr to Browser image

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAAEiAQAAAAB1xeIbAAABeElEQVR4nO2aS26EMBBEX8dIWXqk
OUCOAjfL1eAoc4BIsIxkVFmYz2SySBYhQNxegDBvUWrZ7VKBie9H9/QDCJxyyimnnDo6ZdOooLMK
a4Z5ptlVVxFULUnqARhNLUGSpM/U3+sqghqWNR4T1gB5G+ytqzAqfLWdh9DllFO/Rs1tJQoYwOqb
5Zn71X9U9eemptp3ueABICSD0fbVVQKVa7+ucTGMNm2DPXWVQJGtZK2E2nzMBqmNKb/Ioz2q+nNT
d7WfL5LUB0nLo9d+E+qu54jhKgMwYoKuCbK9dJVAzT5nuMqICXW2tP/4Nh+4R1V/boo1Opj6fZSo
+yCI3nM2pe59Tp1vYyV4d4/5R9SaY+bF311A6kHtrrr+N7X4nMndTLNLu3GPuT0155iSEtKtgu4C
1uysqyRqSo5jQu0aLOyvqwRKLUHWEGSvt2f/drIl9ZhjQuwnk9+9pNnpH1X9uanHHDNnyNltDua1
35Iy/zfKKaeccqoI6gPykb77Lm4sZgAAAABJRU5ErkJggg==

Raspberry Pi Raspbian Stretch

download
https://www.raspberrypi.org/downloads/raspbian/

verify sha256sum

65308c4a52cb2a6e7995c67e66aceca68a1b1944f2aacb1f89be55f4db9d48ab  2018-06-27-raspbian-stretch.img
8636ab9fdd8f58a8ec7dde33b83747696d31711d17ef68267dbbcd6cfb968c24  2018-06-27-raspbian-stretch.zip
1d1d85d0faa8211ca2be15b8777cf785000768f0115056673f55083281d081de  2018-06-27-raspbian-stretch.zip.torrent
85d9213eafd4982162306249100856491c51d304cf0faa5ee23306cee64effac  2018-06-27-raspbian-stretch-lite.img
3271b244734286d99aeba8fa043b6634cad488d211583814a2018fc14fdca313  2018-06-27-raspbian-stretch-lite.zip
a90c299df88198fc5b60c705d809f924a8a3f20eadd813c44c19abd900f6cd9c  2018-06-27-raspbian-stretch-lite.zip.torrent

flash sd card

dd if=2018-06-27-raspbian-stretch.img of=/dev/mmblk0 bs=1M

configure raspbian

sudo raspi-config

enable ssh, spi, serial, 1-wire, …

sudo touch /boot/ssh

Raspberry Pi Raspbian Stretch

download
https://www.raspberrypi.org/downloads/raspbian/

verify sha256sum

4cdb8ebbbc52a8a3061082d3524b821aa4ad7e0db56413c2a129d96723c0f64d  2018-04-18-raspbian-stretch.img
0e2922e551a895b136f2ea83d1bc0ca71e016e6d50244ba3da52bd764df5d1b6  2018-04-18-raspbian-stretch.zip
5f0a0361cf308bcf2e5aea552fd14ff85582de607bdf9c374e0e18ebaaf6348b  2018-04-18-raspbian-stretch.zip.torrent
5a0747b2bfb8c8664192831b7dc5b22847718a1cb77639a1f3db3683b242dc96  2018-04-18-raspbian-stretch-lite.img
5a0747b2bfb8c8664192831b7dc5b22847718a1cb77639a1f3db3683b242dc96  2018-04-18-raspbian-stretch-lite.zip
d6d0395848e42bc21acd6cf9656cd0a429c710b9bb57af36d927faa7e62d87c9  2018-04-18-raspbian-stretch-lite.zip.torrent

flash sd card

dd if=2018-04-18-raspbian-stretch.img of=/dev/mmblk0 bs=1M

configure raspbian

sudo raspi-config

enable ssh, spi, serial, 1-wire, …

sudo touch /boot/ssh

LEDE / OpenWRT sniff DNS traffic

log into router via ssh

opkg update
opkg install tcpdump
tcpdump -i eth1 -l -vvv dst port 53

save dump

tcpdump -i eth1 -l -vvv dst port 53 >> /tmp/dns.dump
grep -E 'A\?' /tmp/dns.dump  |sed -e 's/^.*A? //' -e 's/ .*//'|sort -u

live dns view

tcpdump -lvi any "udp port 53" 2>/dev/null | grep -E 'A\?' | awk '{print $(NF-1)}'

OpenBSD 6.3

http://www.openbsd.org/63.html

http://www.openbsd.org/ftp.html

i386 install63.iso

untrusted comment: signature from openbsd 6.3 base secret key
RWRxzbLwAd76ZRV2uct0nZY/4MOgNUlFqaPXXWDXIikK2CJEbAW27Q9sEfQ6l7b9o7sVLrcUnSzJYJ0SW85IVANQjqjpOJg6Zw0=
SHA256 (BUILDINFO) = d094710348893d5e8234c84892e8d4c1f14d3d0f927228c9ddc0fcef787cfe19
SHA256 (INSTALL.i386) = dfb3729a34572b8c8144ccbdcb0ea155a446ff813789014a5b1f35453e86db9f
SHA256 (base63.tgz) = 44a02fe614a010c2add7ed3af1ed9b36d146b91a417ad2c12ac8afa76130c8aa
SHA256 (bsd) = 0be3118ce6430d6e1ede379f28631c52ff4ff527e02eb5e0967513b07e4dad00
SHA256 (bsd.mp) = b2f8f4c25a868fde2347057a4d22354b37516b2fc731d10fbc605f45da2be513
SHA256 (bsd.rd) = cb647e2a51e775632d8005f33f31ad98fcdcae6c7778c43ec3b44ca42df02731
SHA256 (cd63.iso) = f0394f2b27974845311bf88ad0c840760716bd3a46979638eddafc9ab4be3807
SHA256 (cdboot) = 175267499ebc45724b966304f094553d68ae606fb30b5ef0000cc0d668a51e87
SHA256 (cdbr) = 6e4544abbf48a7e7b184d92509b769215282fe4897e64082713b82981024c1bc
SHA256 (comp63.tgz) = a68c4cf5c957badb61d6e4c65a3e1c7d587d22f992d248ccc7eef82ad360ac6f
SHA256 (floppy63.fs) = 0deae38bbf582884d5f57dac4f95e06e6ac724080a2e3303fcc735bef6c33592
SHA256 (game63.tgz) = 563ee6502ebd8c6798402491dac385adef5aea24ecfed0b2a5f945cef9607413
SHA256 (install63.fs) = d191b4466f6562551fbdc5afbaccc1d58ab0d5ce2768e2bb93f776f219a2fdc9
SHA256 (install63.iso) = af27c565c4abac76f4d3cc5cf51a31e1f9b5f37656c2a8af36ca708212bc8245
SHA256 (man63.tgz) = 106061f2b79e6c6466ec482dda82226e2151dcf08773b93c3f364696b7ef2b51
SHA256 (miniroot63.fs) = c7bbfaec254299fdc9607a04d3be2bf1783688ea56bb12963e8a7abdef67abbf
SHA256 (pxeboot) = f446ce7636e50543f42e891f059a292c8deffd19267f8fb3d51b7cf25be70b8c
SHA256 (xbase63.tgz) = 27a8c0729da43765f6cfad863ae098592d6d450aa45122dc08cc182625ffd411
SHA256 (xfont63.tgz) = cd4ec1fe5309f243db16354f46c29ff7e280558dabdea183ea65edd73073534a
SHA256 (xserv63.tgz) = 82a55b157059d567bc8eb0d20e1d9301c5424fa8bb37e4b4cc2fdf1f52d7a602
SHA256 (xshare63.tgz) = 1f4ddd54a4f6b8fd100a9e92bd7c11edea695d15946dddc1656c40c050aea199

amd64 install63.iso

untrusted comment: signature from openbsd 6.3 base secret key
RWRxzbLwAd76ZdnKJCBPgPN6KHiTbJkhmkFL3Z7TV/Fg+fGE6SnBQcGDhwXhiWkYxEYHaPVkSAjrJd3GjtgUCo3AOEUuuOK3Ugg=
SHA256 (BOOTIA32.EFI) = 388027947da29570fb61dc29f822a38382d62f6330db1b053afc5a1cbe0872dc
SHA256 (BOOTX64.EFI) = 4aea681b75a26f28250185708e9d6f9c19e4ee46cb5d8563eee57f51b59a8499
SHA256 (BUILDINFO) = d8e6c4e63945d23159fad5b61dbd26f3beb6b326f1cf648a599207eafe15adc6
SHA256 (INSTALL.amd64) = f2aa9402305ad474dda117a94d01727a5ffc8d0b601d7d84441b56401c529486
SHA256 (base63.tgz) = 6974edc9860b5907a139b69679cd83f035ddf25b88112753b0de8db7c8bc7798
SHA256 (bsd) = a576dd47b59cfd960543d9f1b425329aff4805148135bfa2f9fb498e4e9cab9b
SHA256 (bsd.mp) = 274f7a2948b770fd9b6199015c80abc94abe6ce25fafe25f979a386725b61c7d
SHA256 (bsd.rd) = 1c0adb43a02ae3aee512bcf0829dac0ccb2e4d614b161049af7ce530e5da2dfc
SHA256 (cd63.iso) = 7b3feffcc9ade0dcaba3c5996c1eb797928cd76cecfa4c54bf8297b191bd461f
SHA256 (cdboot) = 4a7100056d930c853a49bc1d203763b51951dc38b20308d675fe8a678f5a9ae1
SHA256 (cdbr) = ff2a89976c0c91d3c5037760a45e0dcc337410b5f82710ef628ac73e13296a6d
SHA256 (comp63.tgz) = f0aa47152ee4e11e0d9ab1cf8788c07b4487c425b92a1c043b7961f27634b571
SHA256 (floppy63.fs) = 7286a386402b76829a15bd4877e4adce5fd8f9b50c86223cc494dbd97201fc85
SHA256 (game63.tgz) = a75af254b38495a53d10ea1d6540041b170a6dad5048fc4b2c59c399007fb5c8
SHA256 (install63.fs) = df19266be16079ccd6114447f7bb13bdedb9c5cb66ecc1ea98544290fa4dc138
SHA256 (install63.iso) = ee775405dd7926975befbc3fef23de8c4b5a726c3b5075e4848fcd3a2a712ea8
SHA256 (man63.tgz) = 331cab3ea89f81157f8cc111fb8b4eaba3bb6c6decd74e59521d2447208619b1
SHA256 (miniroot63.fs) = da54a4237c4dee1261d73b585532b16047e5c866047b3e8da879a9dbc46d2f73
SHA256 (pxeboot) = 60029919798f48ea40ecb123adfed6217f099d5ed9cd1a6c7de5b544d7b7b0f6
SHA256 (xbase63.tgz) = 9fbdf7f8f3a7c9e54a10859b55a3bf02a0ae142924688f823d09afc26fb0fe11
SHA256 (xfont63.tgz) = 35103b2a0b4e8ee0bccd5d55e24fa37afe4e7c86b7301f641cab12b9bccdb8bd
SHA256 (xserv63.tgz) = f7dce27e557f4ce1c61ddc4395624079a212af6f11eaa3c4f73f4271b8d62c76
SHA256 (xshare63.tgz) = 5a91ebd61ad8d64c0d98d07bbd80f9c8346b12fa5c61bdad36a8b107179ed3bd

arm64

untrusted comment: signature from openbsd 6.3 base secret key
RWRxzbLwAd76ZRYr4Sql5g3jvvE1hVZ0t3uAe8oUVPCPNzwzZSsYM0O4C13SxnO7LkDUlRsazmh9d9EOZl8wo8qzkLVFJMActgI=
SHA256 (BOOTAA64.EFI) = 22a5e1ba64ec666f645e637ee5aff5ef1292725247e4e383fc33ace6e8612f92
SHA256 (BUILDINFO) = c0e40b83bb0497f5d677c8e608a430b1ec8bb3d7f40090e4041f598132494604
SHA256 (INSTALL.arm64) = 56ff0e5b849a9bbb828c506bc4f66490a735ee06241c62dc0217fd3a4b524a01
SHA256 (base63.tgz) = f1705cf178003e626ab863f301e959e04e087fa07031d526f7c1df61aeae2924
SHA256 (bsd) = e481bfaf81ea0d63c8119a385a15e63dd6189bfc02f4ca9c2be47658e013d69f
SHA256 (bsd.mp) = 1c63d76e5a6cc76280dc23ec169e46c1639e9d55b3a70a80c7f8af590a76b42c
SHA256 (bsd.rd) = cfa3f8deacbfbbd44c3de7e56d49f40ff17e229e4a81dd76eefd312ba241e715
SHA256 (comp63.tgz) = d905a868e8c6296032c5ffa9018e6a047f3a3b6068a95e5a82cfdd58175b750a
SHA256 (game63.tgz) = 1a48c5c6eddc48de744bc1e0c76d48fe5d2bdd4e85ca67a6b9607ed70bc15cb9
SHA256 (man63.tgz) = 4ba9da3b87c971871fb1128c47893e3bc251c578e15fc94ac1fc8c2353fee1da
SHA256 (miniroot63.fs) = 6b782b5394b70367ce5407571948914fe878ac6523225f652fefc3563ef72e6c
SHA256 (xbase63.tgz) = 1996eaef5d9811486e273df196ab73126db11a06cc336b4f9e8e24f41f5c5599
SHA256 (xfont63.tgz) = 1b5f06a034a0fd95baf4a47e81f74a34b678f9cec02e47e370dea5d0f87c1fe9
SHA256 (xserv63.tgz) = 3a44d9f1af1a1d3c529a06a9eb9acbf37a2e11f24513e4054d550c303c5d5a8f
SHA256 (xshare63.tgz) = 32ae72aa6be1c23df36fbeeba580b96592bd62c777a1ab017f2e22ff7141744a

Check Signature

signify pubkeys for this release:
base: RWRxzbLwAd76ZZxHU7wuIFUOVGwl6SjNNzanKWTql8w+hui7WLE/72mW
fw:   RWT3tdmiAc+DH/CJOxPFT10kUM90/UcLTgSEUEKzhKm9QEhy+UD4CWPy
pkg:  RWT58k1AWz/zZO9DHcPHXiHhDNP6hdwGjxNkyMoc/sh4O5NI8Zz1R1lD
signify -C -p /etc/signify/openbsd-63-base.pub -x SHA256.sig
signify-openbsd -Cp openbsd-63-base.pub -x SHA256.sig install63.iso

Full Disk Encryption Install auf sd0/wd0
Boot CD and start (S)hell

zeroing the first chunk of the entire scsi disc (optional)

dd if=/dev/zero of=/dev/rsd2c bs=1m count=1

sd/rsd: Its device files would be /dev/sd2a for the block device and /dev/rsd2a for the raw (character) device.
2: The devices are numbered by the order in which they are detected at boot time, starting at zero. Here: Disc number three.
c: The c partition is always the entire disk.

if there is no sd0 (optional)

cd /dev && sh MAKEDEV sd0
fdisk -iy sd0
disklabel -E sd0

add partition a

z
a a

offset: [64]
size: [1234567890]
FS type: [4.2BSD] RAID

w[Enter]q[Enter]
bioctl -c C -l /dev/sd0a softraid0
exit

start (I)nstall

Which disk is the root disk? (‘?’ for detials) [sd0]
“?” should show you “sd?: SR CRYPTO”
e.g. “sd1”


install Packages
add to .profiles file:

export PKG_PATH=https://ftp.fau.de/pub/OpenBSD/`uname -r`/packages/`uname -m`/
pkg_add nano rsync wget openvpn firefox unzip htop

search Packages

pkg_info -Q sshfs
pkg_add sshfs-fuse

update OpenBSD

pkg_add -Uu

install mate Desktop

disable display manager

rcctl disable xenodm
pkg_add -Iv mate-desktop mate-notification-daemon mate-terminal mate-panel mate-session-manager mate-icon-theme mate-control-center mate-calc caja slim slim-themes
echo 'exec mate-session' > .xinitrc
echo "/usr/local/bin/slim -d" >> /etc/rc.local
echo 'pkg_scripts="dbus_daemon avahi_daemon"
dbus_enable=YES' >> /etc/rc.conf.local
startx

Arch Linux 2017.12 in VirtualBox installation

Vom Installationsmedium booten und die Installations Architektur auswählen (heute meistens x86_64)
Torrent: https://www.archlinux.org/releng/releases/2017.12.01/torrent/
GPG: 4AA4767BBC9C4B1D18AE28B77F2D434B9741E8AC
MD5: d0ae8c4b4a037238e5f0880243d4619e
SHA1: ec5e7c58520d7e1be72bc27c669d3c5fc94d6947

Installationsanleitung
https://wiki.archlinux.de/title/Arch_Install_Scripts
https://wiki.archlinux.org/index.php/Installation_guide

Sobald Terminal tty1 geladen ist folgendes ausführen

loadkeys de-latin1
pacman -Sy

jetzt sollten updates heruntergeladen werden – wenn nicht: Internetverbindung checken


Für remote SSH Setup (optional)

pacman -S openssh
systemctl enable sshd.service
systemctl start sshd.service

jetzt sollte man sich über die ip (ip addr show) per ssh einloggen können (Passwort setzen nicht vergessen – passwd)


Festplatten ‘dos’ partitionieren

cfdisk /dev/sda

/dev/sda1 – 1 GB – ext4 – /boot
/dev/sda2 – * GB – luks – cryptcontainer

Partitionen anlegen

mkfs.ext4 /dev/sda1
cryptsetup luksFormat /dev/sda2
cryptsetup luksOpen /dev/sda2 sda2_crypt
mkfs.ext4 /dev/mapper/sda2_crypt

Dateisysteme einhängen

mount -t ext4 /dev/mapper/sda2_crypt /mnt
mkdir -p /mnt/boot
mount -t ext4 /dev/sda1 /mnt/boot

Basissystem einrichten

pacstrap /mnt base base-devel grub nano openssh net-tools lz4 virtualbox-guest-modules-arch virtualbox-guest-utils

System einrichten

genfstab -Lp /mnt > /mnt/etc/fstab
#cp /etc/resolv.conf /mnt/etc/resolv.conf
arch-chroot /mnt /bin/bash
echo "ArchLinux" > /etc/hostname
echo LANG=de_DE.UTF-8 > /etc/locale.conf
echo LC_COLLATE=C >> /etc/locale.conf
echo KEYMAP=de-latin1 > /etc/vconsole.conf
nano /etc/default/grub

GRUB_CMDLINE_LINUX=”cryptdevice=/dev/md1:md1_crypt”

ln -s /usr/share/zoneinfo/ZONE/ORT /etc/localtime # Zone/Ort anpassen

ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime
systemctl enable dhcpcd.service

Gewünschte Sprachen in /etc/locale.gen auskommentieren, anschließend mit locale-gen erzeugen

en_US ISO-8859-1
en_US.UTF-8 UTF-8
de_DE ISO-8859-1

/etc/mkinitcpio.conf konfigurieren und Kernel-Image mit mkinitcpio -p linux erzeugen
z.B. zu HOOKS mdadm und zu MODULES raid1 hinzufügen

MODULES=(ext4)
HOOKS=(base udev autodetect modconf block keyboard encrypt filesystems fsck)
mkinitcpio -p linux

Bootloader Grub einrichten

grub-install --no-floppy /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
passwd
useradd UserName
passwd UserName
mkdir /home/UserName
chown UserName:UserName /home/UserName

Gnome3 isntallieren

pacman -S xorg-server xorg-xinit gnome gnome-extra
echo "setxkbmap de-latin1" >> /home/UserName/.xinitrc
echo "exec gnome-session" >> /home/UserName/.xinitrc

Fertig – nur noch sauber Beenden und Neu starten

exit
umount /mnt/boot
umount /mnt
reboot