[TIP] Install Twonky on Asus WL-500W with stock firmware

Asus WL-500W is a greate wi-fi router with lots of features, one of them being able to use it as a media server to serve movies/songs over your network from a hard disk connected directly to it through USB. But the media server that is included in the official firmware leaves a lot to be desired. If you are a fan of twonky, all you would have heard so far would have been that to use it on your router, you’d have to change your firmware over to a non-official one. If you do not want to take any risks with the custom firmwares, I’ll tell you a simple way to use twonky with the stock firmware itself. Follow these steps:


1. Download Twonky (The MIPS version) and extract/save it to some place on the harddisk attached to your router (e.g. /tmp/harddisk/part0/twonky/ )

2. Create a new shell script for starting twonky automatically (Replace the paths according to where you stored the twonky files in step 1). All you need to do is create a text file with following contents and mark it as executable. We’ll name it init.sh.

 #!/bin/shroute add -net 224.0.0.0 netmask 240.0.0.0 dev br0cd /tmp/harddisk/part0/twonky/tmp/harddisk/part0/twonky/twonkymedia & 

3. Copy this script to your harddisk to where you extracted twonky files.

4. Open up the router’s web administration page (most probably at 192.168.1.1), go to the USB section, and put the following line under “Initial Script”:

/tmp/harddisk/part0/twonky/init.sh

5. Save, reboot and enjoy :)

If you have any questions, let me know. Infact, the same tip can be used to install many other such softwares onto your Asus routers series including WL-500g, WL-500gP, WL-500W, etc.[tags]Asus WL-500W, Asus WL-500g, Asus WL-500gP, twonky, Asus WL-500W Twonky, Asus WL-500W firmware, twonkymedia[/tags]

12 comments to [TIP] Install Twonky on Asus WL-500W with stock firmware

  • noclue

    Download Twonky (The MIPS version)??
    which version?
    http://www.twonkyforum.com/unsupported/4.4.11/
    # Linux MIPS big endian glibc 2.2.5
    # Linux MIPS big endian uclibc 0.9.28
    # Linux MIPS little endian glibc 2.2.3
    # Linux MIPS little endian glibc 2.3.2
    # Linux MIPS little endian uclibc 0.9.28

  • Sorry for missing that, u should take little endian glibc 2.2.3 one.

  • Mikael

    Hello.
    I just bought my self a WL-500W. Partly to be used a media storage.

    I googled a little and found TwonkyMedia and this guide. But I just can’t seem to get it to work.

    Should Download and Share Master and the Media Server be enabled?

    Is there any settings i should be aware of?

    Like Network Neighborhood Mode or FTP Mode?

    Should i create a User for Twonky or something?

    Also, the WL-500W doesn’t support the Initial Script to be more than 32 letters.
    “/tmp/harddisk/part0/twonky/init.sh” is 34.
    Is it okay to name is in.sh?

  • Mikael

    So i think i found out what the problem is now. If i go to the system command
    http://192.168.1.1/Main_AdmStatus_Content.asp
    and type in “/tmp/harddisk/part0/init.sh”
    is says “cannot execute”

    Do you have a solution for this?

    - Mikael

  • @Mikael: You need to first make this script executable. Try running “chmod +x /tmp/harddisk/part0/init.sh” first..

  • Mikael

    Hi again,
    I tried the +x thing. And now the router just keeps saying “not found” when i try to run the init.sh file.

    Sometimes (after reboot) it says “cannot execute” again, and if i do the +x again it goes back to “not found”.

  • Mikael

    For some reason it now says “init.sh: applet not found”, when i try to run the init.sh

  • That seems strange..I’ll check out if I can find something about it..

  • hansolox1

    Do you know where the lame mp3 plugin can be found so I can listen to mp3 from my directv hr20?

  • Hafer

    ok, the web page is a bit outdated, but I assume, everything is still valid, right?

    I’ve got a question on how to change the executable flag. Do I have to access the router via ssh, telnet or something like that? How?

    Thx, Hafer

  • Hafer, you can either do that through ssh or just access the command page in the web configuration page and run the command from there or you can change the executable flag before copying the file to your disk.

  • Hafer

    thx, but if I try to establish a ssh connection it says “connection refused”.

    btw: the dev in the route command, is that really “br0″? Never heard it before …

    greetings,
    hafer

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

SUBSCRIBE!





Tweet