transmission-web settings do not work

2009-11-20 Thread Laszlo Nagy
Basic system, installed these packages:  transmission-daemon és 
transmission-web.


Here is rc.conf:

transmission_enable=YES
transmission_flags= -a 192.168.0.1 
transmission_download_dir=/download

Other settings are the defaults. Then I do this:

vm01# mkdir -p /download
vm01# chown -R transmission:transmission /download
vm01# /usr/local/etc/rc.d/transmission start
Starting transmission.
vm01# ps axww | grep transm
8963  ??  SsJ0:00.00 /usr/local/bin/transmission-daemon -g 
/usr/local/etc/transmission/home -a 192.168.0.1 -w /download


My problem: cannot use web UI from outside. Here is the error I get:



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.




However, it is useless to change rpc-whitelist-enable to false in 
the ~transmission/settings.json file. I can even delete it. It doesn't 
matter. Anytime I start transmission-daemon, it ignores all the 
settings. Then, if I stop it, it dumps out the default settings again to 
settings.json.

régi settings.json-t.

When starting up transmission-daemon, it doesn't tell anything about not 
found config file, cannot read or parse it etc.


What did I wrong?

System info:

vm01# uname -a
FreeBSD vm01.test.dyndns.org 7.2-STABLE FreeBSD 7.2-STABLE #2: Wed 
Nov 18 08:50:04 CET 2009 
gand...@test.dyndns.org:/usr/obj/usr/src/sys/DARKSUN  amd64

vm01# pkg_info | grep trans
transmission-daemon-1.75 A fast and lightweight daemon BitTorrent client
transmission-web-1.75 A fast and lightweight WebUI for Transmission 
BitTorrent cl

vm01#


Thanks

 Laszlo


___
BSD levlista
b...@hu.freebsd.org
https://lists.hu.freebsd.org/mailman/listinfo/bsd

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: transmission-web settings do not work

2009-11-20 Thread Maciej Milewski
Dnia piątek 20 listopad 2009 o 10:10:03 Laszlo Nagy napisał(a):
 transmission_enable=YES
 transmission_flags= -a 192.168.0.1 
 transmission_download_dir=/download
 
 Other settings are the defaults. Then I do this:
 
 vm01# mkdir -p /download
 vm01# chown -R transmission:transmission /download
 vm01# /usr/local/etc/rc.d/transmission start
 Starting transmission.
 vm01# ps axww | grep transm
 8963  ??  SsJ0:00.00 /usr/local/bin/transmission-daemon -g
 /usr/local/etc/transmission/home -a 192.168.0.1 -w /download
 
 My problem: cannot use web UI from outside. Here is the error I get:
  Unauthorized IP Address.
From transmission manual:
 -a --allowed x.x.x.x,...
 Allow RPC access to a comma-delimited whitelist of IP addresses.
 Wildcards can be specified in an address by using '*'.  Default:
 127.0.0.1 Example: 127.0.0.*,192.168.1.*

So by settings this flag you are allowing only IP 192.168.0.1.
 However, it is useless to change rpc-whitelist-enable to false in
 the ~transmission/settings.json file. I can even delete it. It doesn't
 matter. Anytime I start transmission-daemon, it ignores all the
 settings. Then, if I stop it, it dumps out the default settings again to
 settings.json.
 régi settings.json-t.
 
 When starting up transmission-daemon, it doesn't tell anything about not
 found config file, cannot read or parse it etc.

Try this way:
remove that flag, turn off transmission-daemon, change settings.json and then 
start transmission-daemon. 

-- 
Best Regards,
Maciej Milewski
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org