LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   uShare 1.1a config issues: failed to start / not streaming on FreeBSD 8.2 (https://www.linuxquestions.org/questions/%2Absd-17/ushare-1-1a-config-issues-failed-to-start-not-streaming-on-freebsd-8-2-a-918250/)

ljdelight 12-11-2011 08:27 PM

uShare 1.1a config issues: failed to start / not streaming on FreeBSD 8.2
 
Hello,

I encountered a couple of problems with the uShare 1.1a port on FreeBSD 8.2. I tried locating the problem, but the source had some patch file and I got confused.

What do people usually do to fix this...? Email someone? Fix it themselves? Use mediatomb instead? btw I don't know the first thing about cvs.

Error 1:
Server does not stream to Xbox360/PS3 when:
(1) 'Enable DLNA' is set in port config and
(2) /usr/local/etc/ushare.conf has
Code:

USHARE_DLNA_ENABLE=yes
.
After removing that line from ushare.conf, streaming works to both Xbox360 and PS3. Note that /var/log/messages shows that uShare started successfully.

For reference here's my /usr/local/etc/ushare.conf
Code:

USHARE_NAME=uShare
USHARE_IFACE=re0
USHARE_DIR=/disk2/shared
USHARE_ENABLE_WEB=no
USHARE_ENABLE_TELNET=no
USHARE_ENABLE_XBOX=yes
#USHARE_ENABLE_DLNA=yes # uncomment to break
#EOF

Error 2:
uShare fails to start at boot. Calling
Code:

/usr/local/etc/rc.d/ushare start
works perfectly without error.
At first, I wanted to blame bad REQUIREs in /usr/local/etc/rc.d/ushare but couldn't hack it to work. Then I tried adding synchronous_dhclient="YES" to /etc/rc.conf; uShare works with that!

Here's a piece of /var/log/messages
Quote:

Dec 11 20:05:47 espresso uShare[811]: Interface re0 is up.
Dec 11 20:05:47 espresso root: /etc/rc: WARNING: failed to start ushare
Dec 11 20:05:49 espresso kernel: re0: link state changed to UP
Dec 11 20:05:49 espresso dhclient: New IP Address (re0): 192.168.1.145


All times are GMT -5. The time now is 09:46 PM.