Code: Select all
emerge mldonkeyCode: Select all
telnet localhost 4000Dont think so, As stated above, your best bet would be mldonkey, that can also use the mule/donkey net shares.wantilles wrote:I am planning to setup a small x86 machine as a file server using Gentoo.
I would like to know if it is possible for amule to run with no X emerged in this system (in make.conf USE flags -> -X, -gtk, -gtk2, -gnome, -qt, -kde). How does amule run? As a daemon?
I know that I can control it through its web interface (amuleweb daemon).
How does one use net shares?6thpink wrote:Dont think so, As stated above, your best bet would be mldonkey, that can also use the mule/donkey net shares.
It actually is possible. I just managed to do this myself, though it took a lot of effort. Hopefully these steps will get you a working amuled / amuleweb without needing X.wantilles wrote:Thank you for your interest.
I am well aware of mldonkey. In fact I had been using it for months. Switched to X+Gnome+amule though because mldonkey has a much different codebase in its core, and it is far less "aggressive" and efficient in getting sources for the downloads. Amule on the other hand, has the original emule codebase in the core, and it's much more efficient.
Code: Select all
net-p2p/amule amuled -gtk remote
x11-libs/wxGTK -debug -doc -gnome -gtk2 -joystick -odbc -opengl -sdl -unicode -wxgtk1
Code: Select all
echo -n yourpasswordhere | md5sum | cut -d ' ' -f 1
Code: Select all
TempDir=/root/.aMule/Temp (/home/p2p/.aMule/Temp or whatever you choose, has to be owned by p2p)
IncomingDir=/root/.aMule/Incoming (/home/p2p/.aMule/Incoming or whatever you choose, has to be owned by p2p)
AcceptExternalConnections=0 (1)
ECUseTCPPort=0 (1)
ECPassword= (MD5 of password)
Code: Select all
OPTIONS="-rh ${AMULEHOST} -p ${AMULEPORT} -pw ${AMULEPWD}"Code: Select all
OPTIONS="-h ${AMULEHOST} -p ${AMULEPORT} -P ${AMULEPWD} -q"





Code: Select all
$ cat /etc/passwd | grep p2p
p2p:x:105:506:added by portage for amule:/home/p2p:/bin/false


Code: Select all
006-05-11 22:47:13: Creditfile loaded, 0 clients are known
2006-05-11 22:47:13: Loaded ipfilter with 0 new IP addresses.
2006-05-11 22:47:13: Loading server.met file: /home/p2p/.aMule/server.met
2006-05-11 22:47:13: 0 servers in server.met found
2006-05-11 22:47:13: No part files found
2006-05-11 22:47:13: *** TCP socket (ECServer) listening on 0.0.0.0:4712
2006-05-11 22:47:13: Found 0 known shared files
2006-05-11 22:47:13: Connecting
2006-05-11 22:47:13: Connecting to
2006-05-11 22:47:13: No valid servers to connect in serverlist found
2006-05-11 22:47:13: AICH Thread: Syncronization thread started.
2006-05-11 22:47:13: AICH Thread: Masterhashes of known files have been loaded.
2006-05-11 22:47:13: AICH Thread: No new files found.
2006-05-11 22:47:13: AICH Thread: Terminated.
Code: Select all
tcp 0 0 *:4712 *:* LISTEN p2p 14270
tcp 0 0 *:4662 *:* LISTEN p2p 14275
tcp 0 0 *:ssh *:* LISTEN root 11447
udp 0 0 *:4665 *:* p2p 14271
udp 0 0 *:4672 *:* p2p 14276