I have a new WZR-600DHP running DD-WRT v24SP2-MULTI (11/04/12) std
and I want to connect an external hard drive (formatted as ext3) to use as NAS with it.
It is not working and I get following errors:
Disk Info --- /dev/sda
Block device, size 931.5 GiB (1000204136448 bytes)
DOS/MBR partition map
Partition 1: 116.4 GiB (124998778880 bytes, 244138240 sectors from 256)
Type 0x83 (Linux)
First 897 KiB are blank
Partition 2: 25.37 MiB (26607104 bytes, 51967 sectors from 244138496)
Type 0x82 (Linux swap / Solaris)
Blank disk/medium
Status: Not mounted - Unsupported file system or disk not formated
My Questions:
1) Why does this ext3 partition not get mounted automatically ? I was able to manually do this (described below)
2) What do I need to do to make this change that I made manually, permanent ?
I don't want to uncompress the firmware, modify start scripts and re-create the compressed firmware. The filesystem
is mounted read-only so I could not modify scripts directly. It does not allow me to remount the filesystem read-write.
The firmware modification may not work because I have read elsewhere that Buffalo hardware will not accept
community firmware (not signed by Buffalo private/secret key)
3) Does "std" the firmware revision 'DD-WRT v24SP2-MULTI (11/04/12) std' mean I am running user friendly firmware
or "professional" firmware ? Is there a way to tell them apart from the web gui / via ssh shell prompt / any other technique ?
Tried to look for solutions - Here is what I found by googling:
On DD-WRT wiki people talk about a check-button to enable ext3 support, but I don't see this
option on the GUI
http://www.dd-wrt.com/wiki/index.php/Samba3
On forums people mention that this option is removed since 16214 and that enabling
USB support automatically should enable ext3 support
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=540240
However, this does not seem to work. I still get the above errors:
Actually, the ext3 kernel module and other required kernel modules are there
in the firmware, and I was able to mount the ext3 partition manually using the technique I came across in
on the dd-wrt wiki
http://www.dd-wrt.com/wiki/index.php/Mounting_USB_drive_without_located_onboard_fs_modules
After reading the above dd-wrt wiki article, I tried the following and was able to see the ext3 partition and read/write to it from the other
computers connected on the network:
- ssh into the router
- run following commands from shell prompt
insmod /lib/modules/3.2.28/kernel/fs/jbd/jbd.ko
insmod /lib/modules/3.2.28/kernel/fs/mbcache.ko
insmod /lib/modules/3.2.38/kernel/fs/ext3/ext3.ko
mount -t ext3 /dev/sda1 /mnt