Asus RT-N13U B1 - DD-wrt thread

ftp://www.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2013/12-12-2013-r23082/asus-rtn13ub1/
The latest r23082 is released on this router . Still don't know if it officially supports SWAP or not. Previous one didn't maybe its fixed in this.


Code:
--- /dev/sda3 
Block device, size 31.38 MiB (32901120 bytes) 
Linux swap, version 2, subversion 1, 4 KiB pages, little-endian 
Swap size 31.37 MiB (32890880 bytes, 8030 pages of 4 KiB) 
/dev/sda3 mounted to swap
Code:
root@DD-WRT:~# free
  total  used  free  shared  buffers
Mem:  61908  57772  4136  0  960
-/+ buffers:  56812  5096
Swap:  0  0  0
its not working for me , with latest build swapon command is missing also
 
Code:
--- /dev/sda3
Block device, size 31.38 MiB (32901120 bytes)
Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
Swap size 31.37 MiB (32890880 bytes, 8030 pages of 4 KiB)
/dev/sda3 mounted to swap
Code:
root@DD-WRT:~# free
  total  used  free  shared  buffers
Mem:  61908  57772  4136  0  960
-/+ buffers:  56812  5096
Swap:  0  0  0
its not working for me , with latest build swapon command is missing also
Well its included in busybox ... swapon...
 
hello guys,

i have been using dd-wrt on asus rt-13nub1 for as long as this topic has started. been i guess 2 years or so , anyhow , i am currently on build 19519 (v24-sp2 (07/20/12) std).
Its the only stable one that works the best for me. I tried many other newer builds, even the latest december build but there is problem with transmission being not running stable or crashing a lot. Are you guys using any of newer build ? if yes what mount setting ? (tho there are none needed in newer build i suppose)
 
hello guys,

i have been using dd-wrt on asus rt-13nub1 for as long as this topic has started. been i guess 2 years or so , anyhow , i am currently on build 19519 (v24-sp2 (07/20/12) std).
Its the only stable one that works the best for me. I tried many other newer builds, even the latest december build but there is problem with transmission being not running stable or crashing a lot. Are you guys using any of newer build ? if yes what mount setting ? (tho there are none needed in newer build i suppose)
Using DD-WRT v24-sp2 (12/12/13) std
(SVN revision 23082) Build Stable No Router Transmission crash , also pyload working ok
DDWRT.png
 
Using DD-WRT v24-sp2 (12/12/13) std
(SVN revision 23082) Build Stable No Router Transmission crash , also pyload working ok
View attachment 30349
thanks i'll try. But can you tell me if whats the use of firewall script ? i never used it & all works fine, just asking so i could know what effect it has !!
Plus swap works in latest ? if yes, that partition size, order needs to be ?
thanks for the help, highly appreciated !!
 
Just for an info, need help.. I did the installation onto a Kingston USB Drive. This process is entirely temporarily, just to see how all this works.

Code:
root@TPLink Router /tmp $ opkg install transmission-web_2.82-1_ar71xx.ipk
Installing transmission-web (2.82-1) to root...
Configuring transmission-web.
root@TPLink Router /tmp $ sleep 10
root@TPLink Router /tmp $ transmission-daemon
Segmentation fault

I encounter this SEGMENTATION FAULT, Does it mean that my USB is faulty?
 
Hey guys, No matter what i do, i can't seem to get 2nd partation to mount as > "/mnt" < on latest build. Even tries the "umount & then mount" method as in the screenshot startup script but no good.
So finally i ditched the 2nd partation all together & only using /opt as primary partation. All works very well, just want to ask if 2nds partition is really necessary ? what are the pros & cons of two vs one partition ?

Also, i added ddns settings using http://freedns.afraid.org but still can't seem to be able to access transmission via internet. Any help with this ?
 
@mechexpert are you using the BrainSlayer build?
Yes the new ones dont mount on /mnt.

The startup script that @RajeshJ has posted of the mount and umount, doesnt work for me, but my second mount point is /tmp/mnt/sda2 which is an ext3 partition, which will be holding the torrent downloads.

You can copy the UUID of the partition1, say your ext2, 1GB space where you will have to install optware and other packages.
In the above example of RajeshJ his UUID 9C32XXXXXXXXX01 which is 500MB into Services> USB> Mount this partion to /opt.
Copy Paste the UUID and Save and Reboot Router it will be mounted.
 
@mechexpert are you using the BrainSlayer build?
Yes the new ones dont mount on /mnt.

The startup script that @RajeshJ has posted of the mount and umount, doesnt work for me, but my second mount point is /tmp/mnt/sda2 which is an ext3 partition, which will be holding the torrent downloads.

You can copy the UUID of the partition1, say your ext2, 1GB space where you will have to install optware and other packages.
In the above example of RajeshJ his UUID 9C32XXXXXXXXX01 which is 500MB into Services> USB> Mount this partion to /opt.
Copy Paste the UUID and Save and Reboot Router it will be mounted.
Yes i always use official brainslayer's builds only.
I can get /opt mounted no problem, & i am using this only method of UUID at /opt, but what i am asking is that, what is the primary advantage of using a 2nd partation of /mnt ot /tmp/mnt ?
All seems to work just fine on /opt partition only.[DOUBLEPOST=1387697141][/DOUBLEPOST]As per DD-WRT's recommendation, device with 64+ mb ram need not have any swap partition & as our device has 64, why need a swap partition at all ? will it really benefit from it ? if yes why DD's don't recommend it ?
Also swap "kills" flash devices faster, so .. again ... why swap ?
vagjTVU.jpg

3 Torrents running + 2 Tabs running in firefox & updating apps in paystore, still has a the above available free memory. so ... really whats the use of swap ??
U0Ou5mS.jpg
 
Last edited:
i really dont know about the swap and 64MB limitation

/opt
The main feature of this package is that it installs all required files under /opt with 1000 ported applications. With buildroot toolchain, system library independence is also added. This means that packages now depend on /opt/lib/uClibc.so and dynamic loader also in /opt/lib with separate /opt/etc/ld-opt.so.conf for custom .so cache. Applications are built with wchar and locale support which makes uClibc library somewhat greater than other uClibc packages, but still far smaller than glibc based applications.
 
o_O:eek::bored::cyclops::wideyed::wideyed::wideyed: i know what /opt partition is for, i was just asking what are the pros & cons of using another dedicated /mnt partition, anyways thanks for the help & your time ...

:confused:
 
newer builds mounts /mnt/sda# like this path... just simply do a
Code:
mount
and for checking swap use
Code:
free
. Yes swap is required sometimes if you dont reboot router for long periods but yes there is no hard and fast rule to it. And to free RAM use this code
Code:
sync; echo 3 > /proc/sys/vm/drop_caches
.
using one partition has a few problems like you cant format optware and it might be necessary at times when upgrading dd-wrt or changing firmware. And the torrent states are kept other data is kept in mnt if its configured the tutorial way. Basically same as having a separate OS partition.Hope this clears all your doubts.
 
I'm novice for DD-WRT. I'm using build 19342. It works well for 2 days but now it giving problem "Error :unable to save resume file: input/output error". I'm using usb drive in EXT3 format. Plz help to rectify the problem
 
I am unable to get my router in rescue mode. Is there any way i can reset it to factory settings??
try TFTP mode .
I'm novice for DD-WRT. I'm using build 19342. It works well for 2 days but now it giving problem "Error :unable to save resume file: input/output error". I'm using usb drive in EXT3 format. Plz help to rectify the problem
run mount and print the output here.
 
try TFTP mode .

run mount and print the output here.
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
ramfs on /tmp type ramfs (rw,relatime)
none on /dev type tmpfs (rw,relatime,size=512k)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
devpts on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda1 on /opt type ext2 (rw,relatime,errors=continue)
 
I flashed DD-WRT on the router.working fine.
Before i begin optware installation, I have a doubt

I want to connect my USB HDD to the router. I will create a seperate partition on it and install optwares.
But what if I need tocarry my HDD somewhere? will removing the HDD cause any problems with the routers core functionality?

Also can I attach a USB HUB and connect 2 devices? maybe a flash drive which will host all the optwares and usb hdd to store the downloads.
 
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
ramfs on /tmp type ramfs (rw,relatime)
none on /dev type tmpfs (rw,relatime,size=512k)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
devpts on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda1 on /opt type ext2 (rw,relatime,errors=continue)
from what i can say seems like your OPT becomes read only or you are using the wrong initiation command for transmission.
I flashed DD-WRT on the router.working fine.
Before i begin optware installation, I have a doubt

I want to connect my USB HDD to the router. I will create a seperate partition on it and install optwares.
But what if I need tocarry my HDD somewhere? will removing the HDD cause any problems with the routers core functionality?

Also can I attach a USB HUB and connect 2 devices? maybe a flash drive which will host all the optwares and usb hdd to store the downloads.
Nope nothing changes . USB HUB I tried once didnt work but that hub didnt have power source if you have one with power source you can try and report it to us. Technically should work.
 
Back
Top