starting a background process running tcpdump on boot
I have a group of PCs running SuSe 8.0 in a locked-down kiosk mode in a couple of remote locations. We are experiencing some intermittent networking problems and I need to obtain packet information to help to identify where the problem is occurring.
I have written a very basic script which calls tcpdump and places the output into a file. This works great when called from the command line and when called by cron. BUT, it doesn't work in startup (it wants to stay interactive and then it dies once my foregound kiosk interface starts). Is there a way to make it a background process on startup? Is there a better tool for batch packet monitoring that I haven't stumbled across?