DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1651 2011-03-14 00:20:45

bitme30
Member
Registered: 2009-02-04
Posts: 8

Re: [REL] Transmission 1.3

bitme30 wrote:

FunFiler wrote:

bitme30 wrote:

Thanks for the uploads FunFiler, but why do i get this error on all files?

root@blackbox:/mnt/HD_a2/Transmission# funpkg -i Transmission-2.22-1.tgz
tar: invalid gzip magic
FATAL: Transmission-2.22-1.tgz: Failed to unpack package

Thanks in advance

I don't know. I can download from these links and the files open fine for me. These are copies of the archives that KyleK provided without any modification.

Found old Transmission-2.13-1.tgz, and that installed fine.
But now ofcourse i removed curl, so transmission won't start.

Anyone can confirm the FunFiler files doesn't work?*

Edit:
*I downloaded curl-7.19.4-1.tgz from  inreto.de and it worked fine.

Need working mirror for Transmission-2.22-1.tgz ! yikes

KyleK source up again and worked fine. Thanks KyleK!

Offline

 

#1652 2011-03-14 21:00:26

Existenz2K
New member
Registered: 2011-03-14
Posts: 1

Re: [REL] Transmission 1.3

Ok, I feel silly here. I have 0 experience with *nix so if I skipped some obvious command along the way, sorry!

I got everything installed fine but am having connection issues as no torrents will connect to any tracker. The web interface works ok so I can obviously reach the box. I also tried the remote-gui which connected fine. I assumed it was some kind of port blocking issue I forwarded TCP and UDP on the port from Transmission but that did not fix it either.I tried the log-error and log-info commands via SSH to see if they had anything but using those commands provided nothing (do they dump the log file somewhere else or will it display in the console if it has anything?). I finally tried -m (for portmapping) just to make sure it was on but no go as well.

One addition: I can connect fine with the same torrents via my PC using uTorrent with just the default settings.

Is there some obvious step I am missing?

Thanks

Last edited by Existenz2K (2011-03-14 21:05:12)

Offline

 

#1653 2011-03-14 21:34:52

eggeh1982
Member
From: UK
Registered: 2011-03-14
Posts: 8
Website

Re: [REL] Transmission 1.3

Existenz2K wrote:

I got everything installed fine but am having connection issues as no torrents will connect to any tracker. The web interface works ok so I can obviously reach the box. I also tried the remote-gui which connected fine. I assumed it was some kind of port blocking issue I forwarded TCP and UDP on the port from Transmission but that did not fix it either.I tried the log-error and log-info commands via SSH to see if they had anything but using those commands provided nothing (do they dump the log file somewhere else or will it display in the console if it has anything?). I finally tried -m (for portmapping) just to make sure it was on but no go as well.

Is there some obvious step I am missing?

Thanks

Im getting the same problem

Any ideas?

Thanks

Also

Offline

 

#1654 2011-03-17 20:56:36

eggeh1982
Member
From: UK
Registered: 2011-03-14
Posts: 8
Website

Re: [REL] Transmission 1.3

eggeh1982 wrote:

Existenz2K wrote:

I got everything installed fine but am having connection issues as no torrents will connect to any tracker. The web interface works ok so I can obviously reach the box. I also tried the remote-gui which connected fine. I assumed it was some kind of port blocking issue I forwarded TCP and UDP on the port from Transmission but that did not fix it either.I tried the log-error and log-info commands via SSH to see if they had anything but using those commands provided nothing (do they dump the log file somewhere else or will it display in the console if it has anything?). I finally tried -m (for portmapping) just to make sure it was on but no go as well.

Is there some obvious step I am missing?

Thanks

Im getting the same problem

Any ideas?

Thanks

Also

Fixed it, set a manual ip address fixed it for some reason the routing table had messed its self

Offline

 

#1655 2011-03-21 05:52:59

blizzak
Member
Registered: 2008-11-17
Posts: 11

Re: [REL] Transmission 1.3

Hey all,

Couple of things.  I had transmission installed before and it was a bit unstable, but I'm hoping it'll be better this time around.  I'm redoing the config on my DNS-323 - formatted the drives, fresh installed ffp and just in the process of installing transmission 2.22.  But a couple of questions come to mind:

1.  Where does Transmission store torrent files that are added?  I'm not talking about the download directly specified with --download-dir, that's where the DATA goes.  When I add a .torrent file over the web interface I want the .torrent file itself to go into a directory.  As far as I can tell, last time I had Transmission installed on the DNS-323 the files didn't go anywhere, at least anywhere I can find.  This means I have a bunch of data I want to verify and seed but no .torrent files to actually send into transmission...have to go and refind them.  So where are they stored?  Are they stored anywhere?  I can't find anything using --help that tells where they're stored...

2.  What's the deal with the config directory?  In Kyle's first post, it's still the same as always at /mnt/HD_a2/.transmission-daemon but in a recent post (http://dns323.kood.org/forum/viewtopic. … 840#p40840) he said it's now at /ffp/var/transmission.  I certainly like that idea better, but not sure how to proceed with this initial configuration.  Probably just going to specify the /ffp/var/transmission after -g for the initial config.

If anyone's creeping on this thread and can give me an immediate response, that'd be cool, but what's likely gonna happen is I am going to install with the settings I feel will work best and just report back with how it all worked.  Just hoping I can get these settings right.

Offline

 

#1656 2011-03-21 06:59:01

blizzak
Member
Registered: 2008-11-17
Posts: 11

Re: [REL] Transmission 1.3

Okay, I figured it out.  The torrent files are stored in the config folder in a folder called "torrents", so it seems you're not able to change this folder location.  Good to know for the future anyways; I lost the folder before from not knowing where it is and now I have to redownload all of those torrent files to reseed the data I have.  Not too big of a deal though, and at least I can preserve it for the future.

As for the config directory, it's not changed in the release of Transmission 2.22 by Kyle.  But I liked that idea so much (since I hate dirtying the root of my Volume_1 with so many folders) that I decided to modify the config folder to point to /mnt/HD_a2/ffp/var/transmission.  Of course, you have to modify the transmission.sh file as well and also chown the /var folder.  Here's my install directions to myself for future reference, but if anyone else is interested, check it out:

--
1. Put curl-7.18.1.tgz and the transmission file in Volume_1 (or whatever folder you want)
2. Do the following:     funpkg -i curl-7.18.1.tgz
                 funpkg -i Transmission....tgz
3. execute the following so that the configuration files can be stored in the ffp folders:
            chown -R nobody /mnt/HD_a2/ffp/var
4. execute the following:
    su nobody -c "transmission-daemon -f -g /mnt/HD_a2/ffp/var/transmission -c /mnt/HD_a2/download/torrentwatchdir --no-incomplete-dir -w /mnt/HD_a2/download/torrentdata -t -u user -v pass -a 127.0.0.1,192.168.*.* -O -Y -ep"
5. edit the settings.json file at /mnt/HD_a2/ffp/var/transmission (using vi) so that the "rpc-whitelist-enabled" line is "false" and so that the "preallocation" line is "2". (for vi, press i, navigate to line, backspace delete, write, press esc, then type :wq (return))
6. edit the /mnt/HD_a2/ffp/start/transmission.sh file so that the "TRANSMISSION_HOME=" line points to /mnt/HD_a2/ffp/var/transmission.  Use vi similar to above directions.
7. execute /ffp/start/transmission.sh start to start the daemon.  The daemon should also automatically start upon boot of the DNS-323.

The url to the web interface is http://dns-323:9091/
--

I put a bunch of settings that are useful to me in there.  As mentioned before, the config files are in the /ffp/var folder, I have a watch directory, no incomplete directory, no DHT, no LPD, and encryption preferred.  I also disabled the whitelist and setup preallocation cause I was having heavy fragmentation before (Kyle says it can be pretty tough on the CPU since it has to allocate all files and fill with zeroes, but we'll see how it goes).

Hope this helps someone else out.

Offline

 

#1657 2011-03-22 17:19:45

ckarv
Member
Registered: 2011-02-07
Posts: 13

Re: [REL] Transmission 1.3

I tried search the forum to no avail, so I'll just ask you guys straight up:

I'm using Transmission-daemon on my DNS-320, running on fun_plug and what I'd like to do, is sort my downloads into different folders depending on:

1. The tracker
or
2. The name (using expressions) - eg. a predefined list of tv-shows into a TV-shows folder.

Is this possible with Transmission-daemon, do I need some plugin, and if so, is there such a plugin?

Regards,
Christoffer

Edit: Alright, found the answer here: http://dns323.kood.org/forum/viewtopic. … 902#p35902

Thanks for listening ;P

Last edited by ckarv (2011-03-22 17:39:40)

Offline

 

#1658 2011-03-23 08:07:56

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Transmission 1.3

Gah!

Sorry guys for not answering your questions. Sometimes the forum doesn't send "new post" emails even when there are new posts.
Glad you found your solutions anyway smile

blizzak: I do prefer the config folder to be at /ffp/var/transmission as well, but it's a major change for most people who are updating (especially with the chown'ing and stuff), so I decided to leave it as is. One can always change the path later on.

Offline

 

#1659 2011-03-25 08:20:29

artemhb
New member
Registered: 2011-03-25
Posts: 2

Re: [REL] Transmission 1.3

Hello, help me, please. After installing lighttpd and php transmission stopped working.

Offline

 

#1660 2011-03-25 11:20:09

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Transmission 1.3

That's not much information to go on.
How does it not work anymore?

Is Transmission still running? (Check on the console via 'top' or 'ps -ef | grep trans').

If lighttpd is configured to use the same port as Transmission for the web interface, (e.g. 80), one will block the other.
you have to use different ports.

Other than that, I don't see how one app could influence the other.

Offline

 

#1661 2011-03-25 18:24:21

artemhb
New member
Registered: 2011-03-25
Posts: 2

Re: [REL] Transmission 1.3

ps -ef | grep trans
4194 nobody   /ffp/bin/transmission-daemon -f -v 2
4196 nobody   /ffp/bin/transmission-daemon -f -v 2
4197 nobody   /ffp/bin/transmission-daemon -f -v 2

Offline

 

#1662 2011-03-25 19:59:32

contractcooker
New member
Registered: 2011-03-25
Posts: 3

Re: [REL] Transmission 1.3

Hello, I am having problems at the configuration stage. I admit that I am mainly copying/pasting the commands without much understanding about what is going on in the background. However, I have transmission working on another dns-321 at my aunt's house so it worked at one point.

I've been using this thread in addition to http://www.shadowandy.net/2009/01/trans … ns-323.htm

What I want to accomplish is access to the transmission web interface for all computers on the local network 192.168.1.* I don't need a username or password. I'm sorry for the noob question. I would really appreciate any help.

Offline

 

#1663 2011-03-26 02:28:23

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

contractcooker wrote:

What I want to accomplish is access to the transmission web interface for all computers on the local network 192.168.1.* I don't need a username or password. I'm sorry for the noob question. I would really appreciate any help.

Check post #1 in this thread. The exact command you need to add 192.168.1.* to the whitelist is listed there.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#1664 2011-03-26 03:54:05

contractcooker
New member
Registered: 2011-03-25
Posts: 3

Re: [REL] Transmission 1.3

FunFiler wrote:

contractcooker wrote:

What I want to accomplish is access to the transmission web interface for all computers on the local network 192.168.1.* I don't need a username or password. I'm sorry for the noob question. I would really appreciate any help.

Check post #1 in this thread. The exact command you need to add 192.168.1.* to the whitelist is listed there.

Thank you for the response. I've already tried what it says in the first post.

When I input:

su nobody -c "transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon -w /mnt/HD_a2/Downloads -t
-a 127.0.0.1,192.168.*.*"

This is returned:

transmission-daemon: can't load library 'libcurl.so.4'

Offline

 

#1665 2011-03-26 16:25:06

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

Also in the first post, you will find a link to install curl smile

If you're installing Transmission for the first time
Make sure you have the following packages installed before installing Transmission:
- curl-7.18.1.tgz

It pays to follow the directions.

Last edited by FunFiler (2011-03-26 16:26:45)


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#1666 2011-03-26 17:10:59

contractcooker
New member
Registered: 2011-03-25
Posts: 3

Re: [REL] Transmission 1.3

FunFiler wrote:

Also in the first post, you will find a link to install curl smile

If you're installing Transmission for the first time
Make sure you have the following packages installed before installing Transmission:
- curl-7.18.1.tgz

It pays to follow the directions.

I feel like such an idiot. I was SURE I had done that already. smile thank you for your help and sorry to clutter the thread with nonsense.

Now I have another problem. I'm getting to the web interface but it's asking me for a username and password.... I never set one up.

This is the command I used. I'm guessing I need to remove -a or -t?? Basically how do I remove/add a username and password.

su nobody -c "transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon -w /mnt/HD_a2/Downloads -t
-a 127.0.0.1,192.168.*.*"

Offline

 

#1667 2011-03-26 22:39:27

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

Since you don't need to set the whitelist any more, you can just go to the /ffp/start directory and issue the commands:

./transmission.sh start
and
./transmission.sh stop

to start and stop transmission.

Check your settings.json configuration file to ensure that a password is not set.
If you want to see what all the switches do, you can type:

transmission-daemon --help|more

Take a close look at "-t" and "-T" smile

Last edited by FunFiler (2011-03-26 22:43:07)


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#1668 2011-03-30 09:11:16

todo1
New member
Registered: 2011-02-22
Posts: 2

Re: [REL] Transmission 1.3

2.22 crashes every 2-3 hours, so I'm stuck with 2.13. Anyone else with same problem?

Offline

 

#1669 2011-04-09 13:44:31

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Transmission 1.3

Is there a reason mentioned in the Transmission log for why it crashes? (/mnt/HD_a2/.transmission-daemon/transmission-daemon.log)
If not, you may need to run Transmission in foreground mode so as to actually see a potential error message:

Code:

$ transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon --log-debug

Since you mention it takes a while to crash, I suggest running it from within a screen, so you can close the console & leave the computer.

Offline

 

#1670 2011-04-10 20:11:48

sonci
Member
Registered: 2009-06-21
Posts: 18

Re: [REL] Transmission 1.3

Hi Kylek,

I tried several times installing Tranmission on my DNS323, I followed shadowandy(http://www.shadowandy.net/2009/01/trans … ns-323.htm) guide
it works ok, but after restarting NAS,
I can`t add any torrent, I got the error Error: Permission denied (/home/nobody/Downloads, also Transmission doesnt start automatically,
but unless I restart it works like a charm, way better than the default application,
I tried the latest version of transmission not the 1.42 which is in the guide,

Since your guide is a bit for advanced users, could you post a dummies one, like the Andy`s, I`m new to Linux, and it seems a bit complicated..

Thanks,

Offline

 

#1671 2011-04-11 00:18:42

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

Did you follow the directions in post #1? There really isn't much to installing. Sounds like a permission or mask issue to me.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#1672 2011-04-11 15:05:18

sonci
Member
Registered: 2009-06-21
Posts: 18

Re: [REL] Transmission 1.3

FunFiler wrote:

Did you follow the directions in post #1? There really isn't much to installing. Sounds like a permission or mask issue to me.

Yes, I`ll try that, just dont want to brick my DNS,
It seems that after restart its forgeting the download directory, even if I  change it inside Transmission seting error persists,
since I want to fresh install, is there a way to uninstall previous, without formating hard drive?

Last edited by sonci (2011-04-11 15:08:02)

Offline

 

#1673 2011-04-11 17:04:53

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

If you installed it with funpkg, then you can uninstall with the same tool or worst case delete the directory.

You can only edit the settings.json file while transmission is SHUT DOWN or the changes will be lost.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#1674 2011-04-11 18:20:20

sonci
Member
Registered: 2009-06-21
Posts: 18

Re: [REL] Transmission 1.3

FunFiler wrote:

If you installed it with funpkg, then you can uninstall with the same tool or worst case delete the directory.

You can only edit the settings.json file while transmission is SHUT DOWN or the changes will be lost.

I edited .json file, after shuting down Transmission, setting the download directory to where it was, now everything works again,
THANKS!!

How`s possible that download directory changes magically, after NAS restart??

Offline

 

#1675 2011-04-11 18:53:48

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

If there was another transmission process running then the settings file would have been rewritten.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB