nc -l -u 6666 수신 컴퓨터에서 netconsole로부터 메시지가 수신되지 않습니다.
"echo test > /dev/kmsg"를 실행하여 테스트합니다.
netconsole 시스템에서 "nc -u 10.0.0.192 6666"을 실행하여 netcat에 연결할 수 있습니다.
"sudo tcpdump -i wlp170s0 -n -e port 6666"은 청취 시스템에 아무것도 출력하지 않습니다.
웹 콘솔 옵션:
modprobe netconsole [email protected]/enp8s0,[email protected]/54:14:f3:52:82:94 oops_only=0
netconsole 시스템의 ifconfig:
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:
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
답변1
자세한 내용을 높이려면 dmesg -n 8을 사용해야 합니다.