You are here: Home » Reply

Reply To: Western Digital Netcenter

#10522

scousethemoose
Participant

Here are instructions for setting up Firefly on WD Netcenter.

Please note this is done at your OWN RISK as it will void your warranty.

Prerequisites:

> Firmware Update & Create Directories

You must download the telnet enabled firmware from epias, a member at the open_netcenter forums.

http://members.lycos.nl/epias/netcenter/

This can be applied by using the Web Interface for the drive.

Once this is done you need to telnet to your drive. The login details are.

USERNAME: root
PASSWORD: WD_NetCenter

Once you are logged in you need to execute the following commands which will create directories required to continue.

# mkdir /shares/Main/__opt
# mkdir /shares/Main/__opt/lib
# mkdir /shares/Main/__opt/bin
# mkdir /shares/Main/__opt/etc
# ln -s /shares/Main/__opt /opt

Once this is complete you need to enable ftp, to do this type

vsftpd.

This will allow you to ftp to the drive, I’d recommend using filezilla.

http://filezilla.sourceforge.net/

> Add IPKG

Thanks again to the hard work over at the open_netcenter forums, another user there (mafe) has provided a download for IPKG.

http://www.brennwertheizung24.de/netcenter/seiten/files/ipkg_NetCenter.zip

Once download, extract the files to your desktop. You will need them shortly. Once this is done, ftp to the drive.

HOST: Use the drives local ip on your network
USERNAME: root
PASSWORD: WD_NetCenter

Once you have connected perform the following.

Copy these files
libipkg.a
libipkg.so.0.0.0
libipkg.la
libpthread.so.0
into the newly created directory: /shares/Main/__opt/lib

Copy file Ipkg-cl
Into: /shares/Main/__opt/bin

Copy the file ipkg.conf
into: /shares/Main/__opt/etc

Once this is done open a new telnet session and execute the following commands.

# cd /opt/lib
# ln -s ./libipkg.so.0.0.0 libipkg.so
# ln -s ./libipkg.so.0.0.0 libipkg.so.0

> Download Packages for MT-DAAPD

The packages required for install are:

zlib_1.2.2-2_mipsel.ipk
libid3tag_0.15.1b-1_mipsel.ipk
libogg_1.1.3-2_mipsel.ipk
libvorbis_1.1.2-3_mipsel.ipk
ivorbis-tools_1.0-1_mipsel.ipk
libao_0.8.6-1_mipsel.ipk
libcurl_7.15.5-1_mipsel.ipk
libvorbisidec_cvs-20050221-1_mipsel.ipk
ivorbis-tools_1.0-1_mipsel.ipk
flac_1.1.4-1_mipsel.ipk
readline_5.2-2_mipsel.ipk
ncurses_5.6-1_mipsel.ipk
ncursesw_5.6-1_mipsel.ipk
sqlite_3.4.1-1_mipsel.ipk
bash_3.2-3_mipsel.ipk
mt-daapd_svn-1586-1_mipsel.ipk

These can be downloaded from:

http://ipkg.nslu2-linux.org/feeds/optware/mss/cross/unstable/
http://ipkg.fireflymediaserver.org/mipsel/
http://ipkg.openmss.org/testing/

You should ftp these to /shares/Main/

> Install MT-DAAPD

If you perform the following it should be a trouble free install.

# export LD_LIBRARY_PATH=/lib:/usr/lib:/opt/lib
# cd /shares/Main
# /opt/bin/ipkg-cl install zlib_1.2.2-2_mipsel.ipk
# /opt/bin/ipkg-cl install libid3tag_0.15.1b-1_mipsel.ipk
# /opt/bin/ipkg-cl install libogg_1.1.3-2_mipsel.ipk
# /opt/bin/ipkg-cl install libvorbis_1.1.2-3_mipsel.ipk
# /opt/bin/ipkg-cl install ivorbis-tools_1.0-1_mipsel.ipk
# /opt/bin/ipkg-cl install libao_0.8.6-1_mipsel.ipk
# /opt/bin/ipkg-cl install libcurl_7.15.5-1_mipsel.ipk
# /opt/bin/ipkg-cl install libvorbisidec_cvs-20050221-1_mipsel.ipk
# /opt/bin/ipkg-cl install ivorbis-tools_1.0-1_mipsel.ipk
# /opt/bin/ipkg-cl install flac_1.1.4-1_mipsel.ipk
# /opt/bin/ipkg-cl install readline_5.2-2_mipsel.ipk
# /opt/bin/ipkg-cl install ncurses_5.6-1_mipsel.ipk
# /opt/bin/ipkg-cl install ncursesw_5.6-1_mipsel.ipk
# /opt/bin/ipkg-cl install sqlite_3.4.1-1_mipsel.ipk
# /opt/bin/ipkg-cl install bash_3.2-3_mipsel.ipk
# /opt/bin/ipkg-cl install mt-daapd_svn-1586-1_mipsel.ipk
# /opt/bin/ipkg-cl -force-depends bash

If you notice any missing packages during the install that I havent listed make a note and download them from the sources mentioned previously.

Keep installing any of the missing packages and after each install then execute this command.

# /opt/bin/ipkg-cl install mt-daapd_svn-1586-1_mipsel.ipk

If all packages are found the install should be successful and you should see the following.

Configuring mt-daapd

To complete this installation, make any necessary changes
to the config file in /opt/etc/mt-daapd/mt-daapd.conf, and
start the daemon by running /opt/etc/init.d/S60mt-daapd

Successfully terminated.

I’m not sure why this final step is necessary but it works; the bash package is needed to complete the install but it seems to effect busybox. So to resolve this after the install do the following.

# /opt/bin/ipkg-cl -force-depends bash

mt-daapd should now be installed but to complete the install you need to ftp to the drive and edit S60mt-daapd. Which is located,
/opt/etc/init.d/S60mt-daapd.

/opt/lib/ld.so.1 /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-daapd.conf

Once this is done transfer the file back over to the drive. I’d recommend a restart of the drive at this point.

After the restart telnet again and activate Firefly by executing the following.

# /opt/etc/init.d/S60mt-daapd

Ignore the pidof error message, everything should be up and running now, you can confirm this by browsing to

http://%netcenter ip%:3689.

Once there you can configure the server.

Goodluck with the install, hopefully someone can come up with a much more elegant install method. đŸ™‚

If you get stuck, take a look at the following links, they helped me a great deal.

REFERENCES:
http://wiki.fireflymediaserver.org/MSS_Installation
http://www.brennwertheizung24.de/wdncforum/index.php?mode=viewthread&forum_id=13&thread=11&sid=076e862fca8b85efbdd9b328688cd52d
http://www.brennwertheizung24.de/wdncforum/index.php?mode=viewthread&forum_id=13&thread=3&sid=076e862fca8b85efbdd9b328688cd52d
http://www.brennwertheizung24.de/wdncforum/index.php?mode=viewthread&forum_id=13&thread=4&sid=076e862fca8b85efbdd9b328688cd52d