Hello,
I have problem installing the twonkymedia server on my Asus 500w router with attached external USB drive.
I already managed it to run with alternative (Olegs) firmware, but this firmware is no longer mantained and has bugs which are fixed in the official version. Therefore this is rather no option for me.
Is there possibility to make it runnable also with the original asus firmware (1.9.8.2)
I copied the version for Asus WL-HDD to external drive. Enabled telnet access and checked all paths in the ini files and init scripts. Then I tried to run the server , but I got only twonkymedia not found. As it would not recognize the runnable.
If someone has an idea how to make it runnable I would be very pleased
TwonkyMedia on ASUS WL-500W
Ok As I have found a solution. I will post here for other.
In fact it was quite easy. WL-ASUS 500W needs a different build. You should take MIPS little endian glibc 2.2.3. Extract it to you your attached drive. Correct all paths in the ini files. Then make a startup script, for example init.sh, which contains
Disable the built-in Media server before. tested with firmware 1.9.8.2 and twonky 4.4.2.
In fact it was quite easy. WL-ASUS 500W needs a different build. You should take MIPS little endian glibc 2.2.3. Extract it to you your attached drive. Correct all paths in the ini files. Then make a startup script, for example init.sh, which contains
and then put this init.sh in the USB Section /Initial script. Reboot and that should work fine.#!/bin/sh
route add -net 224.0.0.0 netmask 240.0.0.0 dev br0
cd /tmp/harddisk/part0/twonkyvision
/tmp/harddisk/part0/twonkyvision/twonkymedia &
Disable the built-in Media server before. tested with firmware 1.9.8.2 and twonky 4.4.2.
-
- Posts:5
- Joined:Tue Dec 30, 2008 4:11 pm
- AV Hardware:QNAP TS-509PRO (Twonky 4.4.9) Samsung LN40A750 DLNA TV
Re: TwonkyMedia on ASUS WL-500W
I just recently obtained this router
Can someone give me more detailed help how to install ?
I was also looking for the version mentioned but looks like it was removed
Is there another updated version that will work on WL500W
Thanks
EDIT:
I managed to download the proper version on line
I followed the instructions on creating the init.sh file
but now I'm stuck on this step:
"and then put this init.sh in the USB Section /Initial script"
Anyone ?
Thanks
Can someone give me more detailed help how to install ?
I was also looking for the version mentioned but looks like it was removed

Is there another updated version that will work on WL500W
Thanks
EDIT:
I managed to download the proper version on line
I followed the instructions on creating the init.sh file
but now I'm stuck on this step:
"and then put this init.sh in the USB Section /Initial script"
Anyone ?
Thanks
Re: TwonkyMedia on ASUS WL-500W
Hi,
ok that section is maybe not fully clear. There are few requirements which you should further take care.
You should have the ftp sharing activated at the router. Otherwise the router ignote the script.
The entry initial script is in the USB section of the router configuration. See attached screenshot. Put there the name of the script. For example init.sh
The script has to be located on the first partition of the external disk, otherwise it will not be started.
Further there is a problem regarding twonky configuration. Unless you regulary shutdown the server, the configuration file will get corrupt and you loose your license. There is a trick which I found on this forum to overcome this. Configure fully your twonky server. Copy now the configuration file to backup position.
Now include into your intial script a copy function, which copies this backup always before startup over the corrupted configuration file. In this way it works perfect, you just have to copy that file always after making configuration change.
The copying script looks something like this
cd /tmp/mnt/disc0_1/twonkyvision
rm twonkyvision-mediaserver.ini
cp ./../twonkyvision-mediaserver.ini .
./twonkymedia &
Yes that should work.
The screenshot looks little bit different as you will see, as I switched to oleg firmware(http://oleg.wl500g.info/) in the past. This work now on the wl-500w too with the n-draft support. However it's not worth updating to the unofficial version unless you need ssh server, other software installations, possibility to shutdown remotely etc.
I strongly recommend using ext2/ext3 file format on the harddrive. I lost 2 times data from the harddrive (not all, just some files) until I found out that the reason is the fat partition and that I'm shutdowning the router.
Hope this helps.
ok that section is maybe not fully clear. There are few requirements which you should further take care.
You should have the ftp sharing activated at the router. Otherwise the router ignote the script.
The entry initial script is in the USB section of the router configuration. See attached screenshot. Put there the name of the script. For example init.sh
The script has to be located on the first partition of the external disk, otherwise it will not be started.
Further there is a problem regarding twonky configuration. Unless you regulary shutdown the server, the configuration file will get corrupt and you loose your license. There is a trick which I found on this forum to overcome this. Configure fully your twonky server. Copy now the configuration file to backup position.
Now include into your intial script a copy function, which copies this backup always before startup over the corrupted configuration file. In this way it works perfect, you just have to copy that file always after making configuration change.
The copying script looks something like this
cd /tmp/mnt/disc0_1/twonkyvision
rm twonkyvision-mediaserver.ini
cp ./../twonkyvision-mediaserver.ini .
./twonkymedia &
Yes that should work.
The screenshot looks little bit different as you will see, as I switched to oleg firmware(http://oleg.wl500g.info/) in the past. This work now on the wl-500w too with the n-draft support. However it's not worth updating to the unofficial version unless you need ssh server, other software installations, possibility to shutdown remotely etc.
I strongly recommend using ext2/ext3 file format on the harddrive. I lost 2 times data from the harddrive (not all, just some files) until I found out that the reason is the fat partition and that I'm shutdowning the router.
Hope this helps.
- Attachments
-
- screenshot
- router.gif (43.78KiB)Viewed 10878 times
Re: TwonkyMedia on ASUS WL-500W
Thanks for your help. I was able to get my WL-500W going using the instructions above.
One problem I wanted to tell everyone about, I was having trouble getting the init script to run when I created it in Windows. It was only running the first line of the script so I had to hex edit the file to remove the carraige return (hex 0D) at the end of the lines (except for the last one).
One problem I wanted to tell everyone about, I was having trouble getting the init script to run when I created it in Windows. It was only running the first line of the script so I had to hex edit the file to remove the carraige return (hex 0D) at the end of the lines (except for the last one).
Re: TwonkyMedia on ASUS WL-500W
Hi, I have some problems this to work.
When i try running my init.sh file in the system command, all it says is "init.sh: applet not found"
But the file is very much there.
The other day it kept telling me that the script was not executable, so tried "chmod +x" on it. and after that it kept saying "not found".
If I rebooted the router it went back to the not executable ting.
Firmware is 2.0.0.6
The disk runs Ext2.
I would really appreciate any help towards getting this to work.
- Mikael
When i try running my init.sh file in the system command, all it says is "init.sh: applet not found"
But the file is very much there.
The other day it kept telling me that the script was not executable, so tried "chmod +x" on it. and after that it kept saying "not found".
If I rebooted the router it went back to the not executable ting.
Firmware is 2.0.0.6
The disk runs Ext2.
I would really appreciate any help towards getting this to work.
- Mikael