Modify

Opened 6 years ago

Closed 3 years ago

#10122 closed defect (wontfix)

Ushare don't start.

Reported by: Giuse <s156757@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Ushare don't start. Cc:

Description

Trunk r27827, on HW-553.

Init.d script for start of shared service seems doesn't start.

root@VodafoneStation:~# uci show ushare
ushare.@ushare[0]=ushare
ushare.@ushare[0].interface=eth1.0
ushare.@ushare[0].options=p 8010 -d
ushare.@ushare[0].disable_telnet=1
ushare.@ushare[0].enabled=1
ushare.@ushare[0].servername=HW-553
ushare.@ushare[0].content_directories=/mnt/Share/mp3/
ushare.@ushare[0].username=VodafoneStation-media
root@VodafoneStation:~# /etc/init.d/ushare start
root@VodafoneStation:~#

/etc/init.d/ushare start does not report any error.
If i make restart, init script shows that no /usr/bin/ushare found; none killed'

Try manual start: root@VodafoneStation:~# ushare -n Openwrt -i br-lan -c /mnt/Share/mp3 -d -x' seems ok.

root@VodafoneStation:~# ushare -n Openwrt -i br-lan -c /mnt/Share/mp3 -d -x
Interface br-lan is down.
Recheck uShare's configuration and try again !
uShare (version 1.1a), a lightweight UPnP A/V and DLNA Media Server.
Benjamin Zores (C) 2005-2007, for GeeXboX Team.
See http://ushare.geexbox.org/ for updates.
Listening on telnet port 1337
Initializing UPnP subsystem ...
Starting in XboX 360 compliant profile ...
Starting in DLNA compliant profile ...
UPnP MediaServer listening on 192.168.100.20:49153
Sending UPnP advertisement for device ...
Listening for control point connections ...
Building Metadata List ...
Looking for files in content directory : /mnt/Share/mp3
Found 6 files and subdirectories.

NOTE: 'Interface br-lan is down.' report that br-lan is down, this is false.

root@VodafoneStation:~# ifconfig br-lan
br-lan    Link encap:Ethernet  HWaddr 00:24:D2:1A:5F:82  
          inet addr:192.168.100.20  Bcast:192.168.100.255  Mask:255.255.255.0
          inet6 addr: 2001:1418:X:X:X/48 Scope:Global
          inet6 addr: fe80::224:d2ff:fe1a:5f82/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:957277 errors:0 dropped:34 overruns:0 frame:0
          TX packets:1504142 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:99747587 (95.1 MiB)  TX bytes:1887700973 (1.7 GiB)

I do not know if it is useful, this is configuration of upnpd

root@VodafoneStation:~# uci show upnpd
upnpd.config=upnpd
upnpd.config.external_iface=wan
upnpd.config.internal_iface=lan
upnpd.config.port=5000
upnpd.config.uuid=a5082b01-3465-4714-a503-1ee331393117
upnpd.config.notify_interval=30
upnpd.config.presentation_url=http://192.168.100.20
upnpd.config.download=10000
upnpd.config.upload=1000
upnpd.config.serial_number=-
upnpd.config.model_number=HW-553
upnpd.@perm_rule[0]=perm_rule
upnpd.@perm_rule[0].comment=LAN
upnpd.@perm_rule[0].int_addr=192.168.100.0/24
upnpd.@perm_rule[0].action=allow

Regards gyus

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by wlabby

The last linein the configuration (/etc/config/ushare) should be

option 'enabled' '1'

After that it will be start

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:3 Changed 3 years ago by jogo

  • Resolution set to wontfix
  • Status changed from new to closed

Ushare is unmaintained. No changes will be made to it until it is submitted to github and maintained by somebody.
See https://github.com/openwrt/packages/blob/master/CONTRIBUTING.md for details.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.