How do you get tor up? (solved)

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderators: Entropy Management, Moderators

How do you get tor up? (solved)

Postby Thrice » Thu May 17, 2007 0:41

The wiki says "start with the boot option: tor." Is that with the livedvd? Is there a better way than with boot options?
Last edited by Thrice on Fri May 18, 2007 1:47, edited 1 time in total.
User avatar
Thrice
Growing Hen
 
Posts: 125
Joined: Wed Feb 21, 2007 1:46

Postby dave_p_b » Thu May 17, 2007 7:45

Hi

Do you mean tor as in anonymous internet browsing?

Have you installed SL on to your harddrive yet?

Cheers

Dave
User avatar
dave_p_b
Old Dear Hen
 
Posts: 607
Joined: Fri Dec 15, 2006 1:39
Location: Exeter, UK

Postby Thrice » Thu May 17, 2007 21:30

Yeh it's on the HD. I saw the boot option on the dvd
User avatar
Thrice
Growing Hen
 
Posts: 125
Joined: Wed Feb 21, 2007 1:46

Postby dave_p_b » Thu May 17, 2007 21:45

Ok

Once you've installed SL on your harddrive you need to do the following in a root konsole:
1) emerge privoxy
2) emerge tor
3) rc-update -a privoxy boot
4) rc-update -a tor boot

Lines 1 & 2 will install the necessary programs. Lines 3 & 4 will make them start on each boot.

Now to enable tor in Firefox you need to install the torbutton plugin from here :
https://addons.mozilla.org/en-US/firefox/addon/2275
Once installed it will appear at the bottom of the firefox window and you just click on it to enable/disable tor in Firefox.

At this point you can reboot the computer to make privoxy and tor start or you can just open up a root konsole and type the following commands:
1) /etc/init.d/privoxy start
2) /etc/init.d/tor start

Now go into Firefox, click the tor button to enable; at bottom of the Firefox window and your away. To test it out go to google and do a search for "what's my IP address" and you should notice a different IP than usual.

There are another two programs that you might want to look at, but I would get the basics working first. The are:
1) Vidalia - http://vidalia-project.net/
2) Tork - http://www.kde-apps.org/content/show.ph ... tent=39442

You can find more info about tor from the following sites:
http://gentoo-wiki.com/HOWTO_Anonymity_ ... nd_Privoxy (Must Read!!)
http://tor.eff.org/download.html.en

Good luck and all the best

Dave
User avatar
dave_p_b
Old Dear Hen
 
Posts: 607
Joined: Fri Dec 15, 2006 1:39
Location: Exeter, UK

Postby Thrice » Thu May 17, 2007 23:28

Hmm everything seemed to work except for the part where the IP address is supposed to change. I did all the steps above that. Not sure where to start troubleshooting.

(Thanks for the help so far.)
User avatar
Thrice
Growing Hen
 
Posts: 125
Joined: Wed Feb 21, 2007 1:46

Postby Thrice » Thu May 17, 2007 23:36

Privoxy and tor seem to start during boot (alt F1). Is there any way to test them without torbutton?
User avatar
Thrice
Growing Hen
 
Posts: 125
Joined: Wed Feb 21, 2007 1:46

Postby dave_p_b » Fri May 18, 2007 1:21

Hi

Did you do an "emerge --sync" before you installed the programs?

Can you tell me what versions of privoxy and tor you installed?

What's happening in Firefox? When it starts up you click the Tor button so it goes green and says "tor enabled" and then you navigate the web.

cheers

Dave
User avatar
dave_p_b
Old Dear Hen
 
Posts: 607
Joined: Fri Dec 15, 2006 1:39
Location: Exeter, UK

Postby dave_p_b » Fri May 18, 2007 1:30

Hi again ;)

Did you read the file I said to:
http://gentoo-wiki.com/HOWTO_Anonymity_ ... nd_Privoxy (Must Read!!)

Sorry, It's been so long since I set it up I forgot to tell you you got to edit the /etc/privoxy/config file
Look here for the settings http://gentoo-wiki.com/HOWTO_Anonymity_ ... ting_It_Up

1) You need to put this "forward-socks4a / 127.0.0.1:9050 ." in the top of the /etc/privoxy/config file (don't forget the dot at the end of the line. Very important!!)
2) You need to put this "listen-address 127.0.0.1:8118" on line 669 (Just over half way down. If you use kwrite you can get it to show you line numbers) of the /etc/privoxy/config file
3) cp /etc/tor/torrc.sample /etc/tor/torrc

Now restart both by entering into a root konsole:
1) /etc/init.d/privoxy restart
2) /etc/init.d/tor restart

Alternatively just reboot the computer.

All the best

Dave
User avatar
dave_p_b
Old Dear Hen
 
Posts: 607
Joined: Fri Dec 15, 2006 1:39
Location: Exeter, UK

Postby Thrice » Fri May 18, 2007 1:46

dave_p_b wrote:Hi again ;)

Did you read the file I said to:
http://gentoo-wiki.com/HOWTO_Anonymity_ ... nd_Privoxy (Must Read!!)

Sorry, It's been so long since I set it up I forgot to tell you you got to edit the /etc/privoxy/config file
Look here for the settings http://gentoo-wiki.com/HOWTO_Anonymity_ ... ting_It_Up

1) You need to put this "forward-socks4a / 127.0.0.1:9050 ." in the top of the /etc/privoxy/config file (don't forget the dot at the end of the line. Very important!!)
2) You need to put this "listen-address 127.0.0.1:8118" on line 669 (Just over half way down. If you use kwrite you can get it to show you line numbers) of the /etc/privoxy/config file
3) cp /etc/tor/torrc.sample /etc/tor/torrc

Now restart both by entering into a root konsole:
1) /etc/init.d/privoxy restart
2) /etc/init.d/tor restart

Alternatively just reboot the computer.

All the best

Dave


Yeah that works. I skipped step 2 because that exact line was already in the file at that spot. Appreciate the help. Should I go ahead & emerge --sync anyway?
Last edited by Thrice on Fri May 18, 2007 2:33, edited 1 time in total.
User avatar
Thrice
Growing Hen
 
Posts: 125
Joined: Wed Feb 21, 2007 1:46

Postby dave_p_b » Fri May 18, 2007 2:30

Yeh You should type the following command in once every 1 or 2 days to keep portage up to date.
Open a root konsole and type:
layman -S && emerge --sync

layman -S = Keeps the Sabayon overlay (part of portage) up to date.
emerge --sync = keeps the main portage tree up to date

All the best

Dave
User avatar
dave_p_b
Old Dear Hen
 
Posts: 607
Joined: Fri Dec 15, 2006 1:39
Location: Exeter, UK

Next

Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest