DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-01-13 18:47:50

robc
New member
Registered: 2007-01-13
Posts: 1

configuring Ushare.

Howya Folks,

Im a bit new to all this so apologies in advance.

im tryin to setup ushare on my dsm g600 and cant seem to get ushare runnin, i have funplug installed and tested, also have busybox setup and can telnet to the box, but i cant seem to get ushare setup, im using the box over the wireless connection, and its talking to my Philips SLA5520.

my funplug file is as follows:

Code:

#!/bin/sh
dmesg > /mnt/HD_a2/dmesg.out
if [ ! -e /mnt/HD_a2/ash ]
then
ln -s /mnt/HD_a2/busybox /mnt/HD_a2/ash
fi
if [ ! `grep root /etc/shadow` ]
then
echo kontroll.`grep admin /etc/shadow` >> /etc/shadow
/mnt/HD_a2/sed -i -e 's/kontroll.admin/root/' /etc/shadow
fi
/mnt/HD_a2/sed -i -e 's/root:.*/root:x:0:0:Linux User,,,:\/:\/mnt\/HD_a2\/ash/' /etc/passwd
cd /dev && /mnt/HD_a2/busybox makedevs ptyp c 2 0 0 9
cd /dev && /mnt/HD_a2/busybox makedevs ttyp c 3 0 0 9
/mnt/HD_a2/busybox telnetd &
/mnt/HD_a2/bin/ushare -c /mnt/HD_a2/music

and my ushare.conf file is as follows:

Code:

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

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

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

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

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

if someone could point me in the right direction it would be much appreciated, have also attached screen of my HDDA dir.

Thanks in Advance
RobC

Last edited by robc (2007-01-13 18:50:05)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB