PDA

Bekijk de volledige versie : ushare



bluegeek
07-01-2007, 19:29
I have an Asus wl500gx and when i try to start ushare I get this error:

[admin@wrouter root]$ /opt/bin/ushare -c /opt/data1/music -i br0
uShare (version 0.9.7), a lightweight UPnP Media Server.
Benjamin Zores (C) 2005-2006, for GeeXboX Team.
See http://ushare.geexbox.org/ for updates.
Initializing UPnP subsystem ...
Cannot initialize UPnP subsystem
Stopping UPnP Service ...

I have disabled uPNP support in the web interface and the problem persists.

Using -i eth0/eth1/vlan0/vlan1 instead of br0 shows another error:

[admin@wrouter root]$ /opt/bin/ushare -c /opt/data1/music -i eth0
Can't find interface eth0.

Any ideas?

Thanks in advance.

-- Ernest

sebw
09-01-2007, 13:26
I seem to recall that I also had to install libupnp to use ushare.

Try:
ipkg install libupnp

bluegeek
09-01-2007, 13:42
I seem to recall that I also had to install libupnp to use ushare.

Try:
ipkg install libupnp

Thanks for your answer but libupnp is allready installed.

rogerrb
10-01-2007, 18:36
I'm not sure you have to disable uPNP in the web interface. I am running ushare with uPNP enabled and have modified the file /opt/etc/ushare to look like this:

# /etc/ushare.conf
# Configuration file for uShare

# uShare UPnP Friendly Name (default is 'uShare').
USHARE_NAME=NSLU2

# Interface to listen to (default is eth0).
# Ex : USHARE_IFACE=eth1
USHARE_IFACE=br0

# Port to listen to (default is random from IANA Dynamic Ports range)
# Ex : USHARE_PORT=49200
USHARE_PORT=

# Directories to be shared (space or CSV list).
# Ex: USHARE_DIR=/dir1,/dir2
USHARE_DIR=/opt/music

It starts fine, but I haven't used it yet as I'm still looking for a suitable player.

bluegeek
12-01-2007, 16:56
this is my configuration too.

I've tried it with uPNP activated a disabled. I don't know why this doesn't work in my asus.

Anyway....

piezomotor
10-02-2008, 19:53
Ushare web interface has Refresh Shares button.

I am just wondering how to refresh shares from the command line?

Any ideas are appreciated!:)

mimmopoli
13-03-2008, 15:24
Ushare web interface has Refresh Shares button.

I am just wondering how to refresh shares from the command line?

Any ideas are appreciated!:)

I successfully use this command (scheduled in crontab):

wget hXXp://YOURIP:YOURUSHAREWEBPORT/web/ushare.cgi?action=refresh -o /dev/null -P /dev/null"

hope this help!

Andrea