TechTalk

Nerdzeug, Computer, Technik, Rocket Science

Example Netplan dual stack network configuration for Ubuntu 18.04

(08-15 example) srv01 ~ # cat /etc/netplan/01-netcfg.yaml # This file describes the network interfaces available on your system # For more information, see netplan(5). network: version: 2 renderer: networkd ethernets: ens160: addresses: [1.2.3.4/30, „2a02:708:xx:xx::2/64“] gateway4: 1.2.3.4 gateway6: 2a02:708:xx:xx::1 nameservers: addresses: [8.8.8.8, „2001:4860:4860::8888“] ens192: addresses: [192.168.0.10/24] to apply the settings, use netplan apply to list your

Example Netplan dual stack network configuration for Ubuntu 18.04 Read More »

DisplayLink-Driver / i-teck Docking Station Driver for Debian and Ubuntu

Long story short: https://raw.githubusercontent.com/AdnanHodzic/displaylink-debian/master/displaylink-debian.sh local mirror here (dated 2018/03/13) See it in Action: root@nb-fpanzer:~# ./displaylink-debian.sh ————————— displaylink-debian —————————- DisplayLink driver installer for Debian based Linux distributions: * Debian GNU/Linux * Ubuntu * Elementary OS * Linux Mint * Kali Linux * Deepin Options: [I]nstall [U]ninstall [R]e-install [Q]uit Select a key: [i/u/r/q]: I ——————————————————————- Checking dependencies

DisplayLink-Driver / i-teck Docking Station Driver for Debian and Ubuntu Read More »

Ubuntu 17.10: sudo / gksu / gksudo not working, cannot open display

In case you try to start any application under Ubuntu and you get something like that: fpanzer@nb-fpanzer:~$ sudo gsmartcontrol No protocol specified Unable to init server: Verbindung ist gescheitert: Verbindungsaufbau abgelehnt (gsmartcontrol:4153): Gtk-WARNING **: cannot open display: :0 Try to allow „root“ to run applications under your (user-)display: xhost +SI:localuser:root Update: if you disable Wayland,

Ubuntu 17.10: sudo / gksu / gksudo not working, cannot open display Read More »

Unlock your /home partition and other volumes with cryptsetup on boot (Ubuntu 17.10 / systemd)

With Ubuntu 17.10 using systemd 234-2ubuntu12.1 (as of me writing this) you cannot just do it the obvious way: This will create lines and/or keyfiles in /etc/crypttab, which systemd happily ignores. At least the unit-files systemd will generate on the fly will fail. The way to do it, is adding the correct kernel boot parameters luks.uuid=

Unlock your /home partition and other volumes with cryptsetup on boot (Ubuntu 17.10 / systemd) Read More »

MariaDB 10.1.28 with WSREP will not start – here’s how you can fix it

If you are running MariaDB 10.1 branch on any major distro (Ububtu, CentOS/RHEL…) with WSREP=ON (indicating replication such as galera), then your MariaDB systemd unit will most likely fail to start. Steps to reproduce: Install mariadb-10.1.27 or earlier for any distro enable WSREP (have a cluster running) upgrade one node to 10.1.28 mysql will simply

MariaDB 10.1.28 with WSREP will not start – here’s how you can fix it Read More »

Intel NUC: Lautes brummen aus dem Lautsprecher, wenn keine Anwendung Ton abspielt

Ich habe heute einen Intel NUC mit CentOS7 neu installiert und beobachtet, dass etwa 5 Sekunden nachdem die Audiowiedergabe stoppt – beispielsweise VLC – die Lautsprecher extrem laut zu brummen anfangen, so als würde man das Klinkenkabel nur halb einstecken. Meine Vermutung, CentOS schaltet die Soundkarte ab, war dann auch tatsächlich richtig, der Workaround ist

Intel NUC: Lautes brummen aus dem Lautsprecher, wenn keine Anwendung Ton abspielt Read More »

Quick Tip: How to rebuild all initrds with dracut in CentOS 6/7

If you need to automatically rebuild all initrds for all installed kernels: rpm -qa | grep kernel | grep -v headers | grep -v tools | sed ’s/^kernel\-//g‘ | xargs -i dracut -v -f /boot/initramfs-{}.img {} Oh, and while we’re at it, the same for Ubuntu update-initramfs -u -k all

Quick Tip: How to rebuild all initrds with dracut in CentOS 6/7 Read More »

Nach oben scrollen