aMule Forum
English => aMule Help => Topic started by: Guest on October 10, 2003, 12:55:21 AM
-
Have amule a html interface like mldonkey?
-
Hi,
You can have a look on the already existing interface (just not activated by default) like this :
1) Shutdown aMule
2) copy from sources of aMule the directory "aMule-1.0.8/src/webserver/" in your "~/.aMule/webserver/".
3) copy from sources of aMule the file "aMule-1.0.8/src/aMule.tmpl" in your "~/.aMule/aMule.tmpl"
4) open a term and type :
echo -n "THEPASWORDYOUWANT" | md5sum | cut -d " " -f 1
This reply something like that :
324f85f6095f9e5fe25b6c85af44b445
5) edit your "~/.eMule" file, locate the "[WebServer]" section and change fields :
Port=10000 <- put the port you want aMule WebServer listen on
Enabled=1
UseGzip=1
Password=324f85f6095f9e5fe25b6c85af44b445 <- put here the password generated in term
6) Restart aMule
But you must know the WebServer is only partially implemented and probably also badly implemented :-).
Hope this help ...
A++
-
well, the current interface is good enough for me. what I'd like to have whould be support for (a) other p2p-network, some network which has loads of SMALL (mp3) files like gnutella for example. And maybe bittorrent integration, shouldnt be that difficult I guess cuz its very open??? Then I could controll bittorrent much easier as with the current gui...
anyway good work ;)
-
Hi,
Your work is really huge.
The only thing i miss is the possibility to do searches in the web interface. (my amule is shared ...)
And with low priority:
- webserver tab in preferences (it's really a killerfeature to my mind)
- possibility to chose the localisation.
Thanks for your great work.
Enkyl
-
Hello again,
I forgot to suggest you to adapt amule or the webinterface, to work with the xmule2 web interface.
(In case the separation of the core and the ui has not implied heavy changes in the way to adress resquests to the client...)
-
with the new version of the webserver implementation it would be nice to have an "howto" update since the "sticky" doesn't seem to apply anymore
-
Original von BigBob
Hi,
1) Shutdown aMule
2) copy from sources of aMule the directory "aMule-1.0.8/src/webserver/" in your "~/.aMule/webserver/".
3) copy from sources of aMule the file "aMule-1.0.8/src/aMule.tmpl" in your "~/.aMule/aMule.tmpl"
4) open a term and type :
echo -n "THEPASWORDYOUWANT" | md5sum | cut -d " " -f 1
This reply something like that :
324f85f6095f9e5fe25b6c85af44b445
5) edit your "~/.eMule" file, locate the "[WebServer]" section and change fields :
Port=10000 <- put the port you want aMule WebServer listen on
Enabled=1
UseGzip=1
Password=324f85f6095f9e5fe25b6c85af44b445 <- put here the password generated in term
6) Restart aMule
A++
OK, I did.
[ksk@KS ksk]$
[ksk@KS ksk]$ amuleweb
amuleweb amulewebDLG
[ksk@KS ksk]$ amuleweb
This is amuleweb (WebServer)
Enter password for mule connection (return if no pass defined):
Creating client...
Now doing connection...
Using host localhost port /home/ksk/.aMule/muleconn
Accepted Connection from amuleweb
---------------------------------
| aMule Web Server |
---------------------------------
Use 'Help' for command list
*** creating web socket and starting listener!
Web Server: Started
aMule[web]$ *** WebServer: Using port: 30000
aMule[web]$
Why 30000, I don't know.
I defined port=10000 in /home/ksk/.eMule
[ksk@KS ksk]$
[ksk@KS ksk]$
[ksk@KS ksk]$ tail -n 20 /home/ksk/.eMule | head -n 9
[WebServer]
Port=10000
Enabled=1
UseGzip=1
Password=324f85f6095f9e5fe25b6c85af44b445
PasswordLow=
PageRefreshTime=10
UseLowRightsUser=0
[Razor_Preferences]
[ksk@KS ksk]$
[ksk@KS ksk]$
[ksk@KS ksk]$
[ksk@KS ksk]$ netstat -natep | grep -i listen | grep -i amule
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:30000 0.0.0.0:* LISTEN
507 315752216 28297/amuleweb
tcp 0 0 0.0.0.0:65011 0.0.0.0:* LISTEN
507 315623983 19672/amule
[ksk@KS ksk]$
[ksk@KS ksk]$
My problem is, that every www browser freezes. So amuleweb doesnt' work.
lynx localhost:30000
HTTP request sent; waiting for response.
opera, mozilla was also only waiting...
-
Hi there,
very good job with this new amule version. it runs even better then the one before.
I have the same problem with the webinterface. I also changed the line 72
from WebTemplateFile=eMule.tmpl to WebTemplateFile=aMule.tmpl
since aMule.tmpl is our template file.
Still no affect.
Also I have a very basic question. When I enable the webinterface with
Enabled=1
does it start automatically like it does in the original windows version or do I have to start it manually starting ./amuleweb ???
Another problem seams to be when I start the amuleweb with the command
./amuleweb -p 8890 <-- should create the webinterface at port 8890
I always get the message
Using host localhost port 8890
aMule is not running, not accepting connections or wrong password supplied
but I typed the password definded in /home/user/.eMule which we created before with echo -n "password" | md5sum | cut -d " " -f 1
when I start the ./amuleweb without any port definition it starts successfull. but only when I type a blank password. Then I connect with my webbrowser to port 30000 and try to login it does not work. not with the password defined in
/home/usr/.eMule and not with the blank one.
If you can give me and the other guys any hints that would be very welcome.
Thanks upfront.
Carpe diem. :)
-
u guys better wait for shakraw.. the import of webserver interface from eMule 30e isn't complete yet.
greets
delta
-
Please refer to the new amuleweb[Dlg] mini-HowTo here (http://web478.server7.webplus24.de/amule/thread.php?threadid=678&sid=)
-
?(
Hi there,I did not whanted to ruin your "how to" so I post my little bugs here ;)
So I first tryed the 1.2.4 version with the webinterface. because I had some compile errors with the cvs version, but I'll try that later again.
in my .eMule file I put wrote:
[WebServer]
Password=1a1dc91c907325c69271ddf0c944bc72
PasswordLow=
Port=8890
Enabled=1
UseGzip=1
PageRefreshTime=120
UseLowRightsUser=0
.....
[ExternalConnect]
AcceptExternalConnections=1
ECUseTCPPort=1
ECPort=8892
ECPassword=1a1dc91c907325c69271ddf0c944bc72
and then I started the amuleweb like that:
./amuleweb -rh localhost -p 8892
the -h option you wrote was not there, maybe in the CVS version. but does not matter actually my amuleweb booted fine, also with the pass I definded. only problem is that:
*** creating web socket and starting listener!
*** WebServer: Using port: 30000
Web Server: Started
so should not it create the Webserver at port 8890 how I definded in the .eMule file??
So when I tryed my mozilla at http://localhost:30000 the webinterface poped up. But when I tryed http://localhost:8890 nothing came. But 8890 was the port for the amule to listen on definded in .eMule file.
So I try CVS version now but maybe somebody can give any help for the 1.2.4 version :)
thanks upfront
stefanero
carpe diem
-
jubie
the current CVS version worked fine :D
oleole
except for the final login ?(
hmmmmm, I'll change the pass maybe that workes
-
can anybody else login? ;(
I left the options like I posted in the beginnin of this page.
anything I missed? :(
thanks for the help
stefanero
-
workes now finally :) juhu!!!!!!!!!
in the current CVS version!!! oleoleole
thanks a lot :D