You are not logged in.

#1 2005-06-29 10:08:26

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Firestarter auto start (tried rc.conf and rc.local)

Yo all,

Just wondering how to start FS at boot. I've read the docs, tried adding 'firestarter' to rc.conf and adding 'firestarter &' or '/etc/rc.d/firestarter start' to /etc/rc.local'.

Nothing seems to work. The rc.d script works if I do '/etc/rc.d/firestarter start' but the daemon will not start via rc.conf.

I'm stuck.... help?

Offline

#2 2005-06-29 10:40:12

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,432
Website

Re: Firestarter auto start (tried rc.conf and rc.local)

if /etc/rc.d/firestarter start works then firestarter in rc.conf daemons should work UNLESS the daemon requires something that is not started yet when the DAEMONS array is started.  My guess would be that one of these is not fulfilled:

FS_CONTROL="/opt/gnome/etc/firestarter/firestarter.sh"

if ! [ -f $FS_CONTROL ] ; then
  echo "Please run firestarter executable first manually as root to configure it initially"
  echo "You'll have to do that as root in a root console from in an X env"
fi

[ -x /opt/gnome/bin/firestarter ] || exit 0
[ -x $FS_CONTROL ] || exit 0
[ -s /opt/gnome/etc/firestarter/configuration ] || exit 0

Offline

#3 2005-06-29 10:54:05

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: Firestarter auto start (tried rc.conf and rc.local)

In /etc/rc.conf there is a line beginning with DAEMONS, followed by an array of services inside. Add "firestater" within that array, and it'll get run on start-up.

Offline

#4 2005-06-29 21:06:03

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Firestarter auto start (tried rc.conf and rc.local)

I know that aroo tongue Tried it.

Thanks to Mr. Green pointing me to a rather obvious bit of documentation that says the network has to be started first... oops!

Makes sense I suppose. It appears to be working now, I get a startup message, but ps -ax doesn't show firestarter - why is that?

Offline

#5 2005-06-29 21:09:04

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,432
Website

Re: Firestarter auto start (tried rc.conf and rc.local)

I wrote:

UNLESS the daemon requires something that is not started yet

mr green wasn't the only one wink

Offline

#6 2005-06-30 10:06:15

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Firestarter auto start (tried rc.conf and rc.local)

OK smarty pants tongue

//Strokes dibbles ego wink

Offline

#7 2005-06-30 12:02:43

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,432
Website

Re: Firestarter auto start (tried rc.conf and rc.local)

thanks, mate smile

Offline

#8 2005-06-30 13:10:33

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Firestarter auto start (tried rc.conf and rc.local)

wow, this firewall app seems rather nice !! Been looking for something graphical to aid in firewall building (i usually does this with my scripts...but this looks interesting)


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

Board footer

Powered by FluxBB