Asus RT-N13U B1 - DD-wrt thread

From what I see the first partition should load correctly ie /opt should mount properly . For the second /mnt partition you need to import the ntfs-3g drivers and load it . The guide provided here has 2 ext3 partitions so the startup script is also formatted that way. Read the GUIDE properly mate it was mentioned 2 ext3 partitions and for NTFS you need a different mounting script. If on the newer version of DD-WRT then you wont need to mount the first partition with a script as the router will automatically mount /opt (if configured properly from the webGUI) and you just need to add a startup script to mount the 2nd partition.
Hello Dinjo/Everyone,

I have followed everything on the instructions but, I am stuck on the USB mounting. I am testing the mounting of USB using my 8GB flash drive. 1GB ext3 and 7GB remaining for NTFS were the configuration. Also, on the startup script, I have just copy and paste (removing comments) it and rebooted the router as well. After checking on CLI based configuration of the router via telnet, nothing's changed. Here are the images. Please help.

CLI.JPG

Startup.JPG

USB%20support.JPG

disk.JPG
 
From what I see the first partition should load correctly ie /opt should mount properly . For the second /mnt partition you need to import the ntfs-3g drivers and load it . The guide provided here has 2 ext3 partitions so the startup script is also formatted that way. Read the GUIDE properly mate it was mentioned 2 ext3 partitions and for NTFS you need a different mounting script. If on the newer version of DD-WRT then you wont need to mount the first partition with a script as the router will automatically mount /opt (if configured properly from the webGUI) and you just need to add a startup script to mount the 2nd partition.

yes, exactly. I even tried to create both FS as ext3, but still no luck. for the firmware, i am using the latest release.
 
yes, exactly. I even tried to create both FS as ext3, but still no luck. for the firmware, i am using the latest release.
You are using the latest version which should load /opt directly when configured from the USB services tab under the webGUI , then to mount the second partition you need the respective drivers .
and use mount /dev/sda# according to the filesystem and partition. The old method of mounting from /dev/discs wont work.

---------- Post added at 08:59 PM ---------- Previous post was at 08:58 PM ----------

wow, Is Transmission officially included on N16 ? Hows performance ?

Yeah it was included in the last release .. been quite some time .. cant comment on performance as i dont own one neither does anyone within my contact circle.
 
the latest dd-wrt for RT-N13UB1 was released when?

still on the "latest" version r19327 /mnt mounts on /tmp/mnt so is anyone working on this to straighten it or people out there are just increasing numbers and releases. I am still good with r16994. it serves the purpose.
 
Hi, I need a http downloader like the transmission(for torrents) to download files from file hosts like mediafire etc. Can anyone please suggest me any optware??
 
I formatted my 8gb Pendrive WIth 1gb EXT3 6.5gb with EXT3

I Used The Scipt for start up :

Partition 1 – Mounted on /opt – From 512Mb to 2Gb (I normally use 1Gb) – Formatted with EXT3

Partition 2 – Mounted on /mnt – All the remaining space – Formatted with EXT3

But it Shows

root@DD-WRT:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
ramfs on /tmp type ramfs (rw)
devpts on /dev/pts type devpts (rw)
devpts on /proc/bus/usb type usbfs (rw)


What Is the Mistake i have Don

---------- Post added at 03:02 AM ---------- Previous post was at 02:53 AM ----------

I formatted my 8gb Pendrive WIth 1gb EXT3 6.5gb with EXT3

I Used The Scipt for start up :

Partition 1 – Mounted on /opt – From 512Mb to 2Gb (I normally use 1Gb) – Formatted with EXT3

Partition 2 – Mounted on /mnt – All the remaining space – Formatted with EXT3

But it Shows

root@DD-WRT:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
ramfs on /tmp type ramfs (rw)
devpts on /dev/pts type devpts (rw)
devpts on /proc/bus/usb type usbfs (rw)


What Is the Mistake i have Don

USB Support
Core USB SupportEnable Disable
USB Printer SupportEnable Disable
USB Storage SupportEnable Disable
Automatic Drive MountEnable Disable
Run-on-mount Script Name
Disk Mount Point
Disk Info
--- /dev/discs/disc0/disc
Block device, size 7.471 GiB (8021606400 bytes)
DOS/MBR partition map
Partition 1: 0.996 GiB (1069254144 bytes, 2088387 sectors from 63)
Type 0x83 (Linux)
Ext3 file system
UUID F0F4BD92-78C6-4B1E-7141-E7658C636678 (NCS)
Volume size 0.996 GiB (1069252608 bytes, 261048 blocks of 4 KiB)
Partition 2: 6.473 GiB (6950361600 bytes, 13574925 sectors from 2088450)
Type 0x07 (HPFS/NTFS)
Windows NTLDR boot loader
NTFS file system
Volume size 6.473 GiB (6950361088 bytes, 13574924 sectors)
Status: Not mounted
 
Good Time
My router ASUS RT-N13U B1 V24-preSP2/2012/03-19-12-r18777 software update, I want my router back to factory firmware (ASUS RT-N13U B1 Firmware version 2.0.2.5F) but I can.
Thanks

---------- Post added at 05:57 PM ---------- Previous post was at 05:54 PM ----------

Good Time
My router ASUS RT-N13U B1 V24-preSP2/2012/03-19-12-r18777 software update, I want my router back to factory firmware (ASUS RT-N13U B1 Firmware version 2.0.2.5F) but I can not.
Thanks
but I can not
 
Sir,

i Formated My 8 GB Pendrive into 2 partition wit EXT3

1.And Mounted It Using The Start up Script :

EXT3="YES"; EXT3P="part1"; NTFS="NO"; NTFSP="part2"; FAT="NO"; FATP="part3"; mkdir /tmp/etc/config
echo "wget http://home.karneval.cz/10102207/fs.gz -P /tmp/root" >> /tmp/etc/config/fs.wanup
echo "tar -xvzf /tmp/root/fs.gz -C /tmp/root" >> /tmp/etc/config/fs.wanup
if [ "$EXT3" == "YES" ]; then echo "sh /tmp/root/ext3" >> /tmp/etc/config/fs.wanup; fi
if [ "$NTFS" == "YES" ]; then echo "insmod /tmp/root/fuse.ko" >> /tmp/etc/config/fs.wanup; fi
if [ "$FAT" == "YES" ]; then echo "sh /tmp/root/fat" >> /tmp/etc/config/fs.wanup; fi
echo "mount /dev/discs/disc0/$EXT3P -o noatime,nodiratime /opt" >> /tmp/etc/config/fs.wanup
echo "/opt/bin/ntfs-3g /dev/discs/disc0/$NTFSP /mnt" >> /tmp/etc/config/fs.wanup
echo "mount /dev/discs/disc0/$FATP /jffs" >> /tmp/etc/config/fs.wanup
echo "rm /tmp/root/*.ko /tmp/root/fs.gz /tmp/root/ext3 /tmp/root/fat" >> /tmp/etc/config/fs.wanup
chmod +x /tmp/etc/config/fs.wanup
echo "nobody:*:65000:65000:nobody:/mnt:/bin/false" >> /etc/passwd

Coz using The Script U Provided i am unable to mount i.e the following script :



Partition 1 – Mounted on /opt – From 512Mb to 2Gb (I normally use 1Gb) – Formatted with EXT3

Partition 2 – Mounted on /mnt – All the remaining space – Formatted with EXT3


2.And Under Services->usb got the following :

Disk Mount Point /opt
Disk Info
--- /dev/discs/disc0/disc
Block device, size 7.471 GiB (8021606400 bytes)
DOS/MBR partition map
Partition 1: 933.4 MiB (978776064 bytes, 1911672 sectors from 63)
Type 0x83 (Linux)
Ext3 file system
UUID B870F495-9B79-FB54-1FE6-096C54164F58 (NCS)
Volume size 933.4 MiB (978776064 bytes, 238959 blocks of 4 KiB)
Partition 2: 6.557 GiB (7040839680 bytes, 13751640 sectors from 1911735)
Type 0x0F (Win95 Ext'd (LBA))
Partition 5: 6.557 GiB (7040807424 bytes, 13751577 sectors from 1911735+63)
Type 0x83 (Linux)
Ext3 file system
UUID 0619B884-999B-C5E6-1585-2B8DD94ED3CA (NCS)
Volume size 6.557 GiB (7040806912 bytes, 1718947 blocks of 4 KiB)
Status: Mounted on /opt

3.And for mount command on putty i Got :


root@DD-WRT:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
ramfs on /tmp type ramfs (rw)
devpts on /dev/pts type devpts (rw)
devpts on /proc/bus/usb type usbfs (rw)
/dev/discs/disc0/part1 on /opt type ext3 (rw,data=ordered)
root@DD-WRT:~#

And I noticed that the following line as u stated in page 1 is not there :
/dev/discs/disc0/part2 on /mnt type ext3 (rw,noatime,nodiratime,data=ordered)

What is the Mistake i have made

Is the pblm is coz am using a pendrive is it must to use an usb hard drive ?

Kindly Help plz..!!
 
1.for dmseg

<5>Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock4 rootfstype=squashfs noinitrd
<4>Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
<4>Primary data cache 16kB, 4-way, linesize 32 bytes.
<6>Synthesized TLB refill handler (20 instructions).
<6>Synthesized TLB load handler fastpath (32 instructions).
<6>Synthesized TLB store handler fastpath (32 instructions).
<6>Synthesized TLB modify handler fastpath (31 instructions).
<6>Cache parity protection disabled
<4>cause = 80800000, status = 1100ff00
<4>PID hash table entries: 256 (order: 8, 1024 bytes)
<4>calculating r4koff... 003a9800(3840000)
<4>CPU frequency 384.00 MHz
<4>Using 192.000 MHz high precision timer.
<4>Console: colour dummy device 80x25
<6>console [ttyS1] enabled
<6>Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>Memory: 61688k/65536k available (2296k kernel code, 3784k reserved, 396k data, 120k init, 0k highmem)
<7>Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
<4>Mount-cache hash table entries: 512
<6>NET: Registered protocol family 16
<6>Generic PHY: Registered new driver
<5>SCSI subsystem initialized
<6>usbcore: registered new interface driver usbfs
<6>usbcore: registered new interface driver hub
<6>usbcore: registered new device driver usb
<6>NET: Registered protocol family 2
<6>Time: MIPS clocksource has been installed.
<6>IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>TCP established hash table entries: 2048 (order: 2, 16384 bytes)
<6>TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
<6>TCP: Hash tables configured (established 2048 bind 2048)
<6>TCP reno registered
<4>Load Ralink DFS Timer Module
<6>devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
<6>devfs: boot_options: 0x1
<6>squashfs: version 3.0 (2006/03/15) Phillip Lougher
<6>io scheduler noop registered
<6>io scheduler deadline registered (default)
<4>Ralink gpio driver initialized
<6>Serial: 8250/16550 driver $Revision: 1.3 $ 2 ports, IRQ sharing disabled
<6>serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A
<6>serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A
<4>rt3052 access driver initialization.
<6>PPP generic driver version 2.4.2
<6>PPP Deflate Compression module registered
<6>PPP BSD Compression module registered
<6>MPPE/MPPC encryption/compression module registered
<6>NET: Registered protocol family 24
<6>PPPoL2TP kernel driver, V1.0
<6>tun: Universal TUN/TAP device driver, 1.6
<6>tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
<5>ralink flash device: 0x1000000 at 0xbf000000
<6>Ralink SoC physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
<7>Ralink SoC physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
<4> Amd/Fujitsu Extended Query Table at 0x0040
<5>number of CFI chips: 1
<5>cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
<0>
<4>found squashfs at 138000
<5>Creating 6 MTD partitions on "Ralink SoC physically mapped flash":
<5>0x00000000-0x00030000 : "uboot"
<5>0x00030000-0x00040000 : "uboot-config"
<5>0x00040000-0x00050000 : "factory-defaults"
<5>0x00050000-0x007f0000 : "linux"
<5>0x00138000-0x007f0000 : "rootfs"
<4>mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
<5>0x007f0000-0x00800000 : "nvram"
<6>Initializing USB Mass Storage driver...
<6>usbcore: registered new interface driver usb-storage
<6>USB Mass Storage support registered.
<6>usbcore: registered new interface driver libusual
<6>usbcore: registered new interface driver usbserial
<6>drivers/usb/serial/usb-serial.c: USB Serial Driver core
<6>dwc_otg: version 2.72a 24-JUN-2008
<6>DWC_otg: Core Release: 2.66a
<6>DWC_otg: Periodic Transfer Interrupt Enhancement - disabled
<6>DWC_otg: Multiprocessor Interrupt Enhancement - disabled
<6>DWC_otg: Using DMA mode
<6>DWC_otg: Device using Buffer DMA mode
<6>dwc_otg lm0: DWC OTG Controller
<6>dwc_otg lm0: new USB bus registered, assigned bus number 1
<6>dwc_otg lm0: irq 18, io mem 0x00000000
<6>DWC_otg: Init: Port Power? op_state=1
<6>DWC_otg: Init: Power Port (0)
<6>usb usb1: configuration #1 chosen from 1 choice
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 1 port detected
<6>Ralink APSoC Hardware Watchdog Timer
<4>u32 classifier
<4> Actions configured
<4>Netfilter messages via NETLINK v0.30.
<4>nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
<4>ctnetlink v0.93: registering with nfnetlink.
<6>IPv4 over IPv4 tunneling driver
<6>GRE over IPv4 tunneling driver
<6>ip_tables: (C) 2000-2006 Netfilter Core Team
<6>IPP2P v0.8.2 loading
<5>ClusterIP Version 0.8 loaded successfully
<6>TCP bic registered
<6>TCP cubic registered
<6>TCP westwood registered
<6>TCP highspeed registered
<6>TCP hybla registered
<6>TCP htcp registered
<6>TCP vegas registered
<6>TCP scalable registered
<6>NET: Registered protocol family 1
<6>NET: Registered protocol family 17
<4>Welcome to PF_RING 3.2.1
<4>(C) 2004-06 L.Deri <deri@ntop.org>
<6>NET: Registered protocol family 27
<4>PF_RING: bucket length 128 bytes
<4>PF_RING: ring slots 4096
<4>PF_RING: sample rate 1 [1=no sampling]
<4>PF_RING: capture TX No [RX only]
<4>PF_RING: transparent mode Yes
<4>PF_RING initialized correctly.
<4>PF_RING: registered /proc/net/pf_ring/
<6>802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
<6>All bugs added by David S. Miller <davem@redhat.com>
<4>MAC_ADRH -- : 0x00000000
<4>MAC_ADRL -- : 0x00000000
<4>
<4>eth2 mii.o query= phy_id:0, address:1 retval:7849
<4>Ralink APSoC Ethernet Driver Initilization. v2.0 256 rx/tx descriptors allocated, mtu = 1500!
<4>NAPI enable, weight = 0, Tx Ring = 256, Rx Ring = 256
<4>MAC_ADRH -- : 0x0000000c
<4>MAC_ADRL -- : 0x43414632
<0>decode /dev/mtdblock4
<4>VFS: Mounted root (squashfs filesystem) readonly.
<6>Mounted devfs on /dev
<6>Freeing unused kernel memory: 120k freed
<4>rt2860v2_ap: module license 'unspecified' taints kernel.
<4>
<4>phy_tx_ring = 0x03d7c000, tx_ring = 0xa3d7c000
<4>
<4>phy_rx_ring0 = 0x03d7d000, rx_ring0 = 0xa3d7d000
<4>RT305x_ESW: Link Status Changed
<4>CDMA_CSG_CFG = 81000007
<4>GDMA1_FWD_CFG = 710000
<6>usbcore: registered new interface driver usblp
<3>br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
<6>device br0 entered promiscuous mode
<6>device vlan1 entered promiscuous mode
<6>device eth2 entered promiscuous mode
<6>br0: port 1(vlan1) entering learning state
<6>device br0 left promiscuous mode
<6>device br0 entered promiscuous mode
<6>device br0 left promiscuous mode
<6>device br0 entered promiscuous mode
<4>RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
<4>0x1300 = 00064380
<6>br0: topology change detected, propagating
<6>br0: port 1(vlan1) entering forwarding state
<4>0x1300 = 00064380
<6>device ra0 entered promiscuous mode
<6>br0: port 2(ra0) entering learning state
<6>br0: topology change detected, propagating
<6>br0: port 2(ra0) entering forwarding state
<6>device vlan2 entered promiscuous mode
<6>device vlan2 left promiscuous mode
<6>etherip: Ethernet over IPv4 tunneling driver
<6>usb 1-1: new high speed USB device using dwc_otg and address 2
<6>usb 1-1: configuration #1 chosen from 1 choice
<6>scsi0 : SCSI emulation for USB Mass Storage devices
<7>usb-storage: device found at 2
<7>usb-storage: waiting for device to settle before scanning
<5>scsi 0:0:0:0: Direct-Access hp v165w 1.00 PQ: 0 ANSI: 4
<5>sd 0:0:0:0: [sda] 15667200 512-byte hardware sectors (8022 MB)
<5>sd 0:0:0:0: [sda] Write Protect is off
<7>sd 0:0:0:0: [sda] Mode Sense: 2f 00 00 00
<3>sd 0:0:0:0: [sda] Assuming drive cache: write through
<5>sd 0:0:0:0: [sda] 15667200 512-byte hardware sectors (8022 MB)
<5>sd 0:0:0:0: [sda] Write Protect is off
<7>sd 0:0:0:0: [sda] Mode Sense: 2f 00 00 00
<3>sd 0:0:0:0: [sda] Assuming drive cache: write through
<6> /dev/scsi/host0/bus0/target0/lun0: p1 p2
<5>sd 0:0:0:0: [sda] Attached SCSI removable disk
<5>sd 0:0:0:0: Attached scsi generic sg0 type 0
<7>usb-storage: device scan complete
<6>kjournald starting. Commit interval 5 seconds
<6>EXT3 FS on sda1, internal journal
<6>EXT3-fs: recovery complete.
<6>EXT3-fs: mounted filesystem with ordered data mode.
<3>hub 1-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
<6>usb 1-1: USB disconnect, address 2
<3>devfs_remove: scsi/host0/bus0/target0/lun0/generic not found, cannot remove
<4>Call Trace:[<800a13c0>][<800c6954>][<8012a02c>][<800faa3c>][<800faba8>][<80120c5c>][<8011fe34>][<8011857c>][<8023aa34>][<80154320>][<80148da0>][<80154478>][<80149c64>][<8023aa5c>][<800f9288>][<800c6954>][<8009a52c>][<800f9354>][<800f8540>][<800f6b40>][<8009e25c>][<8014900c>][<80142740>][<801438bc>][<80144724>][<80033c18>][<801442b8>][<800335b8>][<80003830>]
<3>scsi 0:0:0:0: rejecting I/O to dead device
<3>Buffer I/O error on device sda1, logical block 0
<4>lost page write due to I/O error on sda1
<6>usb 1-1: new high speed USB device using dwc_otg and address 3
<6>usb 1-1: configuration #1 chosen from 1 choice
<6>scsi1 : SCSI emulation for USB Mass Storage devices
<7>usb-storage: device found at 3
<7>usb-storage: waiting for device to settle before scanning
<5>scsi 1:0:0:0: Direct-Access hp v165w 1.00 PQ: 0 ANSI: 4
<5>sd 1:0:0:0: [sda] 15667200 512-byte hardware sectors (8022 MB)
<5>sd 1:0:0:0: [sda] Write Protect is off
<7>sd 1:0:0:0: [sda] Mode Sense: 2f 00 00 00
<3>sd 1:0:0:0: [sda] Assuming drive cache: write through
<5>sd 1:0:0:0: [sda] 15667200 512-byte hardware sectors (8022 MB)
<5>sd 1:0:0:0: [sda] Write Protect is off
<7>sd 1:0:0:0: [sda] Mode Sense: 2f 00 00 00
<3>sd 1:0:0:0: [sda] Assuming drive cache: write through
<6> /dev/scsi/host1/bus0/target0/lun0: p1 p2
<5>sd 1:0:0:0: [sda] Attached SCSI removable disk
<5>sd 1:0:0:0: Attached scsi generic sg0 type 0
<7>usb-storage: device scan complete
<6>kjournald starting. Commit interval 5 seconds
<6>EXT3 FS on sda1, internal journal
<6>EXT3-fs: recovery complete.
<6>EXT3-fs: mounted filesystem with ordered data mode.


2.for lsmod :

root@DD-WRT:~# lsmod
Module Size Used by
nf_nat_pptp 4096 0
nf_conntrack_pptp 4096 1 nf_nat_pptp
nf_nat_proto_gre 4096 1 nf_nat_pptp
nf_conntrack_proto_gre 4096 1 nf_conntrack_pptp
ext3 106496 1
mbcache 8192 1 ext3
jbd 57344 1 ext3
etherip 8192 0
rt2860v2_ap 479232 1
usblp 8192 0
scsi_wait_scan 480 0

scsi_wait_scan 480 0


3.for cd /dev/discs/disc0;ls -lrt:

root@DD-WRT:~# cd /dev/discs/disc0;ls -lrt
brw------- 1 root root 8, 2 Jan 1 1970 part2
brw------- 1 root root 8, 1 Jan 1 1970 part1
brw------- 1 root root 8, 0 Jan 1 1970 disc
root@DD-WRT:/dev/scsi/host1/bus0/target0/lun0#



4.for mount:

root@DD-WRT:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
ramfs on /tmp type ramfs (rw)
devpts on /dev/pts type devpts (rw)
devpts on /proc/bus/usb type usbfs (rw)
/dev/discs/disc0/part1 on /opt type ext3 (rw,data=ordered)
 
From where did you get this ? You are trying to mount ext3 as NTFS refer startup script on first page

echo "/opt/bin/ntfs-3g /dev/discs/disc0/$NTFSP /mnt" >> /tmp/etc/config/fs.wanup
 
Thank you very much i seccessfully installed thenks alot

But Wen i access the my pen drive drive with Ext2 Volume Manager i can only acces the first partiotion and pl tell me how to access the 2nd partition
 
You can manually mount the second partition in Windows if the manager is not mounting on its own its somewhere in Tools->Option
 
Back
Top