Discussion:
[tor-relays] Re-Install Tor on raspberry, keep torrc and fingerprint
Volker Mink
2016-02-04 21:44:50 UTC
Permalink
Hello there.

I recently updated my Raspberry to the Jessie-Release. During this procedure
TOR updated to 0.2.7.x (?).
Now I have the problem that TOR is running as a new process and I cannot
access it via ARM.

Everytime I start ARM, any user, it show the "Menu" where I can choose as
what the TOR should work. I say "last config".

In the status screen it says:

22:32:37 [ARM_WARN] Connection refused. Is the ControlPort enabled?



arm - raspberrypi (Linux 4.1.13+)

Tor Disconnected (press r to reconnect)



On page 4:



page 4 / 5 - m: menu, p: pause, h: page help, q: quit

Tor Configuration File:

1 ### Unable to load the torrc ###



====

What to do? For me it looks the best to remove TOR completely and reinstall
it clean. But how to keep my Fingerprint and the Stats?
Or anyone has a idea how to fix this. Im not so deep into linux to fix this
error.



https://atlas.torproject.org/#details/E20FF09A9A800B16C1C7C16E8C0DF95F46F649
B0



Anyone can help me?



Best regards,

volker
Pierre L.
2016-02-05 12:41:07 UTC
Permalink
Hey Volker,

Never tried this, but there's something in the FAQ about this...
https://www.torproject.org/docs/faq.html.en#UpgradeOrMove

I remember some people saying you need to save every keys (and not only
1 as said in the FAQ),
if I'm not wrong, in Raspbian you can find them in /var/lib/tor/keys

And in the torrc, check this///
//DataDirectory /var/lib/tor/

I'm not sure, and I'm sadly noob with Tor, but this easy solution can be
tried quickly I think...
+ when I check on my Raspbian (Jessie), debian-tor is the user/group by
default on the directory /var/lib/tor

I always launch arm with this command :
sudo -u debian-tor arm

Your /etc/tor/torrc config file has been overwritten by the upgrade ?
Have you check it ?

Good luck!
Post by Volker Mink
Hello there.
I recently updated my Raspberry to the Jessie-Release. During this
procedure TOR updated to 0.2.7.x (?).
Now I have the problem that TOR is running as a new process and I
cannot access it via ARM.
Everytime I start ARM, any user, it show the “Menu” where I can choose
as what the TOR should work. I say “last config”.
22:32:37 [ARM_WARN] Connection refused. Is the ControlPort enabled?
arm - raspberrypi (Linux 4.1.13+)
Tor Disconnected (press r to reconnect)
page 4 / 5 - m: menu, p: pause, h: page help, q: quit
1 ### Unable to load the torrc ###
====
What to do? For me it looks the best to remove TOR completely and
reinstall it clean. But how to keep my Fingerprint and the Stats?
Or anyone has a idea how to fix this. Im not so deep into linux to fix
this error.
https://atlas.torproject.org/#details/E20FF09A9A800B16C1C7C16E8C0DF95F46F649B0
Anyone can help me?
Best regards,
volker
_______________________________________________
tor-relays mailing list
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
ZEROF
2016-02-07 13:58:19 UTC
Permalink
Hey Volker,

Indeed, like Pierre said, backup all keys not only private key, backup
torrc as well. Then you can reinstall your Pi. And about ControlPort, read:

https://www.reddit.com/r/TOR/comments/2haw9s/having_some_issues_with_arm_and_tor_relay/

Cheers!
Post by Pierre L.
Hey Volker,
Never tried this, but there's something in the FAQ about this...
https://www.torproject.org/docs/faq.html.en#UpgradeOrMove
I remember some people saying you need to save every keys (and not only 1
as said in the FAQ),
if I'm not wrong, in Raspbian you can find them in /var/lib/tor/keys
And in the torrc, check this
*DataDirectory /var/lib/tor*
I'm not sure, and I'm sadly noob with Tor, but this easy solution can be
tried quickly I think...
+ when I check on my Raspbian (Jessie), debian-tor is the user/group by
default on the directory /var/lib/tor
sudo -u debian-tor arm
Your /etc/tor/torrc config file has been overwritten by the upgrade ? Have
you check it ?
Good luck!
Hello there.
I recently updated my Raspberry to the Jessie-Release. During this
procedure TOR updated to 0.2.7.x (?).
Now I have the problem that TOR is running as a new process and I cannot
access it via ARM.
Everytime I start ARM, any user, it show the “Menu” where I can choose as
what the TOR should work. I say “last config”.
22:32:37 [ARM_WARN] Connection refused. Is the ControlPort enabled?
arm - raspberrypi (Linux 4.1.13+)
Tor Disconnected (press r to reconnect)
page 4 / 5 - m: menu, p: pause, h: page help, q: quit
1 ### Unable to load the torrc ###
====
What to do? For me it looks the best to remove TOR completely and
reinstall it clean. But how to keep my Fingerprint and the Stats?
Or anyone has a idea how to fix this. Im not so deep into linux to fix
this error.
<https://atlas.torproject.org/#details/E20FF09A9A800B16C1C7C16E8C0DF95F46F649B0>
https://atlas.torproject.org/#details/E20FF09A9A800B16C1C7C16E8C0DF95F46F649B0
Anyone can help me?
Best regards,
volker
_______________________________________________
_______________________________________________
tor-relays mailing list
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
--
http://www.backbox.org
http://www.pentester.iz.rs
Volker Mink
2016-02-08 07:13:38 UTC
Permalink
Thanks, i will try this!

===
Message: 1
Date: Fri, 5 Feb 2016 13:41:07 +0100
From: "Pierre L." <***@miosweb.mooo.com>
To: tor-***@lists.torproject.org
Subject: Re: [tor-relays] Re-Install Tor on raspberry, keep torrc and
fingerprint
Message-ID: <***@miosweb.mooo.com>
Content-Type: text/plain; charset="windows-1252"

Hey Volker,

Never tried this, but there's something in the FAQ about this...
https://www.torproject.org/docs/faq.html.en#UpgradeOrMove

I remember some people saying you need to save every keys (and not only
1 as said in the FAQ),
if I'm not wrong, in Raspbian you can find them in /var/lib/tor/keys

And in the torrc, check this///
//DataDirectory /var/lib/tor/

I'm not sure, and I'm sadly noob with Tor, but this easy solution can be
tried quickly I think...
+ when I check on my Raspbian (Jessie), debian-tor is the user/group by
default on the directory /var/lib/tor

I always launch arm with this command :
sudo -u debian-tor arm

Your /etc/tor/torrc config file has been overwritten by the upgrade ?
Have you check it ?

Good luck!
Volker Mink
2016-02-08 07:14:34 UTC
Permalink
Thanks!! I will try this!


====

Message: 3
Date: Sun, 7 Feb 2016 14:58:19 +0100
From: ZEROF <***@netmajstor.com>
To: tor-relays <tor-***@lists.torproject.org>
Subject: Re: [tor-relays] Re-Install Tor on raspberry, keep torrc and
fingerprint
Message-ID:
<CANkaMAkdWFS7zLmgvjO8_b8aigDMeC6QniWq8vtBTEva9Qjb-***@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hey Volker,

Indeed, like Pierre said, backup all keys not only private key, backup torrc
as well. Then you can reinstall your Pi. And about ControlPort, read:

https://www.reddit.com/r/TOR/comments/2haw9s/having_some_issues_with_arm_and
_tor_relay/

Cheers!

************

Loading...