Joined: 03 Mar 2012 Posts: 18 Location: Kolozsvar, Transilvania
Posted: Sat Mar 03, 2012 9:30 Post subject: HOWTO: torrents with TL-WR1043ND dd-wrt (build 23204+)
EDIT: update for build 23204
Prerequisites
An usb hdd partitioned:
/dev/sda1 – ext3 (to share the data)
/dev/sda2 – linux swap (128MB - not used)
/dev/sda3 – ext3 (~1Gb for optware packages)
Note:there is no support for linux swap in the 23204 build, but it's not really needed. It's there only if it will be in the future.
Putty.
SSH enabled on router (from webinterface).
Howto:
Usb settings on Services/USB dd-wrt webinterface:
- all enable
- disk mount point /opt
Samba share settings Services/NAS dd-wrt webinterface:
Enable access for the data partition over network for: /tmp/sda_part1
This should not give the segmentation fault error caused by incompatibilities in the libraries. It will create default config files, wee need this to be edited. Reboot now.
If everything goes well, you will be able to edit the transmission config in putty with: (127.0.0.1 change to 192.168.*.* and set download folder to /tmp/mnt/sda1/torrent. Make sure to set "cache-size-mb": 1 if you only have the default 32Mb RAM )
Thanks for everyone from other posts. Reading those helped me figure these out in a few hours. Hope this will help someone as well. _________________ Hacking, cracking and patching firmwares since 1992.
------------------------------
la fonera 2100 pre2007 - dd-wrt v24sp2build18000
tl-wr1043nd hw1.8- dd-wrt v24sp2build23204
t-com adsl - bitswitcher 0.3.9
Last edited by anti77 on Sat Jan 04, 2014 16:03; edited 7 times in total
Joined: 03 Mar 2012 Posts: 18 Location: Kolozsvar, Transilvania
Posted: Sat Mar 03, 2012 12:52 Post subject:
Transmission-daemon seems to keep crashing and close in a few hours, depending on load.
You can use CRON task to check if it's running, and start it again just in case. _________________ Hacking, cracking and patching firmwares since 1992.
------------------------------
la fonera 2100 pre2007 - dd-wrt v24sp2build18000
tl-wr1043nd hw1.8- dd-wrt v24sp2build23204
t-com adsl - bitswitcher 0.3.9
Joined: 03 Mar 2012 Posts: 18 Location: Kolozsvar, Transilvania
Posted: Mon Mar 05, 2012 8:49 Post subject:
todmod wrote:
Hi I will be a 4gb ext3 flash drive usable?And can I miss the WinSCP part and use wget from a local http server?
yes and yes (don't forget to also untar them).
todmod wrote:
OTher question.THe files from the rar file have extenesion .0 and .1 and the last file has extension .so.Shouldn't all be with .so extension?
no
Anyway after reboot this /jffs/ is emptied. These libraries are needed only during install. _________________ Hacking, cracking and patching firmwares since 1992.
------------------------------
la fonera 2100 pre2007 - dd-wrt v24sp2build18000
tl-wr1043nd hw1.8- dd-wrt v24sp2build23204
t-com adsl - bitswitcher 0.3.9
Joined: 03 Mar 2012 Posts: 18 Location: Kolozsvar, Transilvania
Posted: Fri Mar 09, 2012 15:27 Post subject:
Found out the crashes were occuring because there is not enough memory. A quick fix was to set:
Code:
"cache-size-mb": 1,
in the settings.json.
This was updated in the main post as well. _________________ Hacking, cracking and patching firmwares since 1992.
------------------------------
la fonera 2100 pre2007 - dd-wrt v24sp2build18000
tl-wr1043nd hw1.8- dd-wrt v24sp2build23204
t-com adsl - bitswitcher 0.3.9
Can you explain it a little bit easier?How can I write in the config file?And what should i do.When i do the OPKG update it shows error with opkg_conf or something.I need noobish explanation.
Joined: 03 Mar 2012 Posts: 18 Location: Kolozsvar, Transilvania
Posted: Sat Mar 10, 2012 16:05 Post subject:
There is no easier way than this.
You mentioned a single ext3 partition. If you followed step by step the tutorial, then probably you don't even have the /opt folder mounted as you don't have an sda3 partition. Share the entire parition (sda1) and check it's content on a networked computer... _________________ Hacking, cracking and patching firmwares since 1992.
------------------------------
la fonera 2100 pre2007 - dd-wrt v24sp2build18000
tl-wr1043nd hw1.8- dd-wrt v24sp2build23204
t-com adsl - bitswitcher 0.3.9
Last edited by anti77 on Sun Mar 11, 2012 6:44; edited 1 time in total
Actually I partitioned the disk as u said.And when i run OPKG_update it says it doesn't have conf file or sth.Just try to install optware again as you say in the guide and ull see its not working properly.
You can compare what differences you have in both library locations. _________________ Hacking, cracking and patching firmwares since 1992.
------------------------------
la fonera 2100 pre2007 - dd-wrt v24sp2build18000
tl-wr1043nd hw1.8- dd-wrt v24sp2build23204
t-com adsl - bitswitcher 0.3.9
Hi when i try to do;cp /lib /opt/lib/libnvram.so I GET a messege ommiting dictory.I tried to cpy with WINSCP but theere i got a messege that its a read only filesystem,
Joined: 03 Mar 2012 Posts: 18 Location: Kolozsvar, Transilvania
Posted: Thu Mar 15, 2012 17:16 Post subject:
that's my bad indeed, the code should be
Code:
cp /lib/libnvram.so /opt/lib/
We want to use the lib folder on the new ext3 partition instead of the readonly from the dd-wrt image... _________________ Hacking, cracking and patching firmwares since 1992.
------------------------------
la fonera 2100 pre2007 - dd-wrt v24sp2build18000
tl-wr1043nd hw1.8- dd-wrt v24sp2build23204
t-com adsl - bitswitcher 0.3.9
Users: to tell Transmission where to look, set the TRANSMISSION_WEB_HOME environment variable to the folder where the web interface's index.html is located.
Package Builders: to set a custom default at compile time, #define PACKAGE_DATA_DIR in libtransmission/platform.c or tweak tr_getClutchDir() by hand.
Router's gui isnt working too.Router gui works only without flash drive plugged.