If you have compilation problem, add to meddler.cpp this line:
It's my first program in C++ so don't laugh ;P What he do is written in README file so I won't do mess on this great forum, please read
My problem is that, when runned in daemon mode (meddler -d) Meddler works perfectly. Problem is when I want to add to /etc/rc.d/rc.local (I've Slack 10.0) one line to start my program automatically:
When I restart computer, Meddler is runned, file's are created, but arping isn't launched so packets aren't sending (line 182 in meddler.cpp). Meddler creates file arping.sh, runs it and arping.sh runs arping. I thought that maybe it's too complicated (I said, don't laugh...) and I rewrote the code. Meddler in new version do sth like this:
where variable_txt has value e.x. "arping -c 1 -r -w 2000 192.168.0.142". And the same situation again - runned manually works, runned form rc.local don't.
I tried tricks with paths (e.x. '/usr/local/bin/meddler' in place of 'meddler'), I even added this to rc.S, nothing works. I though that maybe Slackware doesn't permit to run program from another program or what...
PS Sorry for my english.