Subject: Re: Freebsd 4.9
From: AthlonRob
Date: 12/12/2003, 18:49
Newsgroups: alt.sci.seti

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

On Fri, 12 Dec 2003 09:57:04 -0600, gorilla <bsdgorilla@hotmail.com> wrote:
box.  I have modified /usr/local/etc/rc.setiathome.conf as follows
seti_proxy_server=192.168.1.11:5517
I then typed in setiathome.  Setiathome then began to run and retrieved 
a unit, for berkeley not my server.  Can someone please let me know what 
I have done wrong.  I can type in setiathome -proxy 192.168.1.11:5517 
and it will point to my server, but I do not want to have to start the 
process by hand every time.

When you edit that /usr/local/etc/rc.setiathome.conf (is that *really* 
where FreeBSD's port puts it?  What an odd location...), you are setting 
the settings for when you run the setiathome rc script, *not* when you 
just run 'setiathome' ... when you just run 'setiathome' you are calling 
the binary directly and it isn't checking for settings in oddball files 
like /usr/local/etc/rc.setiathome.conf.

I think FreeBSD's init scripst are similar to Slackware's, which are 
said to be very BSD like... so if you run /usr/local/etc/rc.setiathome 
or maybe /usr/local/etc/rc.d/rc.setiathome or maybe 
/etc/rc.d/rc.setiathome instead of just setiathome it should do what you 
expect.  If you have /etc/rc.d/rc.local, you could add a line to the end 
of that to call the rc.setiathome script, wherever it may be.

If you can't find the script, I think FreeBSD includes the GNU 
Fileutils, right?  If so, you can do an updatedb && locate rc.setiathome 
to see where the script sits.

I think it raises the question, though... why are you using FreeBSD if 
you don't understand how it's init scripts work?  FreeBSD tends to be 
geared more towards the experienced Linux/Unix users who have a really 
strong grasp of this stuff and need to do oddball things that Linux, for 
whatever reason, won't do for them.  There is no speed advantage going 
with FreeBSD vs Linux 2.6.0-test11.  There are, however, compatability 
pitfalls.  If you decide you want to give linux a shot, you might enjoy 
Gentoo or Slackware as a base system with Gentoo's Portage put on top of 
it (there's a project out there with just such a goal in mind).

-- Rob | If not safe, Email and Jabber: | one can never be free. athlonrob at axpr dot net | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/2hWhhm6KEoOOAe0RAt3MAKCUxlXrFz7N9N0oYLkXvXL1lJOPOwCdHQF9 yLwRQmRoBzyiZ9UqvGOIe3s= =ElLT -----END PGP SIGNATURE-----