User Tools

Site Tools


Sidebar

snippets:trashcan

BGP interaction simulation

  • linux-boxen with quagga
  • cisco-emulation dynamips (GNS3 frontend), Olive

HA-clustertesting

  • Problem: many clusters (veritas vcs with io-fencing, steeleye lifekeeper) use scsi-3 persistant reservation to avoid splitbrain situations - this isnt emulated by kvm/xen/vmwave(any-version).
  • unchecked solution: last versions of solaris/opensolaris seem to offer this in their iscsi-target
  • the linux LIO target should also support this

small boards/routers

python learning

trash

fujsie iRMC default user/pass admin/admin

disable spectre/meltdown etc. fixes

noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off mitigations=off 

tcpdump

  • cd /tmp; tcpdump -C 1 -i em1 -nv -w tcpdump.bin -W 3 # create rotating 3 files a 1MB of the last traffic on the interface

dccutil monitor remote control

dccutil can remotely control various monitor functions: change volume (the monitor setting), change monitor input etc. details

ddcutil detect
ddcutil capabilities
ddcutil getvcp 0x60
ddcutil setvcp 0x60 0x11 # switches to hdmi on example monitor

dnssec

  • dns CERT entry for x509 certs, so webserver certs can be verified without using CAs
  • SSHFP: verification of ssh-known-hosts entries (dig -t SSHFP home.dyndns.hauke-lampe.de)
  • CERT: usage for verification of PGP-keys, CERT contains fingerprint & URL to pubkey (dig -t CERT lampe.hauke-lampe.de)
  • RFC2538bis, echo Test |gpg –auto-key-locate cert -er lampe@hauke-lampe.de

tvbrowser and other java-apps on linux not working any more

  • Problem: “util.exc.TvBrowserException: Could not download group file http://tvbrowser.org/listings.” appears, “java.net.SocketException: Network is unreachable” or “It was not possible to create an Internet connection”
  • Description: your linux-distro changed behaviour with an update, java is just trying ipv6 connection here and fails.
  • Solutions:
    • 'sysctl -w net.ipv6.bindv6only=0' orders to also try ipv4 connections, use /etc/sysctl.conf for the setting to survive reboots.
    • or run java with these additional parameters: “-Djava.net.preferIPv4Stack=true”

fedora 19

Fedora 19/anaconda is no longer supporting to install grub into the bootsector of a partition. Reasoning is in https://bugzilla.redhat.com/show_bug.cgi?id=872826 . Basically, “upstream grub2 does not support to install the grub2 bootsector onto an ext[234] filesystem, it considers this unsafe under some circumstances”. grub2 still allows to do this using the “–force” option. Thus, fedora19 can be installed, one can manually switch to console2 and use “grub2-install –force /dev/sdXY” to install grub2 to the bootsector of partitions XY.

linux

notifys of dir/file changes
  • dnotify: old (from 2.4.x), restricted
  • inotify: current (introduced 2.6.13), offers much, fs-independent
  • fanotify: bleeding edge (* 2.6.36), not much functionality yet
  • btrfs will include effective change-tracking, enabling fs-level mirrors etc.
video editing software
  • Openshot
  • Kdenlive
  • OpenMovieEditor
  • Pitivi
  • Kino
  • cinelerra
  • ProjectX
other

linux screen recorder

dumping rtmp streams

yum -y install rtmpdump
rtmpdump -r 'rtmp://whole-url' -o beethoven

ebooks

  • convert djvu→pdf
    • ddjvu -format=pdf -quality=85 -verbose in.djvu out.pdf
    • ddjvu -format=pdf -mode=black in.djvu out.pdf smaller, black/white
    • gscan2pdf
  • scan
    • scanimage (sane, sane-utils)
    • tesseract: OCR
    • abby finereader: OCR (commercial)
    • scan tailor: modify scans
    • YAGF, OCRFeeder: trying to recognize textblocks
    • paperwork: full document management
  • constructing the pdf
    • hocr2pdf (exactimage)
  • OCR japanese
    • FineReader Engine 11 CLI for Linux

network manager

nmcli device status       : list devices' state
nmcli device show enp2s0  : list device states
nmcli con show            : show all configured connections (profiles)
nmcli con show -a         : filter just active connections
'man nmcli' and 'man nmcli-examples'.

mail clients to try out

  • Gnus, VM, Wanderlust, MEW

youtube search terms

  • “instant remedy playlist”, “resident evil playlist”, “ghost in the shell playlist”, ryuichi sakamoto

Pixum Fotowelt

Running the Pixum Fotowelt application on Fedora29, one gets “Ein unbekannter Netzwerkfehler ist aufgetreten”. I suspect that the Pixum server only accepts older SSL/TLS, not offered any more by newer openssl-lib. Fetching an old version and making copies in the “Pixum Fotowelt” installation directory allows the application then to communicate with the server. You should consider what to send over such a connection.

mkdir ~/Downloads/tmp
cd ~/Downloads/tmp
wget https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/25/Server/x86_64/os/Packages/o/openssl-libs-1.0.2j-1.fc25.x86_64.rpm
rpm2cpio openssl-libs-1.0.2j-1.fc25.x86_64.rpm | \
  cpio --extract --verbose --make-directories --preserve
cp ./usr/lib64/libcrypto.so.1.0.2j ./usr/lib64/libcrypto.so.10 \
  ./usr/lib64/libssl.so.1.0.2j ./usr/lib64/libssl.so.10 \
  ~/Downloads/PixumFotowelt2018/

Running “Pixum Fotowelt” in strace shows library access.

torbrowser specify exit/entry nodes

vi ./.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/TorBrowser/Data/Tor/torrc
HiddenServiceStatistics 0
# This ensures Japan entrynodes, German exitnodes
EntryNodes {jp} StrictNodes 1
ExitNodes {de} StrictNodes 1

Ghost/web blog soft

# Fedora32 install
dnf install nodejs npm
npm install ghost-cli@latest -g
useradd -m chris
su - chris
ghost install local

fgallery

# set exif time
exiftool -DateTimeOriginal='2020:06:27 08:49:51' 20200627_084951_waiting_hikers.jpg

# (re)create gallery
fgallery -d -i 48_20200627_tou_no_dake/ ../out/48_20200627_tou_no_dake/

several

  • Nomiya, Ichiroさん

nested KVM

$ cat << EOF > /etc/modprobe.d/kvm_intel.conf
options kvm-intel nested=1
options kvm-intel enable_shadow_vmcs=1
options kvm-intel enable_apicv=1
options kvm-intel ept=1
EOF

firefox write interval

Increase for longer live of you SSD: about:config , browser.session-store.interval . 15.000 = sec

O'Badzda

  • 200g Frischkäse (Natur)
  • 200g Camembert oder Brie
  • ~50g Butter
  • 1 kleine Zwiebel, gehackt
  • Paprikapulver (edelsüß)
  • etwas Bier

Alles kleinmantschen und verrühren, ziehen lassen, fertig!

trousers

Bought 2012~2014 @C&A Muenchen Perlach

TAPERED FIT / CXH.FLATOMIC est. 1975 W30/L32
clockhouse supply co.
fine mens apparel / 1975 clothing company 0910/2010, 1102/1982

derrick tracker

snippets/trashcan.txt · Last modified: 2021/06/09 13:13 by chris