Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sat Dec 16, 2017 10:12 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Jul 21, 2010 9:40 pm 
Offline
Newbie

Joined: Wed Jul 14, 2010 1:14 am
Posts: 14
I've installed Ushare and need to edit the ushare.conf file as per the wiki.

The problem is, the file is /etc/ushare.conf_sample so I need to change the name.
And secondly I don't know how to edit it.

Can anyone help me? I'm a linux noob, so really struggling to grasp whay needs to be done here.

I know what needs to be put in the file - I've got this from elsewhere, just don't know HOW to do it!

# /etc/ushare.conf

# Configuration file for uShare



# uShare UPnP Friendly Name (default is 'uShare').

USHARE_NAME=uShare



# 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



# Port to listen for Telnet connections

# Ex : USHARE_TELNET_PORT=1337

USHARE_TELNET_PORT=



# Directories to be shared (space or CSV list).

# Ex: USHARE_DIR=/dir1,/dir2

USHARE_DIR=/data



# Use to override what happens when iconv fails to parse a file name.

# The default uShare behaviour is to not add the entry in the media list

# This option overrides that behaviour and adds the non-iconv'ed string into

# the media list, with the assumption that the renderer will be able to

# handle it. Devices like Noxon 2 have no problem with strings being passed

# as is. (Umlauts for all!)

#

# Options are TRUE/YES/1 for override and anything else for default behaviour

USHARE_OVERRIDE_ICONV_ERR=



# Enable Web interface (yes/no)

ENABLE_WEB=yes



# Enable Telnet control interface (yes/no)

ENABLE_TELNET=yes



# Use XboX 360 compatibility mode (yes/no)

ENABLE_XBOX=yes



# Use DLNA profile (yes/no)

# This is needed for PlayStation3 to work (among other devices)

ENABLE_DLNA=

yes


Top
   
PostPosted: Mon Jul 26, 2010 9:55 am 
Offline
Moderator
User avatar

Joined: Tue Jul 26, 2005 5:22 pm
Posts: 1123
Location: United Kingdom
To make a copy of the file use:
Code:
 cp /etc/ushare.conf_sample /etc/ushare.conf


In terms of editing, the 'vi' editor is supplied as standard, but is certainly not friendly to use like many unix/linux editors. I would suggest instead the 'nano editor which can be downloaded from my web page and installed using a command of the form:
Code:
 tar -xzf <path-to-downloaded-tgz-file> --directory=/usr/local

where <path-to-downloaded-tgz-file> is to where you put the file you downloaded - and is probably something like /mnt/array1/share/nano-2.2.4_ppc.tgz if you put it into the root of the default share.

After nano is installed you can use
Code:
 nano /etc/ushare.conf

to edit the file. nano includes an on-screen help to the less obvious commands so you should be ok from there.

You might find it useful to grab a guide to common linux/unix commands (e.g. ls, cp, cd etc) to make it easier to do standard things from the command line. There are plenty around on the internet.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited