You are not logged in.

#1 2009-04-06 21:18:50

Hexorg
Member
Registered: 2009-02-23
Posts: 27

transmissiond

Good daytime to you. I'm tryeing to run transmission on a headless machine, but I have a ssh access to it. after starting daemon, i am able to access web interface through links running it locally. But If i try to access web UI from my computer - it says

401: Unauthorized

Unauthorized IP Address.

Either disable the IP address whitelist or add your address to it.

If you're editing settings.json, see the 'rpc-whitelist' and 'rpc-whitelist-enabled' entries.

If you're still using ACLs, use a whitelist instead. See the transmission-daemon manpage for details.

Here is a part of settings.json:

    "rpc-authentication-required": 0,
    "rpc-password": "",
    "rpc-port": 9091,
    "rpc-username": "",
    "rpc-whitelist": "127.0.0.*,192.168.1.*",

192.168.1.101 is an IP of my computer. headless machine is 192.168.1.102
writting

transmissiond: 192.168.1.

in hosts.allow didn't do anything.
Is there anything else to modify to access web UI from my computer?

oh, and do I need to restart my network daemon after changing hosts.allow?

Last edited by Hexorg (2009-04-06 21:19:26)

Offline

#2 2009-04-07 20:04:48

amavis442
Member
Registered: 2006-08-19
Posts: 2

Re: transmissiond

Hi Hexorg,

What i foud out was that when you use /etc/rc.d/transmissiond my settings.json where overwritten with old values.
What is did was in /etc/conf.d/transmissiond add an option

TRANS_USER=""
TRANS_OPTIONS="-a 127.0.0.1, 192.168.1.*"

The -a is a whitelist that permits access from 127.0.0.1 and 192.168.1.1-255

In /etc/rc.d/transmissiond add $TRANS_OPTIONS to the following line

(..) "/usr/bin/transmission-daemon $TRANS_OPTIONS" $TRANS_USER

This is line 10.

I hope this will help you smile.

Last edited by amavis442 (2009-04-07 20:06:26)


Any love is good love

Offline

#3 2009-04-14 16:46:20

stefan1975
Member
From: 53 6e 65 65 6b
Registered: 2007-04-16
Posts: 195

Re: transmissiond

Hi,

i dont mean to hijack this thread, but I also have a slight transmissiond issue and I thought it would be too trivial to open up another thread for it.

I recently reinstalled my server from fedora10 to arch_i686 and so far so good everything is backup up and running much like it was on fedora. I use transmissiond and the web-interface to remotely add and download torrents. However on Arch everything appears to work just fine but for some unknown reason the deamon crashes at random intervals, although it seems more often when I use the web-gui a lot to upload lots of torrent files. Even at times I am just idly looking at the GUI all of the sudden the options grey out and the connectiong with the server is lost, meaning the transmissiond died on me again

nothing is visible in /var/log nor when I run the deamon from the CLI or with a "set -x" so i cannot find any reason why it would not stay running. On fedora the transmissiond ran continiously for months at a time and now I cannot get it past 24 hours or so.

So is there any reason why it would crash, any logging, any tests i can run to determine the cause of this? The only thing i did to make it work was to add the OPTIONS like described above to remotely connect, but even when reverting this to default it still won't work.

thanks everyone for any pointers in this.
stefan

Last edited by stefan1975 (2009-04-14 16:47:58)


"root# su - bofh"
OS: F10_x64, Arch, Centos5.3, RHEL4.7, RHEL5.3
Desktop Hardware: Dell Precision M65 laptop, core2duo, 2gb, 80gb 7200rpm
Registered linux user #459910 since 1998

Offline

#4 2009-06-01 03:04:08

khaoohs
Member
Registered: 2008-02-18
Posts: 10

Re: transmissiond

Why does restarting transmissiond over-write the settings.json file? That seems like a bug in the Arch build.

Offline

#5 2010-08-13 09:52:39

santodelaespada
Member
Registered: 2009-04-15
Posts: 50

Re: transmissiond

I've solved the problems using the TRANS_USER="username" and adding TRANS_ARGS="-g /home/$TRANS_USER/.config/transmission" so it uses the username's configuration files and cache.
I belive it should be included by default along with a post installation message that advices you to set the TRANS_USER variable in order to get transmissiond working properly

Offline

#6 2010-08-16 04:46:08

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: transmissiond

santodelaespada,

we appreciate you giving answers, but seeing that the thread is more than a year old, many things might have changed due to the rolling release nature of our OS. Also, the op is likely moved on or found a solution himself. Please don't post in threads older than 6 months

http://wiki.archlinux.org/index.php/Forum_Etiquette

Closing.....


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB