
October 16, 2007
Sean "Obsidian" Potter
Colin "Rhettigan" Dean
uShare
Forums
1 2 3 4 5
This site will look much better in a browser that supports web standards, but it is accessible to any browser or Internet device.

Options:You can run uShare as a daemon if you want. I'd like to eventually set up an rc script to use with Gentoo so it starts at boot. For now, we're using the command to run the server. uShare expects at least one directory argument, specifying where multimedia files are stored. For each directory you include, you must specify it with -c. Also, you may want to change the interface uShare listens on with -i. uShare doesn't look for a valid or working ethernet interface, so if eth0 isn't the interface you want to use, make sure you change it. Let's look at how we decided to use uShare:
-n, --name=NAME Set UPnP Friendly Name (default is 'uShare')
-i, --interface=IFACE Use IFACE Network Interface (default is 'eth0')
-f, --cfg=FILE Config file to be used
-p, --port=PORT Forces the HTTP server to run on PORT
-c, --content=DIR Share the content of DIR directory (default is './')
-w, --no-web Disable the control web page (enabled
by default)
-o, --override-iconv-err If iconv fails parsing name, still add to media contents (hoping the renderer can handle it)
-v, --verbose Set verbose display.
-x, --xbox Use XboX 360 compliant profile
-d, --dlna Use DLNA compliant profile (PlayStation3 needs this)
-D, --daemon Run as a daemon.
-V, --version Display the version of uShare and exit
-h, --help Display this help
ushare -n Galactica -c /opt/music -c /opt/movies -x -i eth1We named our server Galactica (same as the machine name), and specified two folders where multimedia files can be found. -x gives us XBox 360 functionality, which is our purpose for trying this software. Finally, we're using eth1 as our interface.