systemd.mount replacing autofs

I have been a very satisfied user of autofs for several years. Using a laptop in multiple location without reboot, could often cause annoying timeouts with hard mounted NFS shares. So I found autofs, which did a great job, especially the ghost option is nice, making you able to browse the filesystem when it’s not…

Continue Reading

Postgresql not listening on docker interface after reboot

/etc/postgresql/12/main/postgresql.conf is where you define the interfaces for postgresql to listen on. It’s done with the line “listen_interfaces =”So, to get postgresql to listen on a docker interface, you have to add the IP address to the configuration: This will make postgresql listen after connections from my docker container. Unfortunately when i rebooted the machine,…

Continue Reading

Ping not permitted in WSL

Using Windows subsystem for Linux (WSL) is so nice, when you are forced to work from an inferior OS, sometimes also referred to as “a gaming console”Especially combined with the Windows Terminal, which I wrote about here: https://www.nordal-lund.dk/?p=592 I’m sure that most Linux/Unix administrators will feel right at home. Despite all the goodness, there are…

Continue Reading

Check for open outgoing ports

Want to know which ports are allowed (or open) to use in your organization? You can check all ports with http://portquiz.net/ In bash somthing like this would help you get going: for i in `seq 1024 65535`; do if nc -z portquiz.net $i; then echo “Port $i Success”; :; fi done You will now get a…

Continue Reading

EDNS på Technicolor TG799VN V2

I dag skiftede jeg Internet udbyder fra Telenor til Telia, begge kører med en Technicolor router, men med forskellige versioner. Den nye fra Telia er en technicolor TG799VN V2. Selve skiftet gik faktisk super nemt og det hele var oppe at køre efter ca. 30 minutter – men der var altså lige et lille problem med…

Continue Reading