Re: [freenet-support] cloning freenet on different servers
On Tue, 7 Sep 2010 20:28:28 -0400, Uriel Carrasquilla wrote: > > > > > > You shouldn't run into problems doing a direct copy, assuming > > > > you change the four ports mentioned in freenet.ini. You will > > > > simply have multiple instances of freenet running, each > > > > accessible via it's own http port, each accessing it's own udp > > > > data pipes/local sockets. I think. > > > > thank you for getting back to me. > > > If I understand you correctly, if I copy the "freenet" > > > directory/subdirectories from machine A to another machine in a > > > different geographical location, say machine B, I don't need to do > > > anything but start the service (run.sh start). All of my > > > configuration files, trusted friends, etc. will be duplicated from > > > machine A to machine B. Then, a new KEY will be issued by machine > > > B that I can use to make friends with machine A. Correct? > > > Oh ... hrmm ... right, each node has it's "identity key" ... stored > > in the opennet-OPENNETPORT and node-DARKNETPORT files. I'm not sure > > what would happen if two nodes with the same "identities" run at > > the same time. (They will, of course, but I'm not sure what, if > > any, collisions will happen. I don't think I want to find out > > either :b.) Perhaps (my wild guess) if you delete these two files > > they will be regenerated? > > > There is yet another problem. The cache (both of them) will contain > information from the originating Machine A. It seems, there is no > easy way to clone. What's wrong with that? (You can also delete node.db4o(.crypt) and temp-PORTNUMBER/ and persistent-temp-PORTNUMBER/ -- ie. the caches -- without substantial loss, besides the file transfer queues/data.) ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe
Re: [freenet-support] How to force freenet to use a non-default java
If you're running the jar directly, you could just hardcode the path to Java in front of it. i.e. instead of typing 'java -jar freenet.jar' you could type something like '~/bin/java -jar freenet.jar'...and you could put that into a shell script or some kind of shortcut to make it easier. If you're launching with the shell script (is there a launcher shell script anymore?), you could just change where it calls java and hardcode your own location as above. If you're already launching Freenet from a shortcut of some type, try right-clicking or looking around for some way to edit the command that it's running and make the changes I've suggested above. I realize this is all bit vague - I haven't used 0.7 (well, tried it a few times, always returned to 0.5), and I also don't know what kind of system you're running, but hopefully that will give you a general idea. If you have any specific issues or questions about what I've said, I may be able to help you out further. On Tue, Sep 7, 2010 at 9:43 PM, Eric Chadbourne wrote: > On 09/07/2010 08:33 PM, Uriel Carrasquilla wrote: > > I don't have root access to my machine. > > I installed Sun Java 1.6 in my own user directory. > > I created a java a soft link in $HOME/bin. > > But I cannot put $HOME/bin ahead of the other libraries in $PATH. > > How can I force freenet to use the java version in $HOME/bin? > > > > Or if this is not the right approach, what would suggest? > > at terminal can you export JAVA_HOME and then type env and see what it > says? > > alternatively can you specify which java version to use when starting > freenet? off the top of my head i can't remember how to do this at > terminal. i have two versions of java installed and gnome let's me > select which version to use when i right click on the jar. > > hope that helps, > eric c > > > ___ > Support mailing list > Support@freenetproject.org > http://news.gmane.org/gmane.network.freenet.support > Unsubscribe at > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support > Or mailto:support-requ...@freenetproject.org?subject=unsubscribe > -- Brian Flowers Co-coordinator and Webmaster, PSU Amnesty International http://clubs.psu.edu/up/amnesty President, PSU Students for a Sensible Drug Policy http://PennStateSSDP.org Vice President,PSU Linux Users Group http://clubs.psu.edu/up/lug Secretary and Webmaster, PSU Amateur Radio Club http://www.clubs.psu.edu/up/k3cr/ President and Webmaster, PSU ACLU http://clubs.psu.edu/up/aclu Webmaster, PSU College Libertarians http://www.clubs.psu.edu/up/libertarians/ ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe
Re: [freenet-support] How to force freenet to use a non-default java
On 09/07/2010 08:33 PM, Uriel Carrasquilla wrote: > I don't have root access to my machine. > I installed Sun Java 1.6 in my own user directory. > I created a java a soft link in $HOME/bin. > But I cannot put $HOME/bin ahead of the other libraries in $PATH. > How can I force freenet to use the java version in $HOME/bin? > > Or if this is not the right approach, what would suggest? at terminal can you export JAVA_HOME and then type env and see what it says? alternatively can you specify which java version to use when starting freenet? off the top of my head i can't remember how to do this at terminal. i have two versions of java installed and gnome let's me select which version to use when i right click on the jar. hope that helps, eric c signature.asc Description: OpenPGP digital signature ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe
[freenet-support] How to force freenet to use a non-default java
I don't have root access to my machine. I installed Sun Java 1.6 in my own user directory. I created a java a soft link in $HOME/bin. But I cannot put $HOME/bin ahead of the other libraries in $PATH. How can I force freenet to use the java version in $HOME/bin? Or if this is not the right approach, what would suggest? ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe
Re: [freenet-support] cloning freenet on different servers
> > > You shouldn't run into problems doing a direct copy, assuming you > > > change the four ports mentioned in freenet.ini. You will simply have > > > multiple instances of freenet running, each accessible via it's own > > > http port, each accessing it's own udp data pipes/local sockets. I > > > think. > > thank you for getting back to me. > > If I understand you correctly, if I copy the "freenet" > > directory/subdirectories from machine A to another machine in a > > different geographical location, say machine B, I don't need to do > > anything but start the service (run.sh start). All of my > > configuration files, trusted friends, etc. will be duplicated from > > machine A to machine B. Then, a new KEY will be issued by machine B > > that I can use to make friends with machine A. Correct? > Oh ... hrmm ... right, each node has it's "identity key" ... stored in > the opennet-OPENNETPORT and node-DARKNETPORT files. I'm not sure what > would happen if two nodes with the same "identities" run at the same > time. (They will, of course, but I'm not sure what, if any, collisions > will happen. I don't think I want to find out either :b.) Perhaps (my > wild guess) if you delete these two files they will be regenerated? There is yet another problem. The cache (both of them) will contain information from the originating Machine A. It seems, there is no easy way to clone. ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe
Re: [freenet-support] cloning freenet on different servers
On Tue, 7 Sep 2010 16:24:07 -0400, Uriel Carrasquilla wrote: > > > You shouldn't run into problems doing a direct copy, assuming you > > change the four ports mentioned in freenet.ini. You will simply have > > multiple instances of freenet running, each accessible via it's own > > http port, each accessing it's own udp data pipes/local sockets. I > > think. > > thank you for getting back to me. > If I understand you correctly, if I copy the "freenet" > directory/subdirectories from machine A to another machine in a > different geographical location, say machine B, I don't need to do > anything but start the service (run.sh start). All of my > configuration files, trusted friends, etc. will be duplicated from > machine A to machine B. Then, a new KEY will be issued by machine B > that I can use to make friends with machine A. Correct? Oh ... hrmm ... right, each node has it's "identity key" ... stored in the opennet-OPENNETPORT and node-DARKNETPORT files. I'm not sure what would happen if two nodes with the same "identities" run at the same time. (They will, of course, but I'm not sure what, if any, collisions will happen. I don't think I want to find out either :b.) Perhaps (my wild guess) if you delete these two files they will be regenerated? ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe
Re: [freenet-support] cloning freenet on different servers
> You shouldn't run into problems doing a direct copy, assuming you > change the four ports mentioned in freenet.ini. You will simply have > multiple instances of freenet running, each accessible via it's own > http port, each accessing it's own udp data pipes/local sockets. I > think. thank you for getting back to me. If I understand you correctly, if I copy the "freenet" directory/subdirectories from machine A to another machine in a different geographical location, say machine B, I don't need to do anything but start the service (run.sh start). All of my configuration files, trusted friends, etc. will be duplicated from machine A to machine B. Then, a new KEY will be issued by machine B that I can use to make friends with machine A. Correct? ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe
Re: [freenet-support] cloning freenet on different servers
On Tue, 7 Sep 2010 10:17:07 -0400, Uriel Carrasquilla wrote: > I am trying to add multiple 24/7 servers to the freenet cause but I > have run into problems. I basically had to go one by one to do it > manually. > 1) wget to obtain latest version. > 2) tar -xz... > 3) 1run.sh > 4) run.sh > > It seems I then need to go via the browser to http://localhost: > to complete the installation. Since I have to do it remotely, I have > to modify freenet.ini to allow remote access. Then I can attempt to > complete the installation. > > There has to be a better way. I read somewhere that if I just copy > everything, I might run into problems because of the way keys get > assigned. I may end up with my node having the same key as the master > source of my freenet directory that I copied. > > Any advise please? You shouldn't run into problems doing a direct copy, assuming you change the four ports mentioned in freenet.ini. You will simply have multiple instances of freenet running, each accessible via it's own http port, each accessing it's own udp data pipes/local sockets. I think. I also think you're mixing up your keys :b. The master key to which you refer is just (optionally) used to encrypt the local cache (the node.db4o* file .. which stores your in-progeress downloads/uploads). It has nothing to do with freenet's keys (CHKs / SSKs / etc). ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe
Re: [freenet-support] which ports do I need to have opened to make freenet work
On Tue, 7 Sep 2010 10:10:07 -0400, Uriel Carrasquilla wrote: > I have my web hosting service with ssh access. I installed Java 1.6 > and made sure that the "java" command is picked up before the default > java (openJDK) using $PATH. I had the service open port and I > can now access via the browser at home the freenet screen after I > made changes to freenet.ini to allow for remote access. However, it > is not working. It is not able to connect to anybody. I suspect the > problem is that I have to open other ports but don't know which > ones. Is it the one for FCP? Are there any other ports to be > opened? Instead of trying to find one by one, how can I tell all of > the ports that need to be opened. Does anybody know? So, is the default port for the http/browser interface. You also need to open the main data udp port(s) (for opennet/darknet. darknet refers to personal freenet friends, if you have any. if you dont, you're not using darknet.) Each node sets these at random. You can find which ones your node uses by accessing http://localhost:/ under Status > Internet connection. FCP is a separate pipe used by freenet client programs, like Thaw / FMS / Frost / etc. If you run these programs remotely (not on your freenet node's machine, you'll also have to forward that port, which is 9481 by default. ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe
[freenet-support] cloning freenet on different servers
I am trying to add multiple 24/7 servers to the freenet cause but I have run into problems. I basically had to go one by one to do it manually. 1) wget to obtain latest version. 2) tar -xz... 3) 1run.sh 4) run.sh It seems I then need to go via the browser to http://localhost: to complete the installation. Since I have to do it remotely, I have to modify freenet.ini to allow remote access. Then I can attempt to complete the installation. There has to be a better way. I read somewhere that if I just copy everything, I might run into problems because of the way keys get assigned. I may end up with my node having the same key as the master source of my freenet directory that I copied. Any advise please? ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe
[freenet-support] which ports do I need to have opened to make freenet work
I have my web hosting service with ssh access. I installed Java 1.6 and made sure that the "java" command is picked up before the default java (openJDK) using $PATH. I had the service open port and I can now access via the browser at home the freenet screen after I made changes to freenet.ini to allow for remote access. However, it is not working. It is not able to connect to anybody. I suspect the problem is that I have to open other ports but don't know which ones. Is it the one for FCP? Are there any other ports to be opened? Instead of trying to find one by one, how can I tell all of the ports that need to be opened. Does anybody know? Regards, Uriel ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe