One easy way - in your Freenet installation on Linux, create a bash script
called 'fserve' in /usr/bin (or some other directory listed in your PATH
variable), containing:
    # change this path to where you've put Freenet
    cd /usr/local/bin/Freenet
    # launch the freenet server
    ./freenet_server

You can even create a KDE/Gnome desktop icon to launch it if you want.
(Freenet seems to come into trouble if it's launched before the network
connection is opened).

David

----- Original Message -----
From: "Rick Dietz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 11, 2001 9:26 AM
Subject: Re: [freenet-chat] getting freenet running on linux


> On 5/10/01 2:49 PM, "Mak Sim" <[EMAIL PROTECTED]> wrote:
> > it seems you have to insert yout're running freenet on port 1035.
> > Try this
> > ./freenet_insert -serverAddress tcp/127.0.0.1:1035
> > freenet:KSK@bush-protest -serverAddress tcp/127.0.0.1:1035
> >
> > You should also create the file .freenetrc .
>
> i do have a .freenetrc file and it specifies 19114 as the port number.
>
> i have noticed that freenet_server only seems to be reading the .freenetrc
> doc when i execute it from the /Freenet directory.  Otherwise i get
> ".freeenet" directories created in whatever working directory i execute it
> from and the subdir inside is "0".
>
> is there a way i can execute ./freenet_server in an arbitrary directory
and
> force it to use the existing .freenetrc and .freenet directory as the
> datastore?
>
> r
>
> > mak
> >
> > At 21:34 9.5.2001 -0500, you wrote:
> >> I've got the most recent freenet release.  I'm running redhat 6.2 and
Kaffe.
> >> The process list indicates the server is running.  Any ideas about what
> >> might be wrong with the configuration?
> >> rick
> >>
> >>
> >> [root@www Freenet]# ./freenet_insert freenet:KSK@bush-protest
> >> bush_protest.jpg
> >> + java Freenet.client.InsertClient freenet:KSK@bush-protest
bush_protest.jpg
> >> Freenet Core running on 1035 (build 391)
> >> Freenet.ConnectFailedException: Freenet.ConnectException:
> >> java.io.IOException: Connection refused when attempting to connect to
> >> tcp/127.0.0.1:19114
> >>         at java.lang.Throwable.<init>(Throwable.java:38)
> >>         at java.lang.Exception.<init>(Exception.java:24)
> >>         at
> >> Freenet.ConnectFailedException.<init>(ConnectFailedException.java:line
> >> unknown, pc 0x84f0b1b)
> >>         at Freenet.Core.connect(Core.java:line unknown, pc 0x84f6230)
> >>         at Freenet.Core.makeConnection(Core.java:line unknown, pc
0x84f547f)
> >>         at
Freenet.client.FNPClient$BInstance.prepare(FNPClient.java:line
> >> unknown, pc 0x84f5134)
> >>         at
> >> Freenet.client.FNPClient$BInsertInstance.prepare(FNPClient.java:line
> >> unknown, pc 0x841bc04)
> >>         at Freenet.client.FNPClient$BInstance.run(FNPClient.java:line
> >> unknown, pc 0x840981c)
> >>         at java.lang.Thread.run(Thread.java:314)
> >> A fatal exception occured while processing:
Freenet.ConnectFailedException:
> >> Freenet.ConnectException: java.io.IOException: Connection refused when
> >> attempting to connect to tcp/127.0.0.1:19114
> >> State "FAILED" reached.
> >> Encountered the following exceptions while trying to Insert:
> >> Freenet.ConnectFailedException: Freenet.ConnectException:
> >> java.io.IOException: Connection refused when attempting to connect to
> >> tcp/127.0.0.1:19114
> >>         at java.lang.Throwable.<init>(Throwable.java:38)
> >>         at java.lang.Exception.<init>(Exception.java:24)
> >>         at
> >> Freenet.ConnectFailedException.<init>(ConnectFailedException.java:line
> >> unknown, pc 0x84f0b1b)
> >>         at Freenet.Core.connect(Core.java:line unknown, pc 0x84f6230)
> >>         at Freenet.Core.makeConnection(Core.java:line unknown, pc
0x84f547f)
> >>         at
Freenet.client.FNPClient$BInstance.prepare(FNPClient.java:line
> >> unknown, pc 0x84f5134)
> >>         at
> >> Freenet.client.FNPClient$BInsertInstance.prepare(FNPClient.java:line
> >> unknown, pc 0x841bc04)
> >>         at Freenet.client.FNPClient$BInstance.run(FNPClient.java:line
> >> unknown, pc 0x840981c)
> >>         at java.lang.Thread.run(Thread.java:314)
> >> Generic exception: null
> >> [root@www Freenet]#
> >>
> >>
> >> _______________________________________________
> >> Chat mailing list
> >> [EMAIL PROTECTED]
> >> http://lists.freenetproject.org/mailman/listinfo/chat
> >
> >
> > _______________________________________________
> > Chat mailing list
> > [EMAIL PROTECTED]
> > http://lists.freenetproject.org/mailman/listinfo/chat
>
>
> _______________________________________________
> Chat mailing list
> [EMAIL PROTECTED]
> http://lists.freenetproject.org/mailman/listinfo/chat
>


_______________________________________________
Chat mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/chat

Reply via email to