turing-machines / BMC-Firmware

Turing-pi BMC firmware
http://turingpi.com
GNU General Public License v2.0
226 stars 29 forks source link

Add `tcpdump` (or a dedicated netconsole client) to BMC packages #180

Open srcshelton opened 8 months ago

srcshelton commented 8 months ago

Is your feature request related to a problem? Please describe.

As a customer who has a number of Raspberry Pi devices on their network (not all necessarily CM4s in a TP2 board) I would like to make use of the TP2 BMC as my main means to debug all of my RPi devices so that I have all of the diagnostic tools in one place.

Describe the solution you'd like

Recent RPi firmware allows network diagnostic logging via the 'NETCONSOLE' configuration option. It would be great to have the tools to capture and output this on the BMC.

(Exposing this data via the Web UI would be a great additional feature!)

Describe alternatives you've considered

Any other linux host could be used… but the BMC seems ideal.

srcshelton commented 8 months ago

(I note that there's https://web.archive.org/web/20061016094740/http://oss.oracle.com/projects/cancd/, and a more recent but apparently incompatible re-write at https://git.kernel.org/pub/scm/linux/kernel/git/joern/cancd.git, via https://lwn.net/Articles/479674/)

soxrok2212 commented 8 months ago

I can’t imagine how this would be implemented in the web UI, but enabling it on the BMC itself would be helpful for any kind of network troubleshooting. +1 for me.

j0ju commented 2 months ago

netconsole ist nice, there is already the serial console which can be used for this purposes, too.