Bekijk de volledige versie : wl500g and uShare media server

29-06-2006, 15:58
For gents that want to use the wl500g as a an audio server:

Used hardware:

-WL-500G (NOT de luxe)
-Philips SLA-5520 audio streaming device
-USB stick mounted as /opt with mp3 files located in

Notes: (added april 2, 2007)
Official version now available as well. thus you can install the normal way:
ipkg update
ipkg install ushare
Installing and using ‘uShare’ media server:
(open a telnet or ssh session to the wl-500g)

1) ipkg update
2) ipkg install ushare
3) edit /opt/etc/ushare.conf

# /etc/ushare.conf
# Configuration file for uShare
# uShare UPnP Friendly Name
# Interface to listen to
# Ex : USHARE_IFACE=eth1
# Port to listen to (default is random from IANA Dynamic Ports range)
# Ex : USHARE_PORT=49200
# Directories to be shared (space or CSV list).
# Ex: USHARE_DIR=/dir1,/dir2

4) run /opt/etc/init.d/S99ushare start

The most important settings here is 'USHARE_IFACE=br0'

Any other setting like eth0,eth1 or eth2 did not work for me..

I have no experience (yet) about the performance of 'uShare' . I will share this as soon as i have bought a usb harddisk that will hold my mp3 collection.

More info about uShare can be found here:

Notes: (added august 24, 2006)

Note 1:
I have connected 80GB laptop harddisk now with all partitions formatted as ext3. Ushare still works fast with 3600 mp3
files organized in A -> Z directories. There is no indexing done. Thus you cannot select on Album, Artist etc.. you can only
select the directories where you have put the mp3's. I have no problem with that...

Note 2:
For some reason Ushare did not want to start anymore after i reinstalled it on the external USB disk.
I had to edit the /opt/etc/init.d/S99ushare file.

After i replaced $DAEMON -D in $DAEMON Ushare finally started ok. (don't ask me why ;-))

see extract of the S99ushare file below:

start() {
if [ -f $PIDFILE ]; then
echo "Warning : $PIDFILE still present. Unclean shutdown ?"
kill -s 9 `cat $PIDFILE` 2>/dev/null
rm -f $PIDFILE 2>/dev/null
echo -n "Starting $DESC... "
echo "done"

Note 3:
For some other unknown reason it is not possible to stop Ushare with the command ./S99ushare stop.
Not really a problem for me, because i have the music server running all the time anyway...
Note: (added feb 26, 2007)

Managed to run Ushare as a daemon!!! (stopping the daemon is still a problem. Do a 'killall -9 ushare' instead)

Have a look at following url:

Follow below instructions for an already fully installed wl500g:

Upgrading from old wl500g package feed:

When changing package feed from "wl500g" to "oleg" change /opt/etc/ipkg.conf to the following content:

src/gz optware http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable
dest /opt/ /

then issue

ipkg update
ipkg install -force-overwrite ipkg-opt

This will install uclibc-opt and ipkg-opt.

The following awk one line awk script will reinstall all installed packages:

/usr/bin/awk '/^Package:/{system("/opt/bin/ipkg install -force-reinstall -force-defaults " $2)}' /opt/lib/ipkg/status

Notes: (added april 1, 2007)
I cross compiled ushare 0.9.10 for the wl500g since this version uses 75% less memory!!!
(noticable when you have a large mp3 collection)

Install instructions (use at your own risk!!):

1) Download libupnp and ushare from here:

2) copy libupnp and ushare to a directory on your wl500g. e.g. /opt/temp

3) ipkg install /opt/temp/libupnp_1.4.3-1_mipsel.ipk
4) ipkg install /opt/temp/ushare_0.9.10-2_mipsel.ipk

Note: Don't install ushare before libupnp!!!
(ushare will otherwise start downloading an older libupnp version, which likely doesn't work)
Notes: (added april 2, 2007)
Now also available the official way. Thus:
ipkg update
ipkg install ushare

18-07-2006, 23:47
How do I make it work on Asus wl500gx ???

19-07-2006, 07:09
How do I make it work on Asus wl500gx ???

completely same way.

19-07-2006, 22:29
now I've configured my wl-500gx as the "guide" says, but how do I actually connect to it ?! From my winamp ?! open url \\, no connection.. :confused: :confused: please help
doesn't work either, and yes the port is open....

Ok, now i can get into, but how do I listen to the share stuff ??

A reply world be great ??

03-08-2006, 06:20
winamp unable to connect to upnp servers.
i installed the trial version of this: http://www.on2share.com/UPnP/
and it could. it automagically discovered the server on medai players startup, and could add to the playlist.

414 admin R 436 252 2.5 3.1 top
251 admin S 452 98 1.1 3.2 dropbear
85 admin S 248 1 0.1 1.7 watchdog
412 admin S 1456 350 0.0 10.4 ushare
349 admin S 1456 300 0.0 10.4 ushare
353 admin S 1456 350 0.0 10.4 ushare
350 admin S 1456 349 0.0 10.4 ushare
355 admin S 1456 350 0.0 10.4 ushare
351 admin S 1456 350 0.0 10.4 ushare
252 admin S 452 251 0.0 3.2 sh
299 admin S 448 98 0.0 3.2 dropbear
300 admin S 444 299 0.0 3.1 sh
125 admin S 432 1 0.0 3.1 nmbd
156 admin S 360 1 0.0 2.5 upnp
54 nobody S 340 1 0.0 2.4 dnsmasq
128 admin S 304 1 0.0 2.1 smbd
47 admin S 264 1 0.0 1.8 httpd
123 admin S 224 1 0.0 1.6 stupid-ftpd
1 admin S 212 0 0.0 1.5 init

i dont know why start it so many threads, and anyway the starter script can not shutdown it, i have to use killall ushare to remove it, but it works