Asus RT-N13U B1 - DD-wrt thread

Praks

Skilled
Sep 26, 2007
2,067
47
61
I want to thank @nick2012, @Chaoseater for their suggestions and tips but mainly I would like to thank @prasanna3k for configuring optware and transmission, there was a problem after configuring, but he was kind enough take more time out of his schedule to fix it.

I also want to thank @dinjo for writing this guide which is much more intuitive than the the official ddwrt guide :)

Welcome to N13 Download gang :)
 
Last edited by a moderator:

jaleel_sh

Disciple
Nov 2, 2008
142
3
79
Is it possible to anyone create a video(youtube) for all procedures, i had difficult in installing optware, and i am very noob on this.
 

jaleel_sh

Disciple
Nov 2, 2008
142
3
79
Why someone need a video in installing transmission??
I think dinjo done a great job making this guide...
If a noob like me installed successfully anybody can:p
I didn't say dinjo's guide is not useful.
I am also noob in this, I cant able to installing the transmission successfully. I expecting some help, Already prasanna says to help on this through teamviewer.
By the way, i found this on youtube, thats why i posted here. Is there any harm?
 

nick2012

Adept
Jan 12, 2011
503
18
87
29
delhi
Code:
screen -S wget httplink
or use
Code:
nohup wget httplink &
bro not working :(
Code:
root@mtnl:~# screen -S wget http://www.xdaservices.com/Files/Wanamlite/GT-I9300_
WanamLite.ZSEMC1.V6.3.NO-WIPE%20.zip
-sh: screen: not found
root@mtnl:~# nohup wget http://www.xdaservices.com/Files/Wanamlite/GT-I9300_Wana
mLite.ZSEMC1.V6.3.NO-WIPE%20.zip
-sh: nohup: not found
 

nick2012

Adept
Jan 12, 2011
503
18
87
29
delhi
Simple logic

Code:
ipkg install nohup
ipkg install screen
:happy: again thanks
whats this with nohup
Code:
 ipkg install nohup
Nothing to be done
An error ocurred, return value: 4.
Collected errors:
Cannot find package nohup.
Check the spelling or perhaps run 'ipkg update'
 

dinjo

Hell Yeah[Born Critic]
Skilled
Sep 14, 2009
6,341
205
203
Mumbai
Actually i cant understand how nohup is missing from it it should not be but screen should do the job for you.
 

RajeshJ

Disciple
Dec 23, 2012
145
32
41
Code:
mkdir /tmp/etc/config #Create a dir /tmp/etc/config
 
cd ..
 
echo "wget http://home.karneval.cz/10102207/fs.gz -P /tmp/root" >> /tmp/etc/config/fs.wanup #Get the tar file which has fs drivers and store in /tmp/root
 
 
echo "tar -xvzf /tmp/root/fs.gz -C /tmp/root" >> /tmp/etc/config/fs.wanup #Build a shell script by appending to output using >> , command to extract the tar file.
 
 
echo "sh /tmp/root/ext3" >> /tmp/etc/config/fs.wanup #Add ext3 to run it
 
sleep 3
mount /dev/sda3 /mnt
sleep 3
echo "rm /tmp/root/*.ko /tmp/root/fs.gz /tmp/root/ext3" >> /tmp/etc/config/fs.wanup #Clean up the traces
 
chmod +x /tmp/etc/config/fs.wanup # Provide Exec permissions and run the above commands
 
sleep 3
 
chmod 775 data/*
chmod 777 data/*
chmod 777 /mnt/*
chmod 777 /opt/*
chmod 777 /tmp/*
 
 
echo "nobody:*:65000:65000:nobody:/mnt:/bin/false" >> /etc/passwd # Add nobody for samba share
 
 
sleep 3 # Wait for 1 minute
 
 
echo 1 > /sys/class/scsi_disk/0:0:0:0/allow_restart # To avoid HDD spindown
sleep 3
swapon /tmp/mnt/swap/myswap.swp
sleep 3
 
 
#wget http://www.3iii.dk/linux/optware/settings.json -O /mnt/data/torrents/.config/transmission-daemon/settings.json # Get the settings.json from internet just in case local file gets corrupted can you remove this if u dont want
 
/opt/bin/transmission-daemon -g /mnt/data/torrents/.config/transmission-daemon #Start Transmission - Can remove this if you keep S99trans file keep either of them.
 
echo 128 > /sys/block/sda/device/max_sectors
 
 
#pyload start
python /opt/share/pyload/pyLoadCore.py


Sir, this is my startup config [i have slight different partition setup ] ,[Also Using Latest March 2013 firmware][USB-HDD]
[Note- I do know this startup script is not optimized , might cointain unwanted codes like echo 128 > /sys/block/sda/device/max_sectors <--- which i dont know is required for USB-Ext. HDD , and swapon (Used on old firmware, but its disabled in latest Firmware(firmware known issue)]

Trasnsmission is running fine ,

I also installed pyload HTTP/Https /ftp GUI file downloader , But issue is i have to

run this code

python /opt/share/pyload/pyLoadCore.py
manually by connecting router via putty the run the above code

So i think in my startup config , RUN sequence is not reaching Pyload start potion ,

Can you suggest a way to include pyload startup script "python /opt/share/pyload/pyLoadCore.py" in Startup [Currently it is not getting activated

Thankyou
 

nick2012

Adept
Jan 12, 2011
503
18
87
29
delhi
Code:
mkdir /tmp/etc/config #Create a dir /tmp/etc/config
 
cd ..
 
echo "wget http://home.karneval.cz/10102207/fs.gz -P /tmp/root" >> /tmp/etc/config/fs.wanup #Get the tar file which has fs drivers and store in /tmp/root
 
 
echo "tar -xvzf /tmp/root/fs.gz -C /tmp/root" >> /tmp/etc/config/fs.wanup #Build a shell script by appending to output using >> , command to extract the tar file.
 
 
echo "sh /tmp/root/ext3" >> /tmp/etc/config/fs.wanup #Add ext3 to run it
 
sleep 3
mount /dev/sda3 /mnt
sleep 3
echo "rm /tmp/root/*.ko /tmp/root/fs.gz /tmp/root/ext3" >> /tmp/etc/config/fs.wanup #Clean up the traces
 
chmod +x /tmp/etc/config/fs.wanup # Provide Exec permissions and run the above commands
 
sleep 3
 
chmod 775 data/*
chmod 777 data/*
chmod 777 /mnt/*
chmod 777 /opt/*
chmod 777 /tmp/*
 
 
echo "nobody:*:65000:65000:nobody:/mnt:/bin/false" >> /etc/passwd # Add nobody for samba share
 
 
sleep 3 # Wait for 1 minute
 
 
echo 1 > /sys/class/scsi_disk/0:0:0:0/allow_restart # To avoid HDD spindown
sleep 3
swapon /tmp/mnt/swap/myswap.swp
sleep 3
 
 
#wget http://www.3iii.dk/linux/optware/settings.json -O /mnt/data/torrents/.config/transmission-daemon/settings.json # Get the settings.json from internet just in case local file gets corrupted can you remove this if u dont want
 
/opt/bin/transmission-daemon -g /mnt/data/torrents/.config/transmission-daemon #Start Transmission - Can remove this if you keep S99trans file keep either of them.
 
echo 128 > /sys/block/sda/device/max_sectors
 
 
#pyload start
python /opt/share/pyload/pyLoadCore.py


Sir, this is my startup config [i have slight different partition setup ] ,[Also Using Latest March 2013 firmware][USB-HDD]
[Note- I do know this startup script is not optimized , might cointain unwanted codes like echo 128 > /sys/block/sda/device/max_sectors <--- which i dont know is required for USB-Ext. HDD , and swapon (Used on old firmware, but its disabled in latest Firmware(firmware known issue)]

Trasnsmission is running fine ,

I also installed pyload HTTP/Https /ftp GUI file downloader , But issue is i have to

run this code

manually by connecting router via putty the run the above code

So i think in my startup config , RUN sequence is not reaching Pyload start potion ,

Can you suggest a way to include pyload startup script "python /opt/share/pyload/pyLoadCore.py" in Startup [Currently it is not getting activated

Thankyou
Do u able to run swap??
 

jaleel_sh

Disciple
Nov 2, 2008
142
3
79
noob question, torrents are completed, how can we view /mnt/data/torrents?, because gui shows "Unable to find path mapping".
How to use program options to setup path mappings?
 

RajeshJ

Disciple
Dec 23, 2012
145
32
41
noob question, torrents are completed, how can we view /mnt/data/torrents?, because gui shows "Unable to find path mapping".
How to use program options to setup path mappings?

Check the Image Upload , config your DD-WRT like that , Then Download Filezilla software

>install it > when it ask for IP address , enter 192.168.1.1 [IP of ur ASUS ROUTER]
Username: User
Password : 1234 <-------- I shown in Image , if you want to change password , edit it in dd-wrt gui as shown in image


=======================================


ftp://www.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2012/

I didnt note exactly on which build swap was working , but i think its one of the following build

06-06-12-r19327 06-06-2012 00:00:00
06-08-12-r19342 08-06-2012 00:00:00


Any1 way even with Latest version + Transmission + pyLoad http/ftp/ Web GUI downloader , still i have ~ 5MB ram remaning , May be because i limited max active Transmission torrent Upload and download , My Active Download is 1 Torrent at a time and Upload is 2
 

Attachments

  • Untitled.png
    Untitled.png
    30.1 KB · Views: 170