Asus RT-N13U B1 - DD-wrt thread

deathgoddg said:
Just an update . I did an update of dd-wrt to DD-WRT v24-sp2 (061411) std and did a factory reset and then manually did setup my connection and now DMZ works great :)[disabled UPnP] . Next step is to get the downloading to work :) .

where did you get the DD-WRT v24-sp2 (061411) std for Asus N13U rev B ?

the version on site is for " 2011-05-12 "
other question :

i want to give a list to wget but

wget -i /mnt/list.txt

gives error:
wget: invalid option -- i

what is wrong with it ?

i used the dinjo guide and updated and upgraded ipkg and installed wget with it.

please help
 
"-sh: ipkg: not found"

Facing this error . I tested the router with my 4gB pendrive and it worked but now when am trying to install the whole this on my external HDD am facing this error . How do I install ipkg. I did reinstall the firmware but that didnt help.
 
@kanishk

The setup was done correctly please check whether you changed anything at our end , shutdown script only has unmounting and killing transmission.

@mechexpert

You can run a copy command just before you start transmission and that would do the trick.

@deathdogg

Is the drive mounted correctly ? and did you installed the Optware ? looking at the error it doesn't seems so
 
Also how to mount the torrent folder inside the www network drive ? I have mapped /mnt/data/ via Samba but its giving pathetic speeds :s
 
--- /dev/discs/disc0/disc

Block device, size 465.8 GiB (500107861504 bytes)

DOS/MBR partition map

Partition 1: 2.007 GiB (2154991104 bytes, 4208967 sectors from 63)

Type 0x83 (Linux)

Ext3 file system

Volume name "Optware"

UUID 4940432E-E3A3-445B-8AC5-B4C8DF4D7A69 (DCE, v4)

Volume size 2.007 GiB (2154987520 bytes, 526120 blocks of 4 KiB)

Partition 2: 463.8 GiB (497951965184 bytes, 972562432 sectors from 4210688)

Type 0x83 (Linux)

Ext3 file system

Volume name "Share"

UUID BB5CCAA9-04E7-4D62-B41C-C8B900256837 (DCE, v4)

Volume size 463.8 GiB (497951965184 bytes, 121570304 blocks of 4 KiB)

Status: Not mounted

Dinjo my drive is not getting mounted hence cant install optware :( help needed bro
 
Deathdogg
Pass on the info required which I have posted on first page

Kanishk - what's your transfer speed, I had mounted that too for u
 
Just paste the following into the text box in Administration -> Commands and click Save Startup

[NOTE: configuration of filesystem support and partitions can be easy set at first line, NTFS needs aditional driver, that can be installed after you pass Optware guide by ipkg install ntfs-3g]

EXT3="YES";EXT3P="part1";EXT32="YES";EXT3P2="part2";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 [ "$EXT32" == "YES" ]; then echo "sh /tmp/root/ext3" >> /tmp/etc/config/fs.wanup; fi

echo "mount /dev/discs/disc0/$EXT3P -o noatime,nodiratime /opt" >> /tmp/etc/config/fs.wanup

echo "mount /dev/discs/disc0/$EXT3P2 -o noatime,nodiratime /mnt" >> /tmp/etc/config/fs.wanup

echo "rm /tmp/root/*.ko /tmp/root/fs.gz /tmp/root/ext3" >> /tmp/etc/config/fs.wanup

chmod +x /tmp/etc/config/fs.wanup

echo "nobody:*:65000:65000:nobody:/mnt:/bin/false" >> /etc/passwd

Then go to Administration>Management>Reboot router.

check Services>USB again, if it doesnt show any info, start putty, telnet to your router, use the below command to check if the drive is mounted or not

 
dinjo said:
Kanishk - what's your transfer speed, I had mounted that too for u

Transfer speeds via samba is around 4-5mbps upload and download, and as i said i have install dd-wrt from scratch, thr4 i have lost all the things you have done, it would be very helpful if you tell so that i can setup the whole thing if thr was a problem :)
 
Guys i have done all that already even tried by formatting the drive with CLI as suggested in one of threads of dd-wrt :( . But no use.

--- Updated Post - Automerged ---

Guys i have done all that already even tried by formatting the drive with CLI as suggested in one of threads of dd-wrt :( . But no use.

Filesystem Size Used Available Use% Mounted on
/dev/root 5.3M 5.3M 0 100% /

only this comes when i paste that in start p command and do telnet .

--- Updated Post - Automerged ---

Guys i have done all that already even tried by formatting the drive with CLI as suggested in one of threads of dd-wrt :( . But no use.

Filesystem Size Used Available Use% Mounted on
/dev/root 5.3M 5.3M 0 100% /

only this comes when i paste that in start p command and do telnet .
 
OK finally my friend deathgoddg got the drive to mount with manual mount with some added commands . install optware and all . But transmission gives an error
"403: Forbidden

Unauthorized IP Address.

Either disable the IP address whitelist or add your address to it.

If you're editing settings.json, see the 'rpc-whitelist' and 'rpc-whitelist-enabled' entries.

If you're still using ACLs, use a whitelist instead. See the transmission-daemon manpage for details."
How do i fix this?
 
dragon hunter said:
OK finally my friend deathgoddg got the drive to mount with manual mount with some added commands . install optware and all . But transmission gives an error

"403: Forbidden

Unauthorized IP Address.

Either disable the IP address whitelist or add your address to it.

If you're editing settings.json, see the 'rpc-whitelist' and 'rpc-whitelist-enabled' entries.

If you're still using ACLs, use a whitelist instead. See the transmission-daemon manpage for details."

How do i fix this?

/opt/bin/transmission-daemon -g /mnt/data/torrents/.config/transmission-daemon

killall transmission-daemon

nano /mnt/data/torrents/.config/transmission-daemon/settings.json

Edit the following values in the settings.json

"blocklist-enabled": 1,

"download-dir": "\/mnt\/data\/torrents",

"download-limit": 100,

"download-limit-enabled": 1,

"encryption": 2,

"max-peers-global": 35,

"peer-port": 25000,

"pex-enabled": 1,

"port-forwarding-enabled": 1,

"rpc-authentication-required": 0,

"rpc-password": "",

"rpc-port": 9091,

"rpc-username": "",

"rpc-whitelist": "192.168.1.*",

"upload-limit": 200,

"upload-limit-enabled": 1

Press "Ctrl+O", then Enter, then Ctrl+X.

Start the transmission daemon again,

/opt/bin/transmission-daemon -g /mnt/data/torrents/.config/transmission-daemon
 
hi

i don't know why my posts need moderators to approve them, and that why the moderators take so long to do so !

however my free ram even after rebooting the router is ~6 MB

wanted to ask about yours, and if any one knows how to make it more empty ?!

thanks
 
OK I found out the mistake that i was doing there . I had manually mounted the drive as read only changed it to rw and its fixed. now after a restart agian my drive is not mounting.

my fs.wanup

wget http://home.karneval.cz/10102207/fs.gz -P /tmp/root

tar -xvzf /tmp/root/fs.gz -C /tmp/root

sh /tmp/root/ext3

sh /tmp/root/ext3

mount /dev/discs/disc0/part1 -o noatime,nodiratime /opt

mount /dev/discs/disc0/part2 -o noatime,nodiratime /mnt

rm /tmp/root/*.ko /tmp/root/fs.gz /tmp/root/ext3

DMESG

<5>Linux version 2.6.23.17 (root@dd-wrt) (gcc version 4.5.2 (Linaro GCC 4.5-2011.02-0) ) #152 Tue Jun 14 13:01:49 CEST 2011

<4>

<4> The CPU frequency set to 384 MHz

<6>64M RAM Detected!

<4>CPU revision is: 0001964c

<4>Determined physical RAM map:

<4> memory: 04000000 @ 00000000 (usable)

<7>On node 0 totalpages: 16384

<7> Normal zone: 128 pages used for memmap

<7> Normal zone: 0 pages reserved

<7> Normal zone: 16256 pages, LIFO batch:3

<7> Movable zone: 0 pages used for memmap

<4>Built 1 zonelists in Zone order. Total pages: 16256

<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 = 10800000, 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, 395k 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:786d

<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

<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

<4>rt2860v2_ap: module license 'unspecified' taints kernel.

<4>

<4>phy_tx_ring = 0x03dab000, tx_ring = 0xa3dab000

<4>

<4>phy_rx_ring0 = 0x03dac000, rx_ring0 = 0xa3dac000

<4>RT305x_ESW: Link Status Changed

<4>CDMA_CSG_CFG = 81000007

<4>GDMA1_FWD_CFG = 710000

<3>br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.

<6>device br0 entered promiscuous mode

<6>br0: starting userspace STP failed, starting kernel STP

<6>device vlan1 entered promiscuous mode

<6>device eth2 entered promiscuous mode

<6>br0: port 1(vlan1) entering listening 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: port 1(vlan1) entering learning state

<4>0x1300 = 00064380

<6>device ra0 entered promiscuous mode

<6>br0: port 2(ra0) entering listening state

<5>scsi 0:0:0:0: Direct-Access Seagate FreeAgent Go 0148 PQ: 0 ANSI: 4

<5>sd 0:0:0:0: [sda] Spinning up disk...<6>br0: topology change detected, propagating

<6>br0: port 1(vlan1) entering forwarding state

<6>device vlan2 entered promiscuous mode

<6>br0: port 2(ra0) entering learning state

<6>device vlan2 left promiscuous mode

<4>.ready

<5>sd 0:0:0:0: [sda] 976773167 512-byte hardware sectors (500108 MB)

<5>sd 0:0:0:0: [sda] Write Protect is off

<7>sd 0:0:0:0: [sda] Mode Sense: 1c 00 00 00

<3>sd 0:0:0:0: [sda] Assuming drive cache: write through

<5>sd 0:0:0:0: [sda] 976773167 512-byte hardware sectors (500108 MB)

<5>sd 0:0:0:0: [sda] Write Protect is off

<7>sd 0:0:0:0: [sda] Mode Sense: 1c 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 disk

<5>sd 0:0:0:0: Attached scsi generic sg0 type 0

<7>usb-storage: device scan complete

<6>br0: topology change detected, propagating

<6>br0: port 2(ra0) entering forwarding state

<6>etherip: Ethernet over IPv4 tunneling driver

LSMOD

Module Size Used by

etherip 8192 0

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

rt2860v2_ap 479232 1

scsi_wait_scan 480 0

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



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)

Start up script

EXT3="YES";EXT3P="part1";EXT32="YES";EXT3P2="part2";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 [ "$EXT32" == "YES" ]; then echo "sh /tmp/root/ext3" >> /tmp/etc/config/fs.wanup; fi

echo "mount /dev/discs/disc0/$EXT3P -o noatime,nodiratime /opt" >> /tmp/etc/config/fs.wanup

echo "mount /dev/discs/disc0/$EXT3P2 -o noatime,nodiratime /mnt" >> /tmp/etc/config/fs.wanup

echo "rm /tmp/root/*.ko /tmp/root/fs.gz /tmp/root/ext3" >> /tmp/etc/config/fs.wanup

chmod +x /tmp/etc/config/fs.wanup

echo "nobody:*:65000:65000:nobody:/mnt:/bin/false" >> /etc/passwd
 
@deathdogg
Were you able to mount the drive now ? If not PM me your TeamViewer Id and pass will check the problem

@kanishk
I don't think i would be doing it again for you.
 
m not asking to do it again for me bro, just mention na what the command u used, when u said "now i will show u the power" and after that torrent folder is appeared in www, just want to mount that data folder inside www
 
This comes from Page 1

Wanna Share the Data of the Mounted Drive via Wi-Fi run the below command

Code:
ln -s /mnt/data /opt/share/www/data
 
OK dinjo will Pm in 10mins downloading tv on ubuntu :p

--- Updated Post - Automerged ---

PMED some time back dont know if you got it or not.
 
Finally got the drive auto mounting . the problem was that the script didnt run on its own so had to add
./tmp/etc/config/fs.wanup
this at the end and wallah :D everything working :D

thanks to dinjo :) I would not have found that if you had not helped me on team viewer :) .

--- Updated Post - Automerged ---

well tru for team viwer my download is 50kBps upload is <20kBps. Sorry for that but i cant help it .
 
Back
Top