Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
New version of transmission (1.30 and newer) do not need domain sockets any more, neither it do not need php and webserver. Soon I am going to return from vacation and then I will compile this version for DSM-G600.
Offline
This is worth waiting for
Offline
Indeed. Then all there is left for me to do is figuring out how to include RSSDler into this all...
Offline
http://dns323.kood.org/downloads/untest … 32.tar.bz2
This version is very simple to use. For webui you'll need only web directory and transmission-daemon:
export TRANSMISSION_HOME=/mnt/HD_a2/.transmission export CLUTCH_HOME=/mnt/HD_a2/web /mnt/HD_a2/transmission-daemon --port=8080 --auth --username=test --password=test --download-dir=/mnt/HD_a2/downloads
All values should be self explanatory.
After this you should be able to access http://test:test@dsmg600ip:8080/transmission/web
As of I haven't tested these binaries, please report back any errors you see
Offline
Thanks!
Feed back in few days.
Offline
Thanks for the effort, but it gives a "segmentation fault". Could it be that i need to update my busybox (v1.2.1)?
Last edited by pim (2008-08-18 20:07:47)
Offline
Does it segfault with --help switch to? Will it give some details to dmesg?
I did recompile some variants. Maybe static versions works better.
http://dns323.kood.org/downloads/untest … 32.tar.bz2
Offline
sala wrote:
Does it segfault with --help switch to?
Nope, still the segmentation fault
sala wrote:
Will it give some details to dmesg?
How do i do that? If i look into the dmesg.out, it gives a list of the start-up, as i run the dmesg.out in the first line of the fun_plug.
sala wrote:
I did recompile some variants. Maybe static versions works better.
http://dns323.kood.org/downloads/untest … 32.tar.bz2
Once again, thanks. I tried to run the --help first, which works for all the daemon files (plain, static, stiped, static striped).
If i run the last line:
/mnt/HD_a2/transmission-daemon --port=8080 --auth --username=test --password=test --download-dir=/mnt/HD_a2/downloads
with the transmission-daemon replaced by transmission-daemon.static, i do see the proces when using the PS command:
4190 root 256 S /mnt/HD_a2/transmission-daemon.static --port=8080 --a 4191 root Z [transmission-da]
But, if i try to access the nas with a browser using the link you provided (i did replace the url to the name of my nas), it gives a connection error.
With regard to the other versions of the daemon: only the static ones show in the PS command; the .striped version does not start as a process. These also do not work with the url in a browser.
Does this help you in solving the problem?
Last edited by pim (2008-08-19 09:48:32)
Offline
For dmesg, you can simply run this command using telnet session.
As of connection error, if your DSM-G600 has netstat, you can look if 8080 port is listening connections. If you do not have netstat, then you can telnet to 8080 port and see if it accepts connections.
Also, you'll need to export needed values before starting transmission-daemon!
export TRANSMISSION_HOME=/mnt/HD_a2/.transmission export CLUTCH_HOME=/mnt/HD_a2/web
If you still cant access 8080 port with your browser, then you can try transmission daemon --foreground switch and see if transmissions says something useful.
Offline
I tried only your first release,
The daemon started correctly, I can connect to the web gui.
But when I add a torrent, the dl list stay empty. Any idea?
(I use fwimage-04-sala-20070128)
Offline
n3rd wrote:
I tried both, normal and static version with --foregound switch.
I get this error:
[err] evsignal_init: socketpair: Address family not supported by protocol
I have the same error while using the foreground switch. This using the standard most up-to-date FW (not the custom one).
Offline
medlatek wrote:
I tried only your first release,
The daemon started correctly, I can connect to the web gui.
But when I add a torrent, the dl list stay empty. Any idea?
(I use fwimage-04-sala-20070128)
Check your TRANSMISSION_HOME directory. Is it accessible and do transmission have rights to write files to there. chmod 777 would be good to try. And same thing with download directory will also be needed.
Also look clutch settings (little button, left side and at the bottom of Clutch window).
Offline
n3rd wrote:
I tried both, normal and static version with --foregound switch.
I get this error:
[err] evsignal_init: socketpair: Address family not supported by protocol
This error does not look good. Looks like it still needs unix domain sockets. Maybe insmod unix.o will help. You can get unix.o from http://dns323.kood.org/downloads/untest … 00.tar.bz2
Offline
sala wrote:
This error does not look good. Looks like it still needs unix domain sockets. Maybe insmod unix.o will help.
It seems to help, the ouput now changes to
Transmission 1.32 (6455) started
"erving the web interface files from "/mnt/HD_a2/transmission/web
transmission-daemon: requiring authentication
Port Forwarding: Opened port 51413 to listen for incoming peer connections
When i go to the webui (http://ch3wnas:8080/transmission/web) it outputs:
Error: 404
I double checked the web path.
Offline
n3rd wrote:
sala wrote:
This error does not look good. Looks like it still needs unix domain sockets. Maybe insmod unix.o will help.
It seems to help, the ouput now changes to
Transmission 1.32 (6455) started
"erving the web interface files from "/mnt/HD_a2/transmission/web
transmission-daemon: requiring authentication
Port Forwarding: Opened port 51413 to listen for incoming peer connectionsWhen i go to the webui (http://ch3wnas:8080/transmission/web) it outputs:
Error: 404
I double checked the web path.
Make sure you have web files in /mnt/HD_a2/transmission/web directory.
Offline
Shame on me!
I used windows to make the start file so the return characters where the problem.
Now the webui works fine, but when i upload a file, a "Torrent is corrupt" message appears in the console.
I tried with torrents from several different locations.
Offline
n3rd wrote:
Shame on me!
Now the webui works fine, but when i upload a file, a "Torrent is corrupt" message appears in the console.
Static and striped version of daemon will give same error?
From source, these errors are from metainfo.c
if( !inf->fileCount || !inf->totalSize ) { tr_nerr( inf->name, _( "Torrent is corrupt" ) ); /* the content is missing! */ goto fail; } /* TODO add more tests so we don't crash on weird files */ if( (uint64_t) inf->pieceCount != ( inf->totalSize + inf->pieceSize - 1 ) / inf->pieceSize ) { tr_nerr( inf->name, _( "Torrent is corrupt" ) ); /* size of hashes and files don't match */ goto fail; }
Offline
tried both of versions, both start ok, but can't upload torrent files..i gave all the related directories permission 777, but it can not fix the issue.
Last edited by raccoon8888 (2008-08-19 22:08:21)
Offline
I'm afraid that this might make me look stupid, but is this supposed to work in "ordinary enviroment" or only in chrooted enviroment (or perhaps both)? I have not taken the leap over to Gentoo yet, I haven't had any good enough reason before... (and I am completely new to Linux in general and chroots in particular).
I have installed Busybox (with working Telnet), USB-Printserver and Mediatomb without any larger problems, so I don't think that it will be impossible for me though...
Thanks
Offline
procke wrote:
is this supposed to work in "ordinary enviroment" or only in chrooted enviroment (or perhaps both)?
chrooting is not needed.
Offline
Is there anyone that has gotten this to work properly without "Torrent is corrupt"-message when trying to download with transmissioncli?
Offline
Ill try to recompile soon, but someone else might also try. I think I had some problems with openssl and this might cause this problem.
Offline
sala wrote:
Ill try to recompile soon, but someone else might also try. I think I had some problems with openssl and this might cause this problem.
I tried, but I end up with an error when running make on transmission-1.33 :
/home/ubuntu/Desktop/powerpc-uclibc-toolchain/toolchain_powerpc/lib/gcc-lib/powerpc-linux-uclibc/3.3.3/../../../../powerpc-linux-uclibc/bin/ld: cannot open /home/ubuntu/Desktop/cross/curl/build/7.18.2/opt/lib: File format not recognized
collect2: ld returned 1 exit status
make[2]: *** [blocklist-test] Error 1
Offline