Posted: Sun Apr 15, 2012 17:48 Post subject: Need help with Asus RT-N13U and optware : WILL PAY
Hello,
My objective is to be able to run bittorrent client on my new router and have made some good progress in this respect but I need some pointers in the final steps.
After going through several articles, wikis, and forum messages, here is what I have done so far:
1. Flashed my new Asus router to DD-WRT (Firmware: DD-WRT v24-sp2 (03/19/12) std ), that is made available by amitg0123
2. I have formatted a 16 GB usb drive using gparted and create 3 partitions on it - optware (ext3), linux-swap, and data (ext3).
3. Enabled USB from DD-WRT administration.
4. After plugging in the USB in the router, when I go to the USB tab, I see the following output
Quote:
--- /dev/sda
Block device, size 14.94 GiB (16037969920 bytes)
DOS/MBR partition map
Partition 1: 1 GiB (1073741824 bytes, 2097152 sectors from 2048)
Type 0x83 (Linux)
Ext3 file system
Volume name "optware"
UUID 41A1A89F-E3B1-4BAB-AD71-E2E72AC94A25 (DCE, v4)
Volume size 1 GiB (1073741824 bytes, 262144 blocks of 4 KiB)
Partition 2: 64 MiB (67108864 bytes, 131072 sectors from 2099200)
Type 0x82 (Linux swap / Solaris)
Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
Swap size 63.99 MiB (67100672 bytes, 16382 pages of 4 KiB)
Partition 3: 13.87 GiB (14896070656 bytes, 29093888 sectors from 2230272)
Type 0x83 (Linux)
Ext3 file system
Volume name "data"
UUID F6B4D002-E38B-46E1-BA8D-BC180A36F417 (DCE, v4)
Volume size 13.87 GiB (14896070656 bytes, 3636736 blocks of 4 KiB)
Status: Mounted on /mnt
So it seems, it did pick up the usb. Though I don't know what is the state. When I telnet into the router, I all I see is a directory: /tmp/mnt/sda_part1
I am not sure what that means?
So, at this point, I am stuck. How do I access the three partitions? I have tried going through several messages and articles (such as http://www.dd-wrt.com/wiki/index.php/Optware ) but I don't know what to do next.
Could someone please give me some pointers as to what should be my next step?
I will sincerely appreciate any help.
thank you for reading,
Paul
Last edited by a_paul1 on Sun Apr 22, 2012 22:42; edited 1 time in total
I'm no expert on Linux filesystems but from a telnet session you should be able to type "cd .." which will bring you to /tmp/mnt. From there type "ls" to see what exactly is mounted. You could even type "ls" from the /tmp/mnt/sda_part1 to see what is there.
I've never used a USB drive on a DD-WRT router but I have on routers with other Linux-based firmware and the mounted partitions showed up under /tmp/mnt/<volume name>.
I'm no expert on Linux filesystems but from a telnet session you should be able to type "cd .." which will bring you to /tmp/mnt. From there type "ls" to see what exactly is mounted. You could even type "ls" from the /tmp/mnt/sda_part1 to see what is there.
I've never used a USB drive on a DD-WRT router but I have on routers with other Linux-based firmware and the mounted partitions showed up under /tmp/mnt/<volume name>.
Thank you for your response. Here is what I get when I cd to the said dir and do ls:
Code:
root@DD-WRT:~# pwd
/tmp/root
root@DD-WRT:~# cd /tmp/mnt
root@DD-WRT:/tmp/mnt# ls
sda_part1
root@DD-WRT:/tmp/mnt# cd sda_part1
root@DD-WRT:/tmp/mnt/sda_part1# ls
lost+found
root@DD-WRT:/tmp/mnt/sda_part1#
So basically, it doesn't seem to have anything. What I don't understand is what has been mounted? Where are the three partitions that I created mounted? and how do I access them so that I can install stuff?
Change the setting to mount your optware /opt partition first. Then you can mount your data partition with scripts saved on opt partition. Then you can execute scripts to start transmission and download torrent.