Problems installing Freenet 0.75 [Solved]

Requests go here. If you fill a request, give it a new thread in the appropriate category and then link to it in the request thread.
Post Reply
Message
Author
cleg223
Posts: 19
Joined: Sat 07 Apr 2012, 23:51

Problems installing Freenet 0.75 [Solved]

#1 Post by cleg223 »

HI, I have had some severe problems when trying to install freenet on puppy linux 528.

I have major problems with the "running as root" problem, and have given in trying to fix it,

does anyone have and up to date pet file, or step by step instructions of how to install this? this is the only app I have had problems with and I'd really like it to work :) thanks
Last edited by cleg223 on Sun 22 Apr 2012, 20:23, edited 1 time in total.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#2 Post by musher0 »

Hello, cleg 223.

Which Freenet are you talking about, please ?

http://en.wikipedia.org/wiki/Freenet

Or

http://en.wikipedia.org/wiki/National_Capital_Freenet
(Using this one as an example, 'cause there are similar sites
in other cities around the world. Cleveland, etc.)

Best regards.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#3 Post by nooby »

I only wild guess but maybe he refer to the TOR version of Freenet?
There is a TOR program that one download. I have not tried it because
I trust that every TOR user get flagged by the NSA or whatever where one live. :)

Read about it in Guardian News Mag
http://www.guardian.co.uk/technology/20 ... et-freenet

I try to stay out of all such that are "Dark side"
I use Google Search on Puppy Forum
not an ideal solution though

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#4 Post by musher0 »

Hello nooby.

I asked because in the neighbouring city there is a site called Freenet which you can become a member of for a very small fee. And this "Freenet" is affiliated to other "Freenet" sites in various cities around the world. They provide e-mail addresses and interface, various message boards, etc. It is all on the up and up, very transparent and legal. They have been around for many years.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#5 Post by nooby »

Yes and does not Wiki also have other such freenet linked to.
So I am not sure either. I remember I saw a youtube clip from Austria?
Or from Hungary where they put up boxes on mobile towers for to create
a freenet so the word seems ambiguous indeed. Cheating?
I mean had they the right to put up these boxes? I doubt that.

But related to puppy it seems to be the one with an app for TOR
what else could it be? But I know nothing about it just wanted to
trigger the OP to clarify by friendly nudging him to respond :)

So good luck I am now out of this thread due to lack of knowledge
I use Google Search on Puppy Forum
not an ideal solution though

cleg223
Posts: 19
Joined: Sat 07 Apr 2012, 23:51

RE:

#6 Post by cleg223 »

The Freenet project i am talking about is definitely this one...
https://freenetproject.org/

I have seen a page related to this,

http://murga-linux.com/puppy/viewtopic. ... 28&t=41549

however there are still problems with the installation, when i change the user to "spot" the terminal claims it cannot access the file at all, when i run as normal in the terminal, the installation fails.

I have tried everything, but my limited knowledge of Linux is causing some problems for me...

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#7 Post by nooby »

"when i change the user to "spot" "

Wow! You try something that not even Barry Kauler and the other Devs
of Puppy seems to be fully knowledgeable about either.

So try first without using spot or fido and only try them when you know
very much about how Puppy works.

Correct me if I am wrong but I trust that is the best advice one can give
to somebody at your level. I will try to find the thread about Fixing Fido

Fido is most likely even better than spot so if they even fail with fixing Fido
then Spot is hard to solve.

But I remember vaguely that one guy shared he had made progress with fido or spot

but then I lost where he wrote that. Maybe he get active here if we beg him???
http://murga-linux.com/puppy/viewtopic.php?t=71358
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#8 Post by 666philb »

hi cleg223

it seems to be working here using spot to install it....... do you just want instructions or do you want a .pet of it?

edit: i'll post a .pet tomorrow
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

cleg223
Posts: 19
Joined: Sat 07 Apr 2012, 23:51

#9 Post by cleg223 »

To be honest, i'd like both the .pet and the instructions, that way I can install and use it, but also, gain knowledge of how it works :)
Thanks in advance....


As for Fido and spot, i dint really see the difference as for as practicalities and usefulness goes, if they both operate as restricted users, whats the difference between them? Fido gets its own directories?

Dispite the su spot command i still cannot get the terminal to run the program under the spot user. it just claims it cannot access the file? This is one of the reasons, i would really appreciate the instructions also.

still working on it :)

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#10 Post by 666philb »

hi cleg223

i'm presuming you already have java installed

first off grab the offline installer from here https://freenet.googlecode.com/files/ne ... e_1407.jar

then move it to the spot folder /root/spot/

then open a terminal an type (press return after each line)

Code: Select all

su spot
cd /root/spot
java -jar new_installer_offline_1407.jar
freenet will then installed to the /root/spot folder

then to start it open a terminal again an..

Code: Select all

su spot
cd /root/spot/Freenet
./run.sh start
this will start the deamon, then click on /root/spot/Desktop/start browsing freenet to open the browser (you may need to paste http://127.0.0.1:8888/ into the address bar)

when you've finished you'll need to stop the deamon by

Code: Select all

cd /root/spot/Freenet
./run.sh stop
i'll hopefully post a pet later that will simplify the process
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

cleg223
Posts: 19
Joined: Sat 07 Apr 2012, 23:51

Freenet...

#11 Post by cleg223 »

That has got to be the most perfect answer I could have imagined, it worked an absolute treat :) Thank you!!!

My problem was, I was downloading to a normal home directory, and by doing that i was making the ownership of the file associate with the root user/ directory and then trying to run it with spot.

I was not aware that puppy had its own directories for the spot user.

Your answer cleared that up pretty quickly!!!

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#12 Post by nooby »

Happy that it got solved.
Try this in the first post :)

Freenet 0.75 [Solved]

Friendly smile.
I use Google Search on Puppy Forum
not an ideal solution though

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#13 Post by s243a »

It worked for me also. How do I change back to root (i.e. not spot) once I'm done using freent?

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#14 Post by watchdog »

s243a wrote:It worked for me also. How do I change back to root (i.e. not spot) once I'm done using freent?

Code: Select all

# su spot
# whoami
spot
# exit
exit
# whoami
root

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#15 Post by s243a »

[quote="666philb"]hi cleg223

Code: Select all

su spot
cd /root/spot
java -jar new_installer_offline_1407.jar
i'll found another cool way to do this tonight.

Code: Select all

su -c "sh run.sh start" spot
I think this way is like using the sudo command but sudo isn't built into busy box.

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#16 Post by s243a »

s243a wrote:
i'll found another cool way to do this tonight.

Code: Select all

su -c "sh run.sh start" spot
I think this way is like using the sudo command but sudo isn't built into busy box.
I made this into a startup script as follows:

Code: Select all

#!/bin/sh
cd /root/spot/Freenet/
nohup su -c "sh run.sh start" spot& 
exit
I don't think the exit at the end of my startup script does anything. The script works when placed in the freenet folder and symbolically linked to the desktop. I haven't checked to see if it will run when started from the menu. I tested this on fatdog64 but it should work on all puppies.

Edit I realized that I had to add a cd to the directory where freenet was. I wonder if there is a better way of doing this like checking the location where the symbolic link points. Would the script know that it was executed from a symbolic link?

april

#17 Post by april »

So where do you get a d/l for linux - puppy?

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#18 Post by s243a »

april wrote:So where do you get a d/l for linux - puppy?
Freenet runs on java which is system independent:

Code: Select all

wget 'https://freenetproject.org/jnlp/freenet_installer.jar' -O new_installer_offline.jar
java -jar new_installer_offline.jar
https://freenetproject.org/download.html#nojws

However, 666philb did offer to make a pet.

april

#19 Post by april »

I got that down and got a message that its not meant to be run as root . All the scripts are non executeable so how do you work around that . I'm not interested in running as "spot"

Changing the directory permissions to rwx isn''t liked either

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#20 Post by s243a »

april wrote:I got that down and got a message that its not meant to be run as root . All the scripts are non executeable so how do you work around that . I'm not interested in running as "spot"

Changing the directory permissions to rwx isn''t liked either
You can execute a non-executable script by passing it as an argument to a shell interpreter. For instance you can execute "run.sh" with the option "start" as follows:

Code: Select all

sh run.sh start
or you can make it executable instead.

We can try hacking the scripts to make them run as root but I don't know why you would need to give freenet root privileges.

Post Reply