LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Start Firestarter from GKrellM ? (ppp) (https://www.linuxquestions.org/questions/debian-26/start-firestarter-from-gkrellm-ppp-361640/)

beebelo 09-09-2005 12:26 AM

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.

rednuht 09-12-2005 04:19 PM

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)

beebelo 09-13-2005 10:22 PM

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?


-----------

rednuht 09-14-2005 04:10 PM

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

beebelo 09-16-2005 10:43 AM

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.