nc -l -u 6666 na máquina receptora não recebe mensagens do netconsole.
testado fazendo "teste de eco > /dev/kmsg"
consigo me conectar ao netcat fazendo "nc -u 10.0.0.192 6666" na máquina netconsole
"sudo tcpdump -i wlp170s0 -n -e porta 6666" não gera nada na máquina de escuta
opções do netconsole:
modprobe netconsole [email protected]/enp8s0,[email protected]/54:14:f3:52:82:94 oops_only=0
ifconfig na máquina netconsole:
enp8s0 Link encap:Ethernet HWaddr 70:85:C2:D7:65:F3
inet addr:10.0.0.42 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1032 errors:0 dropped:0 overruns:0 frame:0
TX packets:791 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:95338 TX bytes:230456
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:0.0.0.0 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:0
ifconfig na máquina de escuta:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MULTICAST MTU:65536 Metric:1
RX packets:400 errors:0 dropped:0 overruns:0 frame:0
TX packets:400 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:46289 TX bytes:46289
nfs Link encap:(hwtype unknown)
inet addr:10.8.0.3 P-t-P:10.8.0.3 Mask:255.255.255.0
UP POINTOPOINT RUNNING NOARP MTU:1420 Metric:1
RX packets:7418 errors:0 dropped:0 overruns:0 frame:0
TX packets:22098 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1806372 TX bytes:26188072
wlp170s0 Link encap:Ethernet HWaddr 54:14:F3:52:82:94
inet addr:10.0.0.192 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2771549 errors:0 dropped:54 overruns:0 frame:0
TX packets:1029444 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3024953926 TX bytes:153598327
Acontece que você tem que aumentar a verbosidade com dmesg -n 8