Transmission in Qaud bay gig nas

Ask for help and report issues with the GTK+ version of Transmission
Post Reply
alser
Posts: 3
Joined: Tue Dec 14, 2010 12:16 am

Transmission in Qaud bay gig nas

Post by alser » Tue Dec 14, 2010 12:33 am

Hi guys,

I'm trying to get transmission working on my giganas and am hitting the brick wall... Please can you help !!!

I get the following error when I hit my box's web account:

its 172.16.0.2:9091

403: Forbidden
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.

Ive edited the settings.json to include my local ip of 172.16.*.* in the white list allow but i am still being locked out

WG-NAS> pwd
/mnt/md1/public/.transmission

-NAS> cat settings.json

"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": false,
"dht-enabled": true,
"download-dir": "\/mnt\/md1\/public\/Downloads",
"encryption": 0,
"lazy-bitfield-enabled": true,
"message-level": 2,
"open-file-limit": 32,
"peer-limit-global": 120,
"peer-limit-per-torrent": 60,
"peer-port": 5000,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": 0,
"pex-enabled": true,
"port-forwarding-enabled": true,
"preallocation": 2,
"proxy": "",
"proxy-auth-enabled": false,
"proxy-auth-password": "",
"proxy-auth-username": "",
"proxy-enabled": false,
"proxy-port": 80,
"proxy-type": 0,
"ratio-limit": 0,
"ratio-limit-enabled": false,
"rpc-authentication-required": false,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "{02e50ce30bb9b4d7157f63726eb13812b40b6bc6FXd8j5oj",
"rpc-port": 9091,
"rpc-username": "",
"rpc-whitelist": "172.16.*.*,127.0.0.*",
"rpc-whitelist-enabled": false,
"speed-limit-down": 100,
"speed-limit-down-enabled": true,
"speed-limit-up": 50,
"speed-limit-up-enabled": true,
"upload-slots-per-torrent": 14

I've even tried editing the following in the /usr config :

I've also edited the web page settings in transmission allow on

-WG-NAS> cd /usr/local/transmission/
-WG-NAS> ls
bin etc lib web
-WG-NAS> cd etc
-WG-NAS> ll
total 12
drwxr-xr-x 2 root root 4096 Dec 13 13:25 .
drwxr-xr-x 6 root root 4096 Dec 13 13:25 ..
-rw-r--r-- 1 root root 318 Dec 13 22:43 conf
-WG-NAS> cat conf
TRANSMISSION_WEB_DIR="/usr/local/transmission/web/"
TRANSMISSION_CONFIGS="/public/.transmission"
TRANSMISSION_DOWNDIR="/nas_videos"
TRANSMISSION_ALLOWED="172.16.*.*,127.0.0.*"
TRANSMISSION_DOWN_SPEED="10000"
TRANSMISSION_UP_SPEED="500"
TRANSMISSION_MAX_PEERS="50"
TRANSMISSION_MAX_TORRENT="60"
TRANSMISSION_PORT="5000"76-WG-NAS>
-WG-NAS>
-WG-NAS>


Any help would be a god send and very much appreciated

Thanks

Alan

gunzip
Posts: 272
Joined: Wed May 05, 2010 2:12 am

Re: Transmission in Qaud bay gig nas

Post by gunzip » Tue Dec 14, 2010 3:44 am

you have to stop the transmission-daemon from running before editing settings.json or the changes won't stick.

also at any time you can run command:

transmission-daemon -g config_dir --dump-settings

to see what the current settings really are. just curious, do you use something like telnet or ssh to access the command line on the nas?

alser
Posts: 3
Joined: Tue Dec 14, 2010 12:16 am

Re: Transmission in Qaud bay gig nas

Post by alser » Tue Dec 14, 2010 6:32 pm

Thanks for your reply gunzip !!

I am a former HP-UX head and hardware engineer from the old days and I really appreciate your help.. so thanks!

I've had a look at my box and I am starting to think the version I have downloaded from the NAS support site is dud or compiled wrong?

For example when I look to start / stop the transmission daemon it doesn't exist in the local directory:

I got the following location from the following URL

https://trac.transmissionbt.com/wiki/Scripts/initd

/etc/init.d/transmission-daemon start

I searched the transmission site for some detail in relation to the start stop scrips and theres no init.d directory in /etc/ dir on my NAS!

https://trac.transmissionbt.com/wiki/Scripts/initd

group nat4.sh rc.conf thttpd.conf
group_desc nat_br.sh rc.curconf unxml.sh
/etc # ll
ash: ll: not found
/etc # ls -l
total 158
-rwxrwxrwx 1 99 99 598 Oct 27 2008 DiskStatus.dat
-rwxrwxrwx 1 root root 2299 Oct 27 2008 HDInfo
-rw-r--r-- 1 root root 10 Dec 13 22:45 HOSTNAME
-rwxrwxrwx 1 root root 1069 Oct 31 2008 ImageInfo
-rwxr-xr-x 1 root root 901 Dec 13 22:45 UPnP.xml
-rwxrwxrwx 1 root root 90 Sep 22 2004 VERSION
-rwxrwxrwx 1 root root 103 Jun 18 2008 backup.ftp
-rwxrwxrwx 1 root root 158 Jun 17 2008 backup.smb
-rwxrwxrwx 1 root root 75 Dec 29 2004 crontab
-rwxrwxrwx 1 root root 1547 Sep 4 2006 dhcpcd.script
-rwxr-xr-x 1 root root 288 Dec 13 22:45 dhcpd.conf
lrwxrwxrwx 1 root root 23 Dec 13 22:45 exports -> /usr/hddapp/etc/exports
-rwxrwxrwx 1 root root 160 Dec 13 22:45 fstab
-rwxrwxrwx 1 root root 21 Sep 22 2004 ftpusers
-rwxrwxrwx 1 root root 129 Dec 13 22:45 group
-rwxrwxrwx 1 root root 27 Sep 22 2004 group_desc
-rwxrwxrwx 1 root root 17 Sep 22 2004 host.conf
-rw-r--r-- 1 root root 73 Dec 13 22:45 hosts
-rwxrwxrwx 1 root root 161 Sep 22 2004 hosts.allow
-rw-r--r-- 1 root root 56 Dec 13 22:45 inetd.conf
-rwxrwxrwx 1 root root 5308 Jun 18 2008 jpg.sh
drwxrwxrwx 2 root root 1024 May 28 2008 lcd_module
-rwxrwxrwx 1 root root 35 Oct 29 2004 ld.so.conf
-rwxrwxrwx 1 root root 497 May 29 2008 leftSpace.sh
lrwxrwxrwx 1 root root 23 Dec 13 22:45 localtime -> /usr/zoneinfo/Greenwich
-rwxrwxrwx 1 99 99 7954 Oct 27 2008 loopDaemon
lrwxrwxrwx 1 root root 29 Dec 13 22:45 mt-daapd.conf -> /usr/hddapp/etc/mt-da
apd.conf
-rwxrwxrwx 1 root root 107 Dec 13 22:45 mtab
-rwxrwxrwx 1 root root 753 May 3 2006 nat.sh
-rwxrwxrwx 1 root root 561 Jun 20 2006 nat2.sh
-rwxrwxrwx 1 root root 561 Jul 25 2006 nat4.sh
-rwxrwxrwx 1 root root 660 Mar 26 2007 nat_br.sh
-rwxrwxrwx 1 root root 908 Mar 22 2007 nat_switch.sh
-rwxrwxrwx 1 root root 403 Nov 19 2004 nsswitch.conf
drwxrwxrwx 2 root root 1024 Oct 31 2008 pam.d
-rwxrwxrwx 1 root root 584 Dec 13 22:45 passwd
-rwxrwxrwx 1 root root 889 May 3 2006 pppoe.sh
-rwxrwxrwx 1 root root 179 Sep 22 2004 printcap
-rwxrwxrwx 1 root root 441 Sep 22 2004 profile
-rwxrwxrwx 1 root root 398 Sep 22 2004 protocols
-rwxrwxrwx 1 root root 263 Jan 3 2006 ptable
-rwxrwxrwx 1 root root 8880 Jul 8 2008 random
-rwxrwxrwx 1 99 99 10843 Oct 27 2008 rc
-rwxrwxrwx 1 root root 5027 Jun 17 2008 rc.HD.start
-rwxrwxrwx 1 root root 5585 Nov 1 2007 rc.RAID.start
-rwxrwxrwx 1 root root 1937 Feb 21 2005 rc.RD.start
-rwxrwxrwx 1 root root 893 Oct 31 2008 rc.conf
-rwxrwxrwx 1 root root 71 Oct 17 2005 rc.curconf
drwxrwxrwx 2 root root 1024 Oct 31 2008 rc.d
-rwxrwxrwx 1 root root 1945 Nov 25 2005 rc.network
-rwxrwxrwx 1 root root 1826 Jul 18 2007 rc.network_install_version
-rwxrwxrwx 1 99 99 27810 Oct 27 2008 rc.start
-rwxrwxrwx 1 root root 2957 Mar 21 2005 rc.usb
-rw-r--r-- 1 root root 69 Dec 13 22:45 resolv.conf
-rwxrwxrwx 1 root root 149 Sep 22 2004 securetty
-rw-r--r-- 1 root root 20128 Dec 13 22:45 services
-rwxrwxrwx 1 root root 162 Nov 29 2005 setautoip.sh
-rwxrwxrwx 1 root root 638 Jul 28 2006 setbridge.sh
-rwxrwxrwx 1 root root 41 Sep 22 2004 shells
drwxrwxrwx 3 root root 1024 Dec 13 22:45 sysconfig
-rw-r--r-- 1 root root 1143 Dec 13 22:45 syslog.conf
-rwxrwxrwx 1 99 99 163 Oct 27 2008 thttp_daemon
-rw-r--r-- 1 root root 117 Oct 31 2008 thttpd.conf
-rwxrwxrwx 1 root root 95 Jun 18 2008 unxml.sh
/etc #

when I grep for transmission I get the following locations:

/system/codb/objects/1/transmission.enable
76-WG-NAS> find / |grep transmission
/usr/sausalito/handlers/base/transmission
/usr/sausalito/handlers/base/transmission/restart
/usr/sausalito/handlers/base/transmission/stop
/usr/sausalito/handlers/base/transmission/start
/usr/sausalito/conf/base/transmission
/usr/sausalito/conf/base/transmission/transmission.conf
/usr/sausalito/schemas/base/transmission
/usr/sausalito/schemas/base/transmission/transmission.schema
/usr/sausalito/constructor/98_construct_transmission
/usr/webroot/locale/en/LC_MESSAGES/base_ui_transmission.mo
/usr/webroot/locale/zh_CN/LC_MESSAGES/base_ui_transmission.mo
/usr/webroot/locale/zh_TW/LC_MESSAGES/base_ui_transmission.mo
/usr/webroot/locale/de/LC_MESSAGES/base_ui_transmission.mo
/usr/webroot/locale/es/LC_MESSAGES/base_ui_transmission.mo
/usr/webroot/locale/fr/LC_MESSAGES/base_ui_transmission.mo
/usr/webroot/locale/ja/LC_MESSAGES/base_ui_transmission.mo
/usr/webroot/cgi/transmission
/usr/webroot/cgi/transmission/transmissionHandler.cgi
/usr/webroot/cgi/transmission/transmission.cgi
/usr/webroot/html/transmission
/usr/webroot/html/transmission/transmission.html
/usr/webroot/nav/transmission
/usr/webroot/nav/transmission/transmission.xml
/mnt/md1/public/.transmission
/mnt/md1/public/.transmission/transmission.pid
/mnt/md1/public/.transmission/resume
/mnt/md1/public/.transmission/torrents
/mnt/md1/public/.transmission/blocklists
/mnt/md1/public/.transmission/settings.json
/mnt/md1/public/.transmission/stats.json
^A^[
76-WG-NAS>

The NAS box I have is based on the following its a MRT NAS

http://mrt.nas-central.org/wiki/Category:35HD-QUAD-NAS

Theres a good forum but I've tried the recomnedations before and it doesn't work for me at:

http://memoriedigitali.com/storlinkdevi ... m.php?f=15


I got the tar ball from the following support link:

http://www.embeded-systems.net/software.htm under the transmission selection window, it says its version 1.72 when I download it...

So what do you think? should I try a different download if so what do you think may work with my arm box.

Thanks again...

Alan

gunzip
Posts: 272
Joined: Wed May 05, 2010 2:12 am

Re: Transmission in Qaud bay gig nas

Post by gunzip » Wed Dec 15, 2010 1:33 am

yes that wiki link is for Debian/Ubuntu startup scripts .. yours is a different animal.
alser wrote:I got the tar ball from the following support link:

http://www.embeded-systems.net/software.htm under the transmission selection window, it says its version 1.72 when I download it...
i grabbed that tarball and unpacked it and you seems to be missing some files based on what you posted from from the find / command, e.g.:

etc/
etc/transmission_stop.sh
etc/transmission_start.sh
etc/rc.d/
etc/rc.d/30_restart_cced.sh
etc/rc.d/10_transmission_set_link.sh
etc/rc.d/20_transmission_set_cgi_links.sh

maybe you should re-download and reinstall and see if you left out any steps in the installation procedure. unfortunately that package has no manual, docs or even a README included anywhere.

your config_dir seems to be at /mnt/md1/public/.transmission/ so as a last resort you start the dameon like this

transmission-daemon -g /mnt/md1/public/.transmission/

and stop it with

killall transmission-daemon

alser
Posts: 3
Joined: Tue Dec 14, 2010 12:16 am

Re: Transmission in Qaud bay gig nas

Post by alser » Fri Dec 17, 2010 9:05 am

Thanks again Gunzip,

Thanks for helping me understand this issue further, yet again your right !!!

I did a search for rpm and I did a uname -a and found out that its a linux kernel !

I'm going to try to rm the application this pm GMT and then try to install it with the app loader on the embedded systems.net folder and see how it goes, I think this is a duff install as I have a vague memory of trying this some months ago and it failing also!

If it fails again tonight, What is your oppinion of trying to rpm the latest version of transmission :- do you think it will work?

Thanks

Alan


/mnt/md1/public # rpm
BusyBox v1.00-rc3 (2008.10.29-07:05+0000) multi-call binary

Usage: rpm -i -q[ildc]p package.rpm

Manipulates RPM packages

Options:
-i Install package
-q Query package
-p Query uninstalled package
-i Show information
-l List contents
-d List documents
-c List config files

/mnt/md1/public # rpm -r
rpm: invalid option -- r
BusyBox v1.00-rc3 (2008.10.29-07:05+0000) multi-call binary

Usage: rpm -i -q[ildc]p package.rpm

Manipulates RPM packages

Options:
-i Install package
-q Query package
-p Query uninstalled package
-i Show information
-l List contents
-d List documents
-c List config files

/mnt/md1/public # find / |grep rpm
/bin/rpm
/mnt/md1/backup/Lotus/OVERQUOTA/oqscrpmg.nsf
/mnt/md1/backup/Lotus/Archive/OVERQUOTA/oqscrpmg.nsf

/mnt/md1/public # uname -a
Linux 76-WG-NAS 2.6.15 #137 Fri Oct 31 09:56:08 CST 2008 armv4l GNU/Linux
/mnt/md1/public #

Post Reply