retroshare

Share your wisdom. Not for support questions!

Moderator: How-to Curator

retroshare

Postby nadir » March 5th, 2012, 11:50 pm

DISCUSS HERE

I made the following post at forums.debian.net, but forgot to past it here.
Not sure if its about security (as far i understand retroshare is distributed, gpg-"safe", and, usually, friend-to-friend, not peer-to-peer. Not bad if you want to, say, share your porn-collection with your grandma, but not the whole world).
If it does not belong here just move it around.


At the freedombox info channels (mainly the mailing list, anonymous, identi.ca, etc) there was the talk about:
retroshare
It is not packaged for debian (yet?), but i could easily install it (though i got to say: i am never happy to leave the main debian repos...):
http://retroshare.sourceforge.net/downloads.html

If you got a gpg key, it will happily use that one, if you ain't got one, it will happily create one for you
(first start of retroshare always crashes for me, i start it for the second time, and it works good). You start it with "RetroShare", btw.
The last time i installed it /usr/share/applications/retroshare.desktop had a wrong entry.
This one will make it startable from the apps-menu:
$ cat /usr/share/applications/retroshare.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=RetroShare
Comment=Securely share files with your friends
Exec=/usr/bin/retroshare
Icon=/usr/share/pixmaps/retroshare.xpm
Terminal=false
Type=Application
Categories=Application;Network;




Anyway: to make a long story short:
I made a forum for Debian or Linux, or however you want to call it (free software ... ); and called it Debian-Users(-Unofficial). As of now it is me and myself (so: two users :-) ).
I also made a channel for Stallmanites, called freetards (also a one man show).

If you want to try retroshare, but are not happy with me creating a forum/channel, just create one. I am not keen on being someone who "created a forum" (by a simple click-> whoa, whoa, whoa...). I would join that forum, if in doubt try to delete the other forum
(as far i see there is no way to administer or moderate forums or channels anyway, so it really does not matter).
Might be fun (in the future, right now all seems a bit silent. Filesharing is good though, good like in active).

RetroShare is not much fun without "friends" (but once you got, at minimum, one, it is more easy to add more). Here is my gpg-key:
Code: Select all
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.12 (GNU/Linux)

mQENBE541kUBCADQnCWit7ZXTKG10O+6x8U5Q+NPP2VNXyGtcefAFPSbceMbaKXc
ffdfV541/zWxi3ObDclAB7sRUhETthu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eSUvmAyDlhMh0GrEr5w3508bphEaBMNo9i8TphaAh0xSmJPnuqlkrMiI
p6Y6iwVjcjjBjdtNS24LazS0ca+tePEDBsRnd9536jh1s+F3uphqNt9IXLP6t8Zb
r6lJFt9Y0c/xWDQ9liS/SM/cDiYhr0soIpu3MOs3M5vGNYYOAsYWzwujGnC5LL1f
Pj9io4nA9HVKAqiCdOe4k3hvVBwVKba2ZBeZvxboMSQyPTn/XpbG/6ze8sR4aYsi
/w0=
=Hybu
-----END PGP PUBLIC KEY BLOCK-----
--SSLID--1c8fff9abcf58580c529d0d3bf3cacbc;--LOCATION--sid;
--LOCAL--192.168.1.21:60479;--EXT--92.231.54.91:60479;

Let's hope it is the correct key ... :-)
If you use a different name/nick than here, pm me (as i don't add friends who are "anonymous", or completely unknown).
If you don't like me go to forums and search for "key exchange". Add one of those, to get started.

My internet connection got very wonky with the default settings. I asked in the forum, and was told to:
options -> server -> network -> set to "private: discovery only" or "darknet"
(aka: disable DHT this way or that way). But it might be that my router is crap, and it works for you with default.

Like said above:
ideas. Lots of such projects out there. Some might succeed, some might fail (vanish in no-man's-lan).
If the freedombox will use it, we are prepared. If not we wasted a wee bit of time.

bad news:
it needs qt
one of the build-in tools (messenger?) is proprietary, as far i can tell.

PS: i got no problems with the existing forum(s) anymore, but accept as is. I want to get the head into a freedombox-application, not "replace" any existing forums. Not sure if it is clear... there are lots of options with retroshare.
To me the freedombox is the most exciting and promising project i can see.
nadir
 
Posts: 1708
Joined: February 9th, 2011, 8:07 am

Re: retroshare

Postby nadir » March 20th, 2012, 10:05 pm

There is no deb package for amd64, and i followed the how-to's to create one similar to the following.
(not saying it is the right way, and adding third party repos or doing stuff like this comes with the drawbacks well known).

Make a working dir and go there:
Code: Select all
mkdir -p ~/Build/Apps/retroshare
cd !$


download the source and unpack it:
http://sourceforge.net/projects/retrosh ... z/download
Code: Select all
tar -xzf ~/Data/Downloads/RetroShare-v0.5.3b.tar.gz


We now got a dir called ~/Build/Apps/retroshare/trunk,
else something went south. We install the deps as root:
Code: Select all
apt-get install libqt4-dev
apt-get install libgpgme11-dev libgpg-error-dev libupnp-dev libssl-dev libgnome-keyring-dev
apt-get install x11proto-scrnsaver-dev
apt-get install libxss-dev # one of the last two is needed for srcnsaver.h
apt-get install subversion #needed to build the deb package


And we cd into trunk
We will need to compile:
Code: Select all
 cd ~/Build/Apps/retroshare/libbitdht/src
 qmake
 make
 cd ~/Build/Apps/retroshare/libretroshare/src
 qmake
 make
 cd ~/Build/Apps/retroshare/retroshare-gui/src
 qmake
make

http://retroshare.sourceforge.net/wiki/ ... nixCompile

Now its time to build the deb package:
Code: Select all
cd ~/Build/Apps/retroshare/trunk/build_scripts/Debian
su
./make.sh

Code: Select all
dpkg -i Retroshare

if in doubt:
Code: Select all
apt-get install -f

i missed libssl0.9.8

Code: Select all
vi /usr/share/applications/retroshare.desktop

and replace
Code: Select all
Exec=/usr/bin/retroshare

Code: Select all
Exec=/usr/bin/RetroShare

so the menu entry will work.

Be cautios.

And if you want to burn the house down, you may try if this works
http://dl.dropbox.com/u/4228403/deb-pac ... _amd64.deb
(i for one would _not_ do it)
Last edited by nadir on March 20th, 2012, 10:31 pm, edited 2 times in total.
nadir
 
Posts: 1708
Joined: February 9th, 2011, 8:07 am


Return to HowTo

Who is online

Users browsing this forum: No registered users and 2 guests

cron

x