aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amuled via amuleweb/amulegui  (Read 2616 times)

aRZed

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
amuled via amuleweb/amulegui
« on: September 16, 2005, 09:00:28 AM »

Hy!

I have several problems with amuled and the control via amuleweb/amulegui:

At first some words to my setup: I have amule running on my router box and I control it via network ...

1. renamed files don't keep new names after restart: When I rename files in amulegui it works fine at first. but after I restart amuled those files have their old names again - as if I never changed them.

2. files don't keep their status after restart: This is merely the same situation as above: When I change the status of a file (i.e. pause a file) it has it's old status again after restart.

3.permissions of files and directories: Since didn't find anything to change the permissions of amules files and dirs I took a look at the amule.conf:
PermissionsFiles=416
PermissionsDirs=488

This are the the default values as amuled set them when I first started it. But I don't think they make much sense. It seems that those are the standard unix permissions for user, gorup, world but then what a octal-number is 8? And then what sense does it make to give the owsner lower permissions than world?
So my question: What is the meaning of those numbers? Are they unix permissions?

So I think that was it for now...

thanks to everyone who read this far ...
... and just more thanks for any suggestion.

aRZed
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: amuled via amuleweb/amulegui
« Reply #1 on: September 16, 2005, 04:26:23 PM »

With respect to 3: the values in the amule.conf are written in decimal.  If you translate to octal, you will get sensible unix permissions.  416 == 0640, 488 == 0750.

Sorry, but I don't know about the other issues.
Logged

lfroen

  • Guest
Re: amuled via amuleweb/amulegui
« Reply #2 on: September 16, 2005, 05:01:01 PM »

(1) not implemented, don't use it.
(2) should work, unless "restart" means "restart amuled" in which case it depends how you shut it down.
(3) ken already answered that.
Logged

aRZed

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: amuled via amuleweb/amulegui
« Reply #3 on: September 20, 2005, 03:02:37 PM »

Quote
Originally posted by lfroen
(1) not implemented, don't use it.
at least i know that now! thanks
Quote
(2) should work, unless "restart" means "restart amuled" in which case it depends how you shut it down.
what is the proper way to shutdown amuled? -> at the moment i send a SIGTERM to amuled via killall
« Last Edit: September 20, 2005, 03:03:07 PM by aRZed »
Logged

aRZed

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: amuled via amuleweb/amulegui
« Reply #4 on: September 20, 2005, 03:04:57 PM »

so that is it ... thank you for that one ... I think it would be nice to have that somewhere in the manual or as a comment in the default amule.conf

regards
aRZed
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: amuled via amuleweb/amulegui
« Reply #5 on: September 20, 2005, 03:16:05 PM »

Shutdown of amule via remote GUI isn't implemented (yet), you can use amulecmd for that, just do a
Code: [Select]
amulecmd -c "shutdown" on the computer amule is running on...
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.