Adding privoxy to init

Hello,

I’m reading these instructions (Privoxy tor squid - openSUSE) and I have a question about the following:

In my Opensuse 11.0 installation, I had to add the privoxy to the “init” startup. Script “/etc/init.d/privoxy” was installed, but no links were set in the “rc?.d” directories to the script.

I’m not exactly sure how to set up links to the rc directories.
Does the following accomplish this?

/etc/rc.d/init.d/privoxy start

Thanks for reading.

Hi
Running the following command should activate them;


chkconfig privoxy on

For example;


kermit-opensuse:~ # ls -la /etc/rc.d/rc3.d |grep pri
kermit-opensuse:~ # chkconfig privoxy on
kermit-opensuse:~ # ls -la /etc/rc.d/rc3.d |grep pri
lrwxrwxrwx  1 root root   10 Oct 14 18:01 K12privoxy -> ../privoxy
lrwxrwxrwx  1 root root   10 Oct 14 18:01 S10privoxy -> ../privoxy


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 11:48, 2 users, load average: 0.03, 0.09, 0.04
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.80

Thanks. So I tried your suggestion as follows:

$ sudo /sbin/chkconfig privoxy on
$ ls -la /etc/rc.d/rc3.d |grep pri
lrwxrwxrwx 1 root root 10 2008-10-15 01:32 K12privoxy -> …/privoxy
lrwxrwxrwx 1 root root 10 2008-10-15 01:32 S10privoxy -> …/privoxy

…but when I enter

$ ps -ef | grep privoxy

I only get “grep privoxy”

If you only get “grep privoxy”, then the proxy is not started! Check your privoxy installation by connecting to: http://p.p/

I receive ‘address not found’ when I click on that link.

Hi
The chkconfig command will enable starting when the system is
restarted :slight_smile: To start you need to run;


sudo /etc/init.d/privoxy start


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 13:21, 2 users, load average: 0.01, 0.04, 0.09
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.80

And it surely does. Thanks for your help once again!

Ok, I have Opensuse 11.1 on an x64 machine.

There is not privoxy in the /etc/init.d folder.

there is privoxyd in the /etc/init.d folder

My machine once is boot it goes into init level 5 confirmed by typing runlevel on a terminal.

I checked and there are two process in /etc/rc5.d folder: one with a K and other with an S for privoxyd.

But when I check what processes are running with ‘gnome system monitor’ application, there is not privoxyd anywhere, and my firefox is not working with the proxy.

any help appreciated

I went through this process again on 11.1, and got it working just fine. You will just see “privoxyd” instead of “privoxy” though, as you said. Otherwise, I don’t think I changed anything from the previous setup… make sure you unhighlighted the correct lines in the config files (regarding “forward-socks4a”), and that you reboot or re-run the startup scripts again afterwards.

I downloaded the tor button for firefox (https://addons.mozilla.org/en-US/firefox/addon/2275), so I can turn it on and off by clicking “Tor Disabled”/“Tor Enabled” on the lower right-hand corner of my browser.

You can navigate to these sites to check if it is up and running:

https://check.torproject.org/ (tor)
http://p.p/ (privoxy)

Hopefully something in here is helpful for you.