From owner-freebsd-questions@FreeBSD.ORG Fri Nov 20 10:04:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAE601065672 for ; Fri, 20 Nov 2009 10:04:34 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id A2EB78FC08 for ; Fri, 20 Nov 2009 10:04:34 +0000 (UTC) Received: from localhost (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id 5A6013599; Fri, 20 Nov 2009 11:04:32 +0100 (CET) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by localhost (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5Ap5S3pQzyK3; Fri, 20 Nov 2009 11:04:29 +0100 (CET) Received: from snifi.localnet (87-204-241-35.ip.netia.com.pl [87.204.241.35]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id 5BB38193E; Fri, 20 Nov 2009 11:04:29 +0100 (CET) From: Maciej Milewski To: freebsd-questions@freebsd.org Date: Fri, 20 Nov 2009 11:04:23 +0100 User-Agent: KMail/1.12.3 (Linux/2.6.31-ARCH; KDE/4.3.3; x86_64; ; ) References: <4B065CEB.7080809@shopzeus.com> In-Reply-To: <4B065CEB.7080809@shopzeus.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Message-Id: <200911201104.24014.milu@dat.pl> Cc: Laszlo Nagy Subject: Re: transmission-web settings do not work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2009 10:04:35 -0000 Dnia pi=B1tek 20 listopad 2009 o 10:10:03 Laszlo Nagy napisa=B3(a): > transmission_enable=3D"YES" > transmission_flags=3D" -a 192.168.0.1 " > transmission_download_dir=3D"/download" >=20 > Other settings are the defaults. Then I do this: >=20 > 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 ?? SsJ 0:00.00 /usr/local/bin/transmission-daemon -g > /usr/local/etc/transmission/home -a 192.168.0.1 -w /download >=20 > My problem: cannot use web UI from outside. Here is the error I get: > > Unauthorized IP Address. =46rom transmission manual: -a --allowed x.x.x.x,... Allow RPC access to a comma-delimited whitelist of IP addresse= s. Wildcards can be specified in an address by using '*'. Defaul= t: "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=E9gi settings.json-t. >=20 > 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 th= en=20 start transmission-daemon.=20 =2D-=20 Best Regards, Maciej Milewski