{"id":66,"date":"2008-01-27T16:21:07","date_gmt":"2008-01-28T00:21:07","guid":{"rendered":"http:\/\/www.curlybrace.com\/words\/?p=66"},"modified":"2008-04-08T23:00:11","modified_gmt":"2008-04-09T07:00:11","slug":"ushare-on-buffalo-terastation-live-for-xbox-360-video","status":"publish","type":"post","link":"https:\/\/www.curlybrace.com\/words\/2008\/01\/ushare-on-buffalo-terastation-live-for-xbox-360-video\/","title":{"rendered":"uShare on Buffalo TeraStation Live for XBox 360 Video"},"content":{"rendered":"<p><a href=\"http:\/\/ushare.geexbox.org\/\">uShare<\/a>, a <a href=\"http:\/\/geexbox.org\">GeeXBox<\/a> project, is a media server which is compatible with the new XBox 360 &#8220;Spring Update&#8221; media player capability.  Running uShare on a desktop seems straightforward, but getting it working on such a lightweight machine as the TeraStation Live is a bit more difficult, particularly if you&#8217;re not experienced at cross-platform compiling.<\/p>\n<p>Bear in mind that the TeraStation Live is ARM-based, unlike the older TeraStations.  Luckily, many other embedded network appliances are ARM-based, so many of their compiled binaries can be run without modification.<\/p>\n<p>Before working with uShare, the TeraStation must be hacked for full console access.  This is an involved process which is explained <a href=\"http:\/\/buffalo.nas-central.org\/index.php\/Open_Stock_Firmware\">here<\/a>.<\/p>\n<p>Once console access is available, install ipkg and use it to install uShare.  The ipkg for the Maxtor Shared Storage II (also ARM-based) should work, so <a href=\"http:\/\/www.nslu2-linux.org\/wiki\/MSSII\/HomePage\">these directions<\/a> apply.  Then uShare can be downloaded and installed by following <a href=\"http:\/\/www.nslu2-linux.org\/wiki\/Applications\/UShare\">these instructions<\/a>.<\/p>\n<p>For me, the startup configuration didn&#8217;t work on my TS Live, so I simply created a script called &#8216;relaunch-ushare&#8217;.  It kills any running uShare process, then restarts it.<\/p>\n<blockquote><p><code>#!\/bin\/bash<br \/>\nkill -9 `pidof ushare` > \/dev\/null<br \/>\n\/opt\/bin\/ushare --xbox --cfg=\/opt\/etc\/ushare.conf --verbose -D<\/code><\/p><\/blockquote>\n<p>The relevant portions of my \/opt\/etc\/ushare.conf file are as follows:<\/p>\n<blockquote><p><code># Port to listen to (default is random from IANA Dynamic Ports range)<br \/>\nUSHARE_PORT=49201<\/p>\n<p># Directories to be shared (space or CSV list).<br \/>\n# Ex: USHARE_DIR=\/dir1,\/dir2<br \/>\nUSHARE_DIR=\/mnt\/array1\/media\/video\/movies<\/p>\n<p># Use XboX 360 compatibility mode (yes\/no)<br \/>\nENABLE_XBOX=YES<\/code><\/p><\/blockquote>\n<p>To administer uShare via its web interface, browse to http:\/\/<em>server<\/em>:portnumber\/web\/ushare.html.  Note that the port number should be whatever appears in \/opt\/etc\/ushare.conf file on USHARE_PORT line.<\/p>\n<p><img src='http:\/\/www.curlybrace.com\/words\/wp-content\/uploads\/2008\/01\/ushare_management.png' alt='uShare management web interface' \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>uShare, a GeeXBox project, is a media server which is compatible with the new XBox 360 &#8220;Spring Update&#8221; media player capability. Running uShare on a desktop seems straightforward, but getting it working on such a lightweight machine as the TeraStation &hellip; <a href=\"https:\/\/www.curlybrace.com\/words\/2008\/01\/ushare-on-buffalo-terastation-live-for-xbox-360-video\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-66","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/66","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/comments?post=66"}],"version-history":[{"count":0,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/66\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/media?parent=66"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/categories?post=66"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/tags?post=66"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}