aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2 3

Author Topic: amuleweb how do I get this working?  (Read 18874 times)

Scorpwanna

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
amuleweb how do I get this working?
« on: May 13, 2006, 07:50:56 PM »

I have Debian installed. I wanted to use amule. I do not have X server installed so I'm going the command line route. Since debian has it's apt-get install stuff I know I don't really have to compile anything. I installed amule-daemon which also added the webserver, gave it the option to startup when my computer starts. I can stop the amule-daemon and it says it's stopping the amuleweb too so I know the amuleweb is running. I have forwarded the ports as required. Been all over that wiki going through steps and it's confusing as hell. I try to connect to amuleweb through my webbrowser and it always gives me connection refused.

I have a few questions.

How do I make myself a password for this?
How many files require actual configuring? (i created that remote.conf and edited the amule.conf out the arse)

And finally, why does everything linux have to be so hard? :( Sorry if i sound angry I've just spent the last 8 hours trying to get this working.

Could someone give me a straight answer step by step of what to do exactly instead of pointing me to non-helpful urls?
« Last Edit: May 13, 2006, 07:52:16 PM by Scorpwanna »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: amuleweb how do I get this working?
« Reply #1 on: May 13, 2006, 08:12:40 PM »

I hope that everything you need will be covered by the wiki:
http://www.amule.org/wiki/index.php/AMuleWeb

The first thing I would like to try is to connect locally (via lynx or another text browser) to localhost:4711 (or to whatever you changed the webserver port).
Logged

Scorpwanna

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
Re: amuleweb how do I get this working?
« Reply #2 on: May 13, 2006, 08:38:25 PM »

Tried it hours ago, thats what gives me the connection refused.


I think this part is what is confusing me:

ECPassword=ca3c365274907c6fd527068788e14639 <-- To find the MD5 string for your password, do:

            $ echo -n yourpasswordhere | md5sum | cut -d ' ' -f 1
            ca3c365274907c6fd527068788e14639


The thing is, I don't have a password for it, because nothing tells me how to make a password.
« Last Edit: May 13, 2006, 08:40:10 PM by Scorpwanna »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: amuleweb how do I get this working?
« Reply #3 on: May 13, 2006, 08:48:28 PM »

You just choose a word, which you want to use as a password. Let's take sauerkraut as example.

First of all you need the md5hash for 'sauerkraut'
To get this, you have to execute the following command in a terminal:
Code: [Select]
echo -n sauerkraut | md5sum | cut -d ' ' -f 1The Result should be 52381cef39ef6cf8b58cf1f710f05270.

Now you insert this md5hash as the value of ECPassword in the amule.conf file.
The line looks now like this:
Quote
ECPassword=52381cef39ef6cf8b58cf1f710f05270

Now the ec-password is sauerkraut when you want to connect e.g. via amulecmd. Don't forget to create a remote.conf by running amuleweb -w
Logged

Scorpwanna

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
Re: amuleweb how do I get this working?
« Reply #4 on: May 13, 2006, 08:56:50 PM »

i have created this remote.conf file like hours ago :(. i did the echo thing too.

I get from my browser:

"The connection was refused when attempting to contact blah:4711"

I know this amuleweb thing is running. I've followed all of the wiki examples. I still get nothing.

Sorry

is it really running? It says this but I bet it doesnt mean it.

:/# etc/init.d/amule-daemon restart
Stopping aMuleWeb : amuleweb.
Starting aMule : amuled.
« Last Edit: May 13, 2006, 09:03:31 PM by Scorpwanna »
Logged

Scorpwanna

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
Re: amuleweb how do I get this working?
« Reply #5 on: May 13, 2006, 09:22:14 PM »

hrm, it appears that it isn't running after all. I had to run amuleweb -h (ip) and it ran and im able to access it on my browser. But will it always run? Also, when im on the web thing i enter my password for it and press login and it just refreshes back to the login page. Reports Password bad. hrm...
« Last Edit: May 13, 2006, 09:24:39 PM by Scorpwanna »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: amuleweb how do I get this working?
« Reply #6 on: May 13, 2006, 09:33:24 PM »

Quote
[WebServer]
Enabled=1
Password=md5hash
Assure that you've enabled the automatic start of the webserver (see above) and that you've put the right password. Oh, and you need cookies enabled in order to use amuleweb.
Logged

Scorpwanna

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
Re: amuleweb how do I get this working?
« Reply #7 on: May 13, 2006, 09:33:26 PM »

Web Server: Started
aMuleweb$
WSThread: Thread started
WSThread: created socket listening on :4711
help

aMuleweb$ Processing request [original]:
No session opened - will request login
Session created - requesting login
Checking password
Password bad
Processing request [redirected]: login.html


it's not taking my password :(
Logged

Scorpwanna

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
Re: amuleweb how do I get this working?
« Reply #8 on: May 13, 2006, 09:37:18 PM »

hrm, am i going to have to be logged in to my shell just to keep this thing running? If so... ugh, thanks for the help but this is to tough. Im just going to uninstall it.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: amuleweb how do I get this working?
« Reply #9 on: May 13, 2006, 09:48:54 PM »

No!
These are the changes you have to do in the amule.conf in order to achieve that amuleweb is being launched in the background, without the need for a login!
Logged

Scorpwanna

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
Re: amuleweb how do I get this working?
« Reply #10 on: May 14, 2006, 01:59:14 AM »

I'm confused, and don't know what to do. I put in all this info inthe config and restart amule-daemon and even taht amule thing i created on wiki, and still nothing working right. I've set all the config stuff as you told me. in my shell ive ran the amuleweb thing and managed to launch it that way, but it still does nothing when i try to login.

Could you perhaps show me an exact step by step to follow? Because the wiki I can't understand at all.

Step 1: (using debian) run "apt-get install amule-daemon".

It installs that way without me having to configure to compile etc...


I want to really use this but its beyond me.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: amuleweb how do I get this working?
« Reply #11 on: May 14, 2006, 12:47:11 PM »

Did you set the webserver password on the config file?
Logged

Scorpwanna

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
Re: amuleweb how do I get this working?
« Reply #12 on: May 15, 2006, 04:37:21 AM »

Yes. I even set all the passwords everywhere for emule everythign to test and still nothing. That one time I got it to show the webserver login page i'd type in the password I gave it and it wouldnt go anywhere. So lost. I need a how to (not the wiki) a

step1: installing
step2: configuring
step3: running
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuleweb how do I get this working?
« Reply #13 on: May 15, 2006, 08:25:24 AM »

well whats wrong with the wiki? its explained pretty fine

well post your

amule.conf !!! here so I can see what you have done, and where the error is

and also a

remote.conf !!! IF you have one, if not you cant paste it

also post me the output of

ls -la /usr/bin/amule*

and

ls -la /usr/local/bin/amule*

do all that and I can help ya
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: amuleweb how do I get this working?
« Reply #14 on: May 15, 2006, 01:25:45 PM »

Quote
Originally posted by Scorpwanna
Yes. I even set all the passwords everywhere for emule everythign to test and still nothing.

I hate when people gets so stubborn. NO, YOU DIDN'T DO EVERYTHING OR IT WOULD WORK. duh.


And I agree with stefan. Wiki is pefecctly explained and people configures it from there perfectly.
Logged
Pages: [1] 2 3