modinfo netconsole | grep parm modprobe netconsole 'netconsole=@/wlp0s20f3,6666@192.168.1.138/'
options netconsole netconsole=@/wlp0s20f3,6666@192.168.1.138/
Zu früh im Bootvorgang für netconsole:
netconsole
rm /etc/modules-load.d/netconsole.conf
Besser: warten bis Netzwerk funktioniert 1)
[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
nc -k -q0 -v -u -l 6666
Alternativ netconsole an Port 514/UDP senden und mit rsyslog empfangen.