Start Firestarter from GKrellM ? (ppp)
I've been screwing around with this for a week now... I found instructions for using GKrellM's Timer Button (on the 'Net' built-in) to run 'pon' and 'poff' through the ppp0 interface.
I also found instructions for configuring sudoers so that Firestarter could be started without entering a root password. The instructions came from a Firestarter faq somewhere. So that's what I did instead of changing permissions of the executable. Then over on the ppp0 tab's 'Launch Commands' text box, I entered "sudo firestarter -s". Well the firewall doesn't open (though the manual says it works without the program visible. So I checked it by going to grc.com and running ShieldsUp, and it fails. If I manually open Firestarter, ShieldsUp reports all ports are stealth. (And I do have to enter the root password...) I read that Firestarter won't work if the ppp connection isn't there when loaded--and I've found that is true. So I have to get my dialup connection first, but I want my firewall loaded automatically. Anyone have any suggestions? I'm figuring this is a GKrellM issue, but I don't know what to do about it... Thanks for any assistance. |
instead of launching firestarter launch a sheel script with the command
sleep 4 followed by the normal command to start firestarter, that will give the ppp connection 4 seconds to establish (alter as necessary) |
Hey rednuht, thanks much.
I haven't gotten into writing shell scripts yet, so one (probably dumb) question: are you talking about a '.sh' script file? ----------- |
i am not familure with firestarter but presuming it is started with the command
/usr/bin/firestarter try echo '#!/bin/bash' > start_firestarter.sh echo "#script just delays the start of firestarter" >> start_firestarter.sh echo "sleep 4" >> start_firestarter.sh echo "/usr/bin/firestarter" >> start_firestarter.sh chmod +x start_firestarter.sh (the first command does need the single quotes) to test type ./start_firestarter.sh |
Been out of town & away from the Linux box. Will try your suggestions this weekend.
Thanks very much! |
All times are GMT -5. The time now is 09:01 AM. |