At the beginning of this year, after a visit to Circuit City, I bought a Buffalo Linkstation EZ (320GB) for a greatly discounted price. After researching about it a bit I realized it was possible to use it to stream movies/music/pictures to the xbox 360 (and the PS3, but I haven't tried since I do not own one). This is the method I used to make this possible. All other guides I've read were either outdated or the information was incorrect for the LS-LGL (Linkstation EZ).
Downloads NeededNotices- To edit files we will be using vi. (To learn more about vi and the commands used read here)
- This was done on stock firmware version 2.1 I don't know if it works in others.
~~~ WARNING ~~~Messing with your NAS could brick it. Continue at your own risk. I accept no responsibility for damages done to your equipment.
Procedure1) Disable Windows Firewall
2) Open command window (with administrative rights is better)
3) Navigate to the folder where you downloaded acp_commander, for me its
Code:
cd C:/acp
4) Spawn telnet using acp_commander (replace xxx.xxx.xxx.xxx with your LS-LGL IP address) I recommend setting a static IP address in your router's settings for your LS-LGL.
Code:
java -jar acp_commander.jar -t xxx.xxx.xxx.xxx -o
5) Optional: Set a password for telnet access:
Code:
passwd
6) Optional: Modify your rcS file to allow telnet access by default. Otherwise you would have to run acp_commander every time you restart your LS-LGL.
Code:
cp /etc/init.d/rcS /etc/init.d/rcS_backup
vi /etc/init.d/rcS
Add these lines at the bottom of the file before the last line "exit 0".
Code:
# telnetd for debug
/usr/sbin/telnetd
7) Navigate to /share and untar addons.tar
Code:
cd /mnt/disk1/share
tar -C / -xzvf addons.tar
Fix DNS issues
Code:
echo "hosts: files dns" >/etc/nsswitch.conf
8) Bootstrap
Code:
mkdir /mnt/disk1/tmp
cd /mnt/disk1/tmp
wget http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/lspro-bootstrap_1.2-5_arm.xsh
sh lspro-bootstrap_1.2-5_arm.xsh
9) Exit telnet and reaccess or reboot and re access
Code:
reboot
(wait for reboot)
telnet xxx.xxx.xxx.xxx
10) Run updates
Code:
ipkg update
ipkg upgrade
11) Install ushare
Code:
ipkg install ushare
12) Configure ushare
Code:
vi /opt/etc/ushare.conf
My conf file looks like this, for me eth0 is default. This might be different for other people. (Make sure you set you USHARE_DIR= to the directory your media files are in)
Code:
# /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=eth0
# 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=1337
# Directories to be shared (space or CSV list).
# Ex: USHARE_DIR=/dir1,/dir2
USHARE_DIR=/mnt/disk1/share
# 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=yes
# Enable Web interface (yes/no)
ENABLE_WEB=no
# Enable Telnet control interface (yes/no)
ENABLE_TELNET=no
# 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=no
13) Modify the startup script to enable xbox 360 compatibility
Code:
vi /opt/etc/init.d/S99ushare
Change line number 30 from
Code:
$DAEMON -D
Change to
Code:
$DAEMON -x -D
14) Start the script
Code:
/opt/etc/init.d/S99ushare start
Done. Doing this should enable media streaming to the xbox 360. (not as Media Center Extender, but in the regular videos section)
In the xbox 360 if you go to "My Xbox" -> "Videos" you should see a computer named uShare.
Special thanks to: