Blog

Dig Dns Whois

whois egal.com user@erde$ whois egal.com Domain Name: EGAL.COM Registry Domain ID: 1979745_DOMAIN_COM-VRSN Registrar WHOIS Server: whois.name.com Registrar URL: http://www.name.com Updated Date: 2019-09-25T20:43:47Z Creation Date: 1996-03-25T05:00:00Z Registry Expiry Date: 2022-03-26T04:00:00Z Registrar: Name.com, Inc. Registrar IANA ID: 625 Registrar Abuse Contact Email: abuse@name.com Registrar Abuse Contact Phone: 7202492374 Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited Name Server: NS1CNY.NAME.COM Name Server: NS2KRY.NAME.COM Name Server: NS3DKZ.NAME.COM Name Server: NS4BHT.NAME.COM DNSSEC: unsigned URL of the ICANN Whois Inaccuracy Complaint Form: https://www.

OpenBSD APU Serial Console

How to Access APU “B” from APU “A” via Serial Console (USB to Serial Device) APU “A” Connect USBtoSerial Adapter Connect to Serial Console on APU “B” APU “B” /etc/ttys tty00 "/usr/libexec/getty std.115200" vt220 on secure APU “A” cu -s 115200 -l /dev/tty00 cu -s 115200 -l /dev/cuaU0 (8 Port USB2Serial Device) -> you have now Console Access to APU “B” Hardware https://www.amazon.de/LogiLink-AU0033-USB-Adapter-Serial/dp/B00BBXHOAY Any Comments ? sha256: 28cee1e19429893ed3a288609d580ce28305a3c80961771d3a495403af3cf3c5

Openbsd upgrade 6.6

OpenBSD 6.6 is released today. here is my upgrade procedure: run sysmerge reboot run script: #!/bin/sh # be nice and verbose e() { echo "\n$1 **" } e "** vars" _mydir=$(pwd) e "** build base urls" _path_base=https://cdn.openbsd.org/pub/OpenBSD/6.6/amd64/ _path_pkg=https://cdn.openbsd.org/pub/OpenBSD/6.6/packages/amd64/ echo "_path_base: ${_path_base}" echo "_path_pkg: ${_path_pkg}" e "** make all devices" cd /dev ./MAKEDEV all || exit 1 e "** cd /tmp" cd /tmp e "** install boot loader" _boot=$(mount |awk -F'[/ ]' '/ on \/ / {print $3}') installboot ${_boot%?

How to Create Bootable USB Stick for OpenBSD

Download “install66.fs” Open balenaEtcher on OSX Proceed -> seems not to work :( build USB Stick with DD mount /dev/disk4s1 on /Volumes/Ohne Titel (hfs, local, nodev, nosuid, journaled, noowners) Open DiskUtils Unmount “Ohne Titel” DD osx$ sudo dd if=install66.fs of=/dev/disk4s1 bs=1m wait 10min done Any Comments ? sha256: 82aedd94540efdd5f343399a0d3d67cab01c64cb5ee70f441427fd5cbfa136da

OpenBSD 6.x Diskusage

How much Disk is used with Default Partitioning puffy66# df -h Filesystem Size Used Avail Capacity Mounted on /dev/sd0a 1005M 96.1M 858M 10% / /dev/sd0k 9.6G 2.0K 9.1G 0% /home /dev/sd0d 1.8G 12.0K 1.7G 0% /tmp /dev/sd0f 2.5G 955M 1.4G 39% /usr /dev/sd0g 1005M 202M 752M 21% /usr/X11R6 /dev/sd0h 4.2G 218K 3.9G 0% /usr/local /dev/sd0j 5.8G 2.0K 5.5G 0% /usr/obj /dev/sd0i 1.7G 2.0K 1.6G 0% /usr/src /dev/sd0e 2.8G 5.9M 2.7G 0% /var Example with 32 GB puffy66# df -h Filesystem Size Used Avail Capacity Mounted on /dev/sd0a 3.

BasicAuthentication with Nginx

NOT YET WORKING … Install NGINX pkg_add -v nginx rcctl enable nginx rcctl restart nginx Enable BasicAuth server { ... auth_basic "Administrator’s Area"; auth_basic_user_file conf/htpasswd; location /public/ { auth_basic off; } } Create File and User htpasswd -c /etc/apache2/.htpasswd user1 Restart Service rcctl restart nginx Source https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/ Any Comments ? sha256: b0311dad9186b4e2f8cd9730688c8e75c09a3ff687259cccc132810a706cb2f6

BasicAuthentication with httpd

Enable Auth server "default" { listen on * port 80 authenticate "secure area" with "/htpasswd.conf" } create htpasswd file htpasswd /var/www/htpasswd.conf user-x Password: Retype Password: chown www /var/www/htpasswd.conf chmod 600 /var/www/htpasswd.conf Restart Service rcctl restart httpd Any Comments ? sha256: b934f5b05de5100f7a6f13e4e93003740ca9704b37a4302abe51f0b8d9a1f7b3

how to create a bootable usb stick for catalina (MacOS 10.15)

stick: 16 GB format with GUID, name it USB cli: sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia –volume /Volumes/USB/ –nointeraction wait about 20min Any Comments ? sha256: 01b5e44e316946854669173480af11682adf6a20f659711acf203473a601d253

how to move on the cli

Any Comments ? sha256: 92b20e0a803b2e3c9a987fe89c259ac9bd069b22732d93f80d0626fae15e733b

Ansible tricks

Show Hostvars ansible -m debug -a "var=hostvars['puffy']" localhost Build Encrypted Variable echo -n 'letmein' | ansible-vault encrypt_string --stdin-name 'vault_my_var' vault_my_var: !vault | $ANSIBLE_VAULT;1.1;AES256 31366161316337383034303536623932613436333530333435366132383637643366333931663732 3761653137313030323036336435633134663861313939380a663939393263383934323864663265 34353632646137356535323536643565616561376133313936313763386164333234663233643561 6364396632663133380a356132343239386632356562333538633236646665653531333438653165 6465 Ansible Loops Overview https://chromatichq.com/blog/untangling-ansibles-loops Anstom Log Source: https://github.com/octplane/ansible_stdout_compact_logger/commit/d8effb3c85d1b9364d3efab9360f8470bc76fc26 Any Comments ? sha256: eeb8c85d2b71a4b18ec1d57d131234a75ecfd47c140a6bba3a058c6a68da5bc1