Asus RT-N13U B1 mod (r19519)

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Ralink SoC based Hardware
Goto page Previous  1, 2, 3 ... 18, 19, 20, 21, 22, 23  Next
Author Message
amitg0123
DD-WRT User


Joined: 07 Aug 2011
Posts: 71

PostPosted: Fri Jul 20, 2012 5:40    Post subject: Reply with quote
Hi all,

I have just uploaded v6 & v5 builds. Find it on the first post.

Enjoy!
Sponsor
pizzadeliveryboy
DD-WRT Novice


Joined: 20 Jul 2012
Posts: 5

PostPosted: Fri Jul 20, 2012 23:39    Post subject: Reply with quote
Hi everyone,

Can somebody please help me.I can't seem to mount the fat32 partition of my 16g usb thumb drive. I was able to make this work before, but with only one partition (ext3, installed transmission, samba etc.). Now, I want to have a fat32 so i could use the drive in a windows based pc. I've read the wiki step by step, but still with no resolve...here's what i did using v7...
Created 3 partition:
/dev/sda1 - 512 MB with ext3 partition
/dev/sda2 - 14GB with fat32 partition
/dev/sda3 - 3MB with unformatted partition (just what the wiki says)

Here's my startup script:

sleep 15
cd /tmp/var/tmp
tar -zxvf /dev/sda3
insmod jbd.ko
insmod mbcache.ko
insmod ext3.ko
insmod fat.ko
insmod vfat.ko
insmod nls_iso8859-1.ko
insmod nls_cp437.ko
rm /tmp/var/tmp/*.ko
sleep 10
mount -t ext3 -o noatime,nodiratime /dev/sda1 /opt
mount -t vfat -o noatime,nodiratime /dev/sda2 /mnt

dmesg output:

<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 1 port detected
<6>usbcore: registered new interface driver libusual
<6>usb 1-1: new high-speed USB device number 2 using dwc_otg
<6>Initializing USB Mass Storage driver...
<6>usbcore: registered new interface driver usb-storage
<6>USB Mass Storage support registered.
<6>scsi0 : usb-storage 1-1:1.0
<5>scsi 0:0:0:0: Direct-Access TDKMedia Trans-It Drive PMAP PQ: 0 ANSI: 4
<5>sd 0:0:0:0: Attached scsi generic sg0 type 0
<5>sd 0:0:0:0: [sda] 31240704 512-byte logical blocks: (15.9 GB/14.8 GiB)
<5>sd 0:0:0:0: [sda] Write Protect is off
<7>sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
<3>sd 0:0:0:0: [sda] No Caching mode page present
<3>sd 0:0:0:0: [sda] Assuming drive cache: write through
<3>sd 0:0:0:0: [sda] No Caching mode page present
<3>sd 0:0:0:0: [sda] Assuming drive cache: write through
<6> sda: sda1 sda2 sda3
<3>sd 0:0:0:0: [sda] No Caching mode page present
<3>sd 0:0:0:0: [sda] Assuming drive cache: write through
<5>sd 0:0:0:0: [sda] Attached SCSI removable disk
<6>device vlan1 entered promiscuous mode
<6>device eth2 entered promiscuous mode
<6>br0: port 1(vlan1) entering forwarding state
<6>br0: port 1(vlan1) entering forwarding state
<3>EXT3-fs (sda1): error: unrecognized mount option "iocharset=utf8" or missing value
<4>EXT2-fs (sda1): warning: mounting ext3 filesystem as ext2
<4>EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
<4>RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
<4>0x1300 = 00064380
<6>br0: port 1(vlan1) entering forwarding state
<4>0x1300 = 00064380
<6>device ra0 entered promiscuous mode
<6>br0: port 2(ra0) entering forwarding state
<6>br0: port 2(ra0) entering forwarding state
<6>device vlan2 entered promiscuous mode
<6>device vlan2 left promiscuous mode
<6>br0: port 2(ra0) entering forwarding state
<3>jbd: version magic '2.6.23.17 mod_unload MIPS32_R2 32BIT ' should be '3.2.12-rc1-svn18774 mod_unload MIPS32_R2 32BIT '
<3>mbcache: version magic '2.6.23.17 mod_unload MIPS32_R2 32BIT ' should be '3.2.12-rc1-svn18774 mod_unload MIPS32_R2 32BIT '
<3>ext3: version magic '2.6.23.17 mod_unload MIPS32_R2 32BIT ' should be '3.2.12-rc1-svn18774 mod_unload MIPS32_R2 32BIT '
<3>fat: version magic '2.6.23.17 mod_unload MIPS32_R2 32BIT ' should be '3.2.12-rc1-svn18774 mod_unload MIPS32_R2 32BIT '
<3>vfat: version magic '2.6.23.17 mod_unload MIPS32_R2 32BIT ' should be '3.2.12-rc1-svn18774 mod_unload MIPS32_R2 32BIT '
<3>nls_iso8859_1: version magic '2.6.23.17 mod_unload MIPS32_R2 32BIT ' should be '3.2.12-rc1-svn18774 mod_unload MIPS32_R2 32BIT '
<3>nls_cp437: version magic '2.6.23.17 mod_unload MIPS32_R2 32BIT ' should be '3.2.12-rc1-svn18774 mod_unload MIPS32_R2 32BIT '
<4>Algorithmics/MIPS FPU Emulator v1.5
<6>kjournald starting. Commit interval 5 seconds
<4>EXT3-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
<6>EXT3-fs (sda1): using internal journal
<6>EXT3-fs (sda1): mounted filesystem with ordered data mode


root@DD-WRT:~# mount
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 ext3 (rw,noatime,nodiratime,errors=continue,user_xattr,barrier=1,data=ordered)

Please help guys...

Thank you
jongasse
DD-WRT Novice


Joined: 21 Dec 2011
Posts: 7

PostPosted: Sat Jul 21, 2012 17:52    Post subject: Reply with quote
pizzadeliveryboy wrote:
Hi everyone,

Can somebody please help me.I can't seem to mount the fat32 partition of my 16g usb thumb drive. I was able to make this work before, but with only one partition (ext3, installed transmission, samba etc.).


Hey pizzadeliveryboy, would you be able to write a short guide how to get that setup running: I want to have a single ext3 partition with transmission to download torrents and samba so that I can copy/delete torrents on the router.
amitg0123
DD-WRT User


Joined: 07 Aug 2011
Posts: 71

PostPosted: Sat Jul 21, 2012 22:45    Post subject: Reply with quote
jongasse wrote:
pizzadeliveryboy wrote:
Hi everyone,

Can somebody please help me.I can't seem to mount the fat32 partition of my 16g usb thumb drive. I was able to make this work before, but with only one partition (ext3, installed transmission, samba etc.).


Hey pizzadeliveryboy, would you be able to write a short guide how to get that setup running: I want to have a single ext3 partition with transmission to download torrents and samba so that I can copy/delete torrents on the router.


Only the first one is mounted automatically. You need to create startup script to mount additional partitions. Search the forum and wiki for more details...
pizzadeliveryboy
DD-WRT Novice


Joined: 20 Jul 2012
Posts: 5

PostPosted: Mon Jul 23, 2012 4:55    Post subject: Reply with quote
Thanks amitg0123 for the reply. But ive already tried running the script per line,but it seems fat32 partition wont mount...anyways ill try to read other post...if this wont be resolved, ill stick with the ext3.
zhadoom
DD-WRT Novice


Joined: 24 Nov 2009
Posts: 45

PostPosted: Mon Jul 23, 2012 22:26    Post subject: Reply with quote
pizzadeliveryboy wrote:
Thanks amitg0123 for the reply. But ive already tried running the script per line,but it seems fat32 partition wont mount...anyways ill try to read other post...if this wont be resolved, ill stick with the ext3.


Do you verify if the modules are loaded ( lsmod ) ?

The order of loading is important since fat and vfat need that iso8859-1 and cp437 are already loaded.

Try lsmod and load the modules manualy.
pizzadeliveryboy
DD-WRT Novice


Joined: 20 Jul 2012
Posts: 5

PostPosted: Tue Jul 24, 2012 16:47    Post subject: Reply with quote
zhadoom wrote:
pizzadeliveryboy wrote:
Thanks amitg0123 for the reply. But ive already tried running the script per line,but it seems fat32 partition wont mount...anyways ill try to read other post...if this wont be resolved, ill stick with the ext3.


Do you verify if the modules are loaded ( lsmod ) ?

The order of loading is important since fat and vfat need that iso8859-1 and cp437 are already loaded.

Try lsmod and load the modules manualy.


Thanks zhadoom, as what you have said, iso8859-1 and cp437 are not loaded (using lsmod). When I have tried to load the script manually and try lsmod, here's the result.

root@DD-WRT:~# lsmod
Module Size Used by
nls_cp437 4336 0
nls_iso8859_1 2800 0
vfat 8080 0
fat 41712 1 vfat
nf_nat_pptp 1312 0
nf_conntrack_pptp 3232 1 nf_nat_pptp
nf_nat_proto_gre 816 1 nf_nat_pptp
nf_conntrack_proto_gre 2272 1 nf_conntrack_pptp
rt2860v2_ap 470608 1
ext3 101408 1
jbd 30384 1 ext3
ext2 41728 0
mbcache 3552 1 ext3
usb_storage 27136 1
scsi_wait_scan 320 0
usb_libusual 8096 1 usb_storage
dwc_otg 60896 0
usbcore 98240 4 usb_storage,usb_libusual,dwc_otg
usb_common 480 1 usbcore


now i can see that iso8859-1 and cp437, but still i can't mount the fat32 using
mount -t vfat -o noatime,nodiratime /dev/sda2 /mnt

Thank you guys.
pizzadeliveryboy
DD-WRT Novice


Joined: 20 Jul 2012
Posts: 5

PostPosted: Tue Jul 24, 2012 16:48    Post subject: Reply with quote
jongasse wrote:
pizzadeliveryboy wrote:
Hi everyone,

Can somebody please help me.I can't seem to mount the fat32 partition of my 16g usb thumb drive. I was able to make this work before, but with only one partition (ext3, installed transmission, samba etc.).


Hey pizzadeliveryboy, would you be able to write a short guide how to get that setup running: I want to have a single ext3 partition with transmission to download torrents and samba so that I can copy/delete torrents on the router.


Hi jongasse, I just follow the wiki.
amitg0123
DD-WRT User


Joined: 07 Aug 2011
Posts: 71

PostPosted: Mon Jul 30, 2012 10:16    Post subject: Reply with quote
Hi all,

DD-WRT team is doing great job. The latest official builds now have built-in filesystem support and also fixed some of the issues covered by this mod. So now this mod is irrelevant for most of the users.

However, I am uploading a new version v8 with some additional features but most of the time you don't need them. Only use this mod if you really need those features. Please check the first post for updates.

I have removed old builds and will put them somewhere else...

Enjoy!
amitg0123
DD-WRT User


Joined: 07 Aug 2011
Posts: 71

PostPosted: Mon Jul 30, 2012 10:47    Post subject: Reply with quote
Previous builds can be found here on Dropbox...
japeter
DD-WRT Novice


Joined: 11 Aug 2011
Posts: 8

PostPosted: Mon Jul 30, 2012 17:04    Post subject: NTFS support Reply with quote
Hello, i have instaled your new mod, but i can't find/get working ntfs support, is possible to add this feature to your mod ? Thank you very much for your great work.
amitg0123
DD-WRT User


Joined: 07 Aug 2011
Posts: 71

PostPosted: Mon Jul 30, 2012 18:09    Post subject: Re: NTFS support Reply with quote
japeter wrote:
Hello, i have instaled your new mod, but i can't find/get working ntfs support, is possible to add this feature to your mod ? Thank you very much for your great work.

You should try `ntfs-3g` with optware. Search the wiki/forum for more details...
japeter
DD-WRT Novice


Joined: 11 Aug 2011
Posts: 8

PostPosted: Mon Jul 30, 2012 18:42    Post subject: Re: NTFS support Reply with quote
amitg0123 wrote:
japeter wrote:
Hello, i have instaled your new mod, but i can't find/get working ntfs support, is possible to add this feature to your mod ? Thank you very much for your great work.

You should try `ntfs-3g` with optware. Search the wiki/forum for more details...


Thank you for quick reply, optware ntfs-3g doesn't work for me, but I had compiled another version from source, which works well. But there is a problem, that disk is not mounted automaticaly on pluging in (it's not connected/powered permanently). Is there any possibility how to run script on usb device plug in? I tried remount script but it is not executed on device pluging. Thank you very much.
amitg0123
DD-WRT User


Joined: 07 Aug 2011
Posts: 71

PostPosted: Mon Jul 30, 2012 19:20    Post subject: Re: NTFS support Reply with quote
japeter wrote:
... Is there any possibility how to run script on usb device plug in? I tried remount script but it is not executed on device pluging.

Try creating a startup script like this:

Code:
#!/bin/sh

sleep 5
mount -t ntfs-3g /dev/sda2 /mnt


Assuming that the `/dev/sda2` is the ntfs partition.
japeter
DD-WRT Novice


Joined: 11 Aug 2011
Posts: 8

PostPosted: Mon Jul 30, 2012 19:22    Post subject: Re: NTFS support Reply with quote
amitg0123 wrote:
japeter wrote:
... Is there any possibility how to run script on usb device plug in? I tried remount script but it is not executed on device pluging.

Try creating a startup script like this:

Code:
#!/bin/sh

sleep 5
mount -t ntfs-3g /dev/sda2 /mnt


Assuming that the `/dev/sda2` is the ntfs partition.


But this will work only on startup. But if I plug disk later, it wont run. Probably I can try something like watchdog, but it is not very clean


Thank you very much
Goto page Previous  1, 2, 3 ... 18, 19, 20, 21, 22, 23  Next Display posts from previous:    Page 19 of 23
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Ralink SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum