LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 03-14-2003, 11:49 AM   #1
psychoholic
Member
 
Registered: Nov 2002
Location: Manchester, UK
Distribution: Slackware 10.2
Posts: 52

Rep: Reputation: 15
Starting Firewall on boot (using firestarter)


Hi all!

I recently installed firestarter using the tar package not the RPM (which I had problems with)

The firewall works great but I cannot get it to start automatically on boot.

I know that firestarter saves its configuration to /etc/firestarter/firewall.sh and I know that this should be inserted into rc.local to get the script to run on startup...

Problem is that in rc.local the internet connection is starting up *just before* the line to start the firewall. (using pppd call command)

I think what is happening is that my firewall is starting before my internet connection (ppp0) has connected (it takes around 20 sec to connect to my ISP using the pppd call adsl command ).

I think this is why I can run the script manually after booting but not automatically.

In short is there anyway I can make the fire wall script activate ONLY AFTER the connection is up and running for sure!

Or maybe there is another solution!

Thanks in advance
 
Old 03-14-2003, 11:58 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 48
I use Debian which is slightly different in that it does not use rc.local but I found the solution was to do a symlink. The Debian system uses rcx.d directories instead rc.local. If the script is in /etc/firewall then;
ln -s /etc/firewall/rc.firewall /etc/rcx.d/S90rc.firewall
 
Old 03-14-2003, 01:45 PM   #3
Burke
Member
 
Registered: Dec 2002
Location: Virginia, USA
Distribution: Fedora Core 3
Posts: 131

Rep: Reputation: 15
Another option would be to put a "sleep 90" on the line before your firestarter startup command. Change 90 to the number of seconds delay you want.
 
Old 03-15-2003, 06:22 AM   #4
psychoholic
Member
 
Registered: Nov 2002
Location: Manchester, UK
Distribution: Slackware 10.2
Posts: 52

Original Poster
Rep: Reputation: 15
Thanks everyone for their suggestions

I'll give the sleep option a try! Sounds very easy to implement and I was orginally looking for something like this. So it seems ideal!

Thanks again!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
help starting firestarter minm Linux - Software 10 09-28-2007 07:44 PM
Need to understand Firestarter/firewall flashl Linux - Security 6 03-02-2005 06:30 AM
firestarter firewall thelenko Linux - Software 8 05-30-2004 03:01 AM
Starting firewall at boot up PapaNoHair Slackware 2 08-17-2003 07:35 PM
help with firestarter firewall luap Linux - Networking 1 03-15-2003 11:09 AM


All times are GMT -5. The time now is 01:22 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration