Page 1 of 1
WebUI : Transmission 1.75 on embedded device
Posted: Mon Oct 05, 2009 3:08 pm
by buzzkaido
Hello !
I've just installed a Transmission 1.75 package on my set-top box.
Daemon is working, but I have no access to the webUI.
"settings.json" seems to be correct (I try to authorize all IP in whitelist, just for test)
Is there any environnement variable to set ? any extra package to install ?
Thanks in advance !
Re: WebUI : Transmission 1.75 on embedded device
Posted: Mon Oct 05, 2009 11:09 pm
by rb07
What happens when you try to connect? Any error messages on your Web client?
On the server side, can you check if transmission-daemon is listening to the 9091 port? (or any port you configured, if you changed the default). Have you tried transmission-remote? (you'll probably get a better error message with it).
Just curious, what kind of network do you have? wired, wireless, is the "set-top box" using DHCP, connected to the Internet?
Re: WebUI : Transmission 1.75 on embedded device
Posted: Tue Oct 06, 2009 7:16 am
by buzzkaido
Thanks for your help.
I don't have any error message on server side.
On client side, my web browser simply display "No webpage at this address" (or something like that, really no answer at all from the STB)
transmission-daemon listen on port 9091 (as configured in settings.json)
I didn't try transmission-remote, I don't know how it's works.
My network is ethernet wire 100Mbs, using static IP address :
- 192.168.0.1 for the internet modem-router
- 192.168.0.10 for my first computer
- 192.168.0.11 for my second computer
- 192.168.0.12 for my settop box
I have samba running on the settop box, and both computer can access it, I've also tried a "wget" from the settop box, and the box can access the internet.
So I think my network is ok.
I try to connect to the webUI from "192.168.0.10" to "
http://192.168.0.12:9091" or "
http://192.168.0.12:9091/transmission/web"
I didn't found a lot of doc on transmission installation... is there :
- any variable to set (such as CLUTH_HOME, I see it on some websites) ?
- any package for webUI to install (such as apache or lighttpd) ?
- any access right to set (part of filesystem on my STB is read only) ?
Re: WebUI : Transmission 1.75 on embedded device
Posted: Tue Oct 06, 2009 7:23 am
by buzzkaido
I've just think about that... I tried to run everything as root... (just for try, I know that's a bad idea...) is there any limitation about that ?
Thanks a lot !
Re: WebUI : Transmission 1.75 on embedded device
Posted: Tue Oct 06, 2009 8:17 am
by rb07
Transmission-remote is a simple terminal application, you can run it on the server or on your PC (if you have it installed for it), one example is to list the torrents (assuming you have not set a password):
Code: Select all
transmission-remote 192.168.0.12:9091 -l
Actually the ":9091" is not needed since it is the default. More detailed output can be seen with the --debug option. Use --help to see other options.
Answering your other questions:
- CLUTCH_HOME is for a very old version of Transmission, so no, you don't need it.
- No need to install anything else (Apache or lighttpd), that also was for an old version.
- Access rights may come into play, the daemon needs full access to read/write its settings and to the download directory.
- No problem running the daemon as root, its not recommended for security reasons, but it doesn't affect its operation. Also, unless you specify the locations as parameters to the daemon, the user affects where the settings are kept.
Perhaps the best way to see what is wrong is to run the deamon by hand in "debug" mode (actually is just verbose mode):
That way the daemon will print a lot of information to the terminal. Don't forget to stop it first, then run it on a terminal.
Re: WebUI : Transmission 1.75 on embedded device
Posted: Tue Oct 06, 2009 5:08 pm
by buzzkaido
Thanks for your help.
The only message I get is :
/tmp/hdd/root/plugins/Transmission-1.75.3 # ./bin/transmission-remote 127.0.0.1 -l
[01:18:32.488] transmission-remote: (127.0.0.1:9091) Couldn't connect to server
(I tried with various IP : 127.0.0.1, 127.0.0.1:9091, 192.168.0.12, 192.168.0.12:9091)
And "transmission-daemon -f" doesn't produce any output.
I'm a little lost with this problem (I have no iptable, no firewall)
I this can help :
Code: Select all
/tmp/hdd/root/plugins/Transmission-1.75.3/bin # ./transmission-daemon -f -T -a 127.0.0.1 -w /tmp/hddmedia/BT -d
{
"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": "\/tmp\/hddmedia\/BT",
"encryption": 1,
"lazy-bitfield-enabled": true,
"message-level": 2,
"open-file-limit": 32,
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 51413,
"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": 1,
"proxy": "",
"proxy-auth-enabled": false,
"proxy-auth-password": "",
"proxy-auth-username": "",
"proxy-enabled": false,
"proxy-port": 80,
"proxy-type": 0,
"ratio-limit": 2.0000,
"ratio-limit-enabled": false,
"rpc-authentication-required": false,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "",
"rpc-port": 9091,
"rpc-username": "",
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": true,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 100,
"speed-limit-up-enabled": false,
"umask": 18,
"upload-slots-per-torrent": 14
}
Re: WebUI : Transmission 1.75 on embedded device
Posted: Tue Oct 06, 2009 6:06 pm
by rb07
buzzkaido wrote:The only message I get is :
/tmp/hdd/root/plugins/Transmission-1.75.3 # ./bin/transmission-remote 127.0.0.1 -l
[01:18:32.488] transmission-remote: (127.0.0.1:9091) Couldn't connect to server
Looks like the daemon is not even running.
And "transmission-daemon -f" doesn't produce any output.
Does it stay running or just returns with no output?
/tmp/hdd/root/plugins/Transmission-1.75.3/bin # ./transmission-daemon -f -T -a 127.0.0.1 -w /tmp/hddmedia/BT -d
So it can dump its settings.
My guess is that a dynamic library is missing (or more than one). Can you run:
Or, if you don't have ldd, something like (the number can change):
Code: Select all
/lib/ld-linux.so.3 --list transmission-daemon
(You need to add the full path unless you are in the same directory as the daemon).