Linuxhotel Wiki

Wie ging das nochmal?

Benutzer-Werkzeuge

Webseiten-Werkzeuge


admin_grundlagen:netconsole

Dies ist eine alte Version des Dokuments!


netconsole: Kernel Logs übers Netz schicken

/etc/modprobe.d/netconsole.conf
options netconsole netconsole=@/wlp0s20f3,4138@192.168.1.138/

Zu früh:

/etc/modules-load.d/netconsole.conf
netconsole
rm /etc/modules-load.d/netconsole.conf

Alternativ: warten bis Netzwerk funktioniert

/etc/systemd/system/netconsole.service
[Unit]
Description=dmesg to network
 
[Service]
Type=oneshot
ExecStartPre=/usr/bin/sh -c 'until ping -q -c1 192.168.1.138;do sleep 1;  done'
ExecStart=/usr/sbin/modprobe -v netconsole
 
[Install]
WantedBy=network-online.target
admin_grundlagen/netconsole.1769629078.txt.gz · Zuletzt geändert: 2026/01/28 19:37 von ingo_wichmann