Can anyone who has done this mod please post the modified firmware? I am not good at all with Linux. _________________
Routers:
E2000 latest BIG
whr-g54s client vpn
wr850g lastest mini
I'm looking for the modified MEGA version. I tried following the instructions on Page 1 of this thread. But I semi bricked my WL-520GU twice today, after trying to complie the modified MEGA version. _________________
Routers:
E2000 latest BIG
whr-g54s client vpn
wr850g lastest mini
Download this file: micro_plus_usb_asus520gc.bin - and install as firmware on the router.
Download this file: mega.tar.gz - and unpack on USB drive. The partition must be formatted as ext2, and be the first partition on the USB drive. Partition must be bigger than 15Mb.
Could you explain how to install a usb HDD as a bittorrent client data storage and how to access this data from ftp client..
Here is a list of the principles/steps that I think will enable you to run a torent client on your wl-520gC router, with micro-usb firmware and mega.tar.gz unpacked on USB HD. I am assuming the mega.tar.gz file is based on Eko svn11218 - if not please let me know.
Since I assume your root filesystem is all rw-enabled (as it is mounted on the USB drive), you can follow any forum/wiki guide for installing extra software.
Only you do not need to enable jffs beyond issuing the following commands:
nvram set sys_enable_jffs2=1
nvram commit
mkdir -p /jffs/tmp/ipkg
Also you do not need to mount folders /mnt, /mmc or /opt on new partitions. Your /mnt, /mmc and /opt folders are already write-able (again - I assume).
You can now install
-OpenWRT packages to /jffs using ipkg commands start with: ipkg update
-Optware packages, following steps at Wiki: Optware
You may want to consider formatting your HD with three partitions.
/part1 - 256Mb - ext2 (Mega.tar, Optware and extra software...)
/part2 - 64-256Mb - linux swap (Swap partition for the router)
/part3 - the rest - ext2 (NAS data, this is the space that Samba, FTP, NFS will share)
Then you could even use the HDsamba2 install script from here, so long as you disable the part of the script that mounts /mnt and /opt, and also disable testing of /part1 on reboot (see file: /jffs/etc/config/init.startup.
Also if you use HDsamba2, you will not need a00mount-data-part.startup, if you already made the file, just rename the extension to something else
Download this file: micro_plus_usb_asus520gc.bin - and install as firmware on the router.
Download this file: mega.tar.gz - and unpack on USB drive. The partition must be formatted as ext2, and be the first partition on the USB drive. Partition must be bigger than 15Mb.
R.
Tried this and it didn't work! _________________
Routers:
E2000 latest BIG
whr-g54s client vpn
wr850g lastest mini
I downloaded both files, updated the firmware. And then extracted the tar.gz file to the usb drive. And it didn't boot to the usb drive. It's a 40G HD with a 2gig ext2, and the rest is a linux-swap and a fat32. _________________
Routers:
E2000 latest BIG
whr-g54s client vpn
wr850g lastest mini
root@DD-WRT:~# dmesg
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xb8003000, IRQ 6
usb-ohci.c: usb-00:03.0, PCI device 14e4:471a
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
hub.c: new USB device 00:03.0-1, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: WDC WD40 Model: 0BB-23JHA1 Rev: 1C06
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 78156288 512-byte hdwr sectors (40016 MB)
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
root@DD-WRT:~#
Does it matter that it's a wl-520gu? _________________
Routers:
E2000 latest BIG
whr-g54s client vpn
wr850g lastest mini
Could you explain how to install a usb HDD as a bittorrent client data storage and how to access this data from ftp client..
Here is a list of the principles/steps that I think will enable you to run a torent client on your wl-520gC router, with micro-usb firmware and mega.tar.gz unpacked on USB HD. I am assuming the mega.tar.gz file is based on Eko svn11218 - if not please let me know.
Since I assume your root filesystem is all rw-enabled (as it is mounted on the USB drive), you can follow any forum/wiki guide for installing extra software.
Only you do not need to enable jffs beyond issuing the following commands:
nvram set sys_enable_jffs2=1
nvram commit
mkdir -p /jffs/tmp/ipkg
Also you do not need to mount folders /mnt, /mmc or /opt on new partitions. Your /mnt, /mmc and /opt folders are already write-able (again - I assume).
You can now install
-OpenWRT packages to /jffs using ipkg commands start with: ipkg update
-Optware packages, following steps at Wiki: Optware
You may want to consider formatting your HD with three partitions.
/part1 - 256Mb - ext2 (Mega.tar, Optware and extra software...)
/part2 - 64-256Mb - linux swap (Swap partition for the router)
/part3 - the rest - ext2 (NAS data, this is the space that Samba, FTP, NFS will share)
Then you could even use the HDsamba2 install script from here, so long as you disable the part of the script that mounts /mnt and /opt, and also disable testing of /part1 on reboot (see file: /jffs/etc/config/init.startup.
Also if you use HDsamba2, you will not need a00mount-data-part.startup, if you already made the file, just rename the extension to something else
I want to start by saying THANKS! Great job! I saw this thread a few days ago, then lost power and been searching for it ever since (maybe can be added as sticky or to wiki?). So all went well, after restoring to factory defaults, otherwise it kept kicking me out of the ssh session as soon as the banner dropped, now I'm facing the all time favorite ipkg probs... any chance in being able to use opkg? I installed opkg but it gave me an error about /var/opkg-lists not being a dir, when it is... chmod? Other than that, runs smooth, can't wait for a pivot_root option in std fw releases for usb-enabled routers, everyone should be able to boot off usb Only limits are ram I guess, but even then, if hdparm gives me 45MB/s n 5MB/s as outputs, would that usb drive hold good as both swap and storage? also, when installing with ipkg, there's another error regarding /dev/console. dsniff also crashed dropbear on exec...
Posted: Mon Feb 02, 2009 7:18 Post subject: Excellent, thanks!
Following the firmware mod section of: Your superb instructions, I successfully got dd-wrt.v24-11296_NEWD_mega.bin running on my 520GU. Thanks for your clear instructions.
But I have a little doubt, can I use a hub and still be able to boot from my flash drive?
I know of one shure way to find out ........... just try it!
Seems to me that if the script that mounts the usb drive can not find the usb drive, then the micro version of the firmware will boot on your router. So I expect "no permanent damage", if the usb drive can not be found, either due to it simply not being there, or due to it not being found on the usb hub.