Results 1 to 7 of 7

Thread: How-to: USB CDROM, Soft RAID1

  1. #1
    Join Date
    Aug 2008
    Budapest, Hungary

    Lightbulb How-to: USB CDROM, Soft RAID1

    Hi Everybody,

    I'm using Oleg's firmware for 3 months now (on a WL500gp) - thanks Oleg - and it is really great, it works just perfectly !

    Since I do not have a desktop PC at my home - I only use a notebook - I really wanted to create a redundant way for storage and because I'm using Xbox for media playing I wanted an external DVD reader to be attached to my router so I can access all my DVD's through samba from my xbox.

    To achieve this I recompiled Oleg's firmware to include SCSI emulation for IDE/ATAPI CDROM & to include RAID support in the kernel. If you don't want to recompile the kernel yourself these are the steps to achieve both functionalities:

    1. insmod cdrom.o
    2. insmod isofs.o
    3. insmod sr_mod.o

    (it might be that the order is not this one, I'm writing this from my head)

    at this time your cd device will appear under /dev/scsi/...

    1. insmod md.o
    2. insmod raid1.o

    after this you can create your RAID1 soft array using mdadm. LVM is not needed.

    Note1: Because the 2.4 kernel contains a bug in md.c you need to replace this file with the correct one (this is described here: and it works perfectly when you recompile the kernel)

    If you need help with this, just contact me.

    PS. (offtopic) I've a USB hub with 6 USB ports attached to one of the USB ports on the router. This has 2 hard disks linked in a RAID1 array + the DVD reader. This works as intended - no special drivers were needed to support this.

    The second USB port on the router has attached a 6 in 1 card reader with a 4GByte CF Microdrive. This works as a charm as well

  2. #2
    Great idea! Would it be possible to "autorip" af music-cd to mp3.

    I am looking for a solution that would make it possible to just put a music-cd in a cd-rom and then it should automatically be ripped in mp3 or flac etc. to the harddrive (samba). Even better update the id3 tags before ripping...?

    / Rasmus

  3. #3
    Join Date
    Aug 2008
    Budapest, Hungary
    I think it would be possible.
    I'm just trying to cross-compile automount (i've already included autofs4 support in the kernel) - then i suppose the mp3 rip tool can be started automatically as well. (i need this because the cd is not automatically mounted with oleg's firmware)

    I'll keep you posted on this.

  4. #4
    Join Date
    Aug 2008
    Budapest, Hungary
    I've cross compiled automount and it's working now (check my other post in the wl-500gp tutorials) - but i'm not yet sure if a program can be automatically started ...

    However since the automounter works only if you access a certain folder on the filesystem, i would say that this is the other way around ...

  5. #5

    Thumbs up Just what i was looking for

    Great work that you got a dvd running on the asus
    but where can i find the modules you described ?
    if you obtained theme by compiling can you please post so others
    don't need to compile ??

    such is live ( and it gets sucher every day )

  6. #6
    Join Date
    Aug 2008
    Budapest, Hungary


    so for everybody who need the modules, here are them attached.
    i've left some other modules as well, if somebody needs them by any chance.


  7. #7
    Hi guys,

    I recently have bought a NEUROS OSD linux based multimedia player. This player doesn't have DVD drive, it only reads from various memory modules and has network and usb 1.2 connection available. Since the USB interface is only 1.2, I can not attach a DVD reader, because it is not fast enough. I thought to attach the dvd to my WL500 gp v1 and mount it from there. Dou you guys think that it is possible?



Similar Threads

  1. linuxrc bug? - WL-500g not booting from usb drive with hub
    By daniel632 in forum WL-500g Custom Development
    Replies: 5
    Last Post: 14-03-2012, 16:28
  2. Unstable boot from USB
    By Tamadite in forum WL-500g Q&A
    Replies: 6
    Last Post: 20-08-2008, 16:19
  3. 7.09 + USB + hotplug
    By oilinki in forum WL-700g Q&A
    Replies: 0
    Last Post: 18-11-2007, 13:51
  4. Wl500g > 2 USB and 1 LPT Printer
    By Trebron in forum WL-500g Q&A
    Replies: 0
    Last Post: 27-01-2006, 23:17

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts