Anyway, I solved the problem editing the start-freenet.sh script commenting lines 102-103, where it automatically run preconfig.sh (really don't understand what is the function of that script! it only deletes the conf) if it doesn't find the conf file:
if test ! -f freenet.conf; then
echo It appears that this is your first time running Freenet. You
echo should read the README file as it contains important instructions
echo and advice.
echo
echo First we must generate a freenet.conf file. I will now run
echo Freenet in configure mode, and it will ask you a number of
echo questions. If you don\'t understand the question, hitting "enter"
echo without typing anything will go with the default which is likely
echo to be the right thing.
echo
if test ! -f preconfig.sh; then
if test -f scripts/preconfig.sh; then
sh scripts/preconfig.sh
else
echo Could not find preconfig.sh or scripts/preconfig.sh
exit 23
fi
# else <------ These 2 lines start preconfig.sh preventing
# sh preconfig.sh <------ me from configuring freenet
fi
java freenet.node.Main --config
fi
Anyway, thanks. daniele Niklas Bergh ha scritto:
Try running the freenet jar with a '--config' parameter. This should allow you to create a new freenet.conf file.
On Mon, September 13, 2004 1:20, daniele said:
Hi! I installed java, and run sh start-freenet.sh. I can use the interface, and i can also browse something. BUT, my freenet.conf file contains only 2 lines, and no conf questions where asked when at start-up. I remember I had the same problem when some months ago I tryed to install freenet, but I don't remember the solution.... Anyway, the output:
localhost:/hdb/.freenet# sh start-freenet.sh Detected freenet-ext.jar Detected freenet.jar Sun java detected. Sun Java 1.4.2 detected. Starting Freenet now: Command line: java -Xmx128m -XX:MaxDirectMemorySize=128m freenet.node.Main Done localhost:/hdb/.freenet# INFO: Native CPUID library 'freenet/support/CPUInformation/libjcpuid-x86-linux.so' loaded from resource INFO: Optimized native BigInteger library 'net/i2p/util/libjbigi-linux-pentium3.so' loaded from resource
_______________________________________________ Support mailing list [EMAIL PROTECTED] http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED]
_______________________________________________ Support mailing list [EMAIL PROTECTED] http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED]
_______________________________________________ Support mailing list [EMAIL PROTECTED] http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED]
