Can you guys please double check this before I posted in the Wiki?? Thanks.
=======================================================
How to Install D-Link DNS-323 on LinuxMCE-810[Dlink DNS-323]http://www.dlink.com/products/?pid=509The following instructions assume you’re using LinuxMCE version 8.10
Preparing the DNS-323I recommend to setup the NAS first on your external network then move it to the internal LinuxMCE network.
1- Please follow manufacturer instruction for installing the SATA HDD.
2- Connect the NAS to you external network
3- Check the external router DHCP server for the NAS IP address, or use the utility that came with the NAS “Dlink Easy Search Utility” to locate the IP address
4- Log in to the NAS using any web browser on the external network by setting the URL to:
http://NAS-IPaddress5- Default “admin” password is “Blank, Nothing”, after log in, change admin default password (recommended), from “Tools/Admin Password”
6- Select suitable RAID level for your application and format the drives
7- Check NAS firmware version, it should have 1.07, from “Tools/Firmware” if not; follow manufacturer instruction to update the firmware
8- You should see “Volume_1” as a share directory, from “Advanced/Network access”
9- Add new user with password to the NAS, using “Advanced/Users-Group”
10- Remove default user “ALL” for the “Volume_1” share, and add the user you just created.
11- Set “Oplocks & Map archive” of the “Volume_1” share to “Yes”
12- From “Setup/Device” change workgroup to “linuxmce”
13- Make sure all other services/servers are off or disabled (FTP, UPnP AV, iTunes, DHCP, LLTD)
14- Power down the NAS & disconnect the Ethernet cable
15- Done with NAS preparation
Preparing the LinuxMCE 1- On the Core edit “/etc/samba/smb.conf” with your favorite editor
2- Add the following two lines to the end of the [global] section
lanman auth = yes
client lanman auth = yes
Example:
[global]
## BEGIN : Domain and Hostname
workgroup = LinuxMCE
server string = DCERouter
netbios name = DCERouter
## END : Domain and Hostname
smb ports = 139
log level = 2
invalid users = root
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
encrypt passwords = true
socket options = TCP_NODELAY
dns proxy = no
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
username map = /etc/samba/usermap.txt
unix extensions = yes
security = user
lanman auth = yes
client lanman auth = yes
[public]
3- save and quit
4- repeat step 2 to all the MDs in the house
5- Done with LinuxMCE preparation
DNS-323 Installation1- Connect the NAS to the internal network
2- Power up the NAS
3- Wait couple minutes, LinuxMCE will detect it
4- LinuxMCE will ask if you want to use the DNS-323 as a “File server”, select “File Server”
5- Select location “Room”
6- LinuxMCE will install needed SW
7- LinuxMCE will ask to use reload the router, select “OK”, Don’t “reload” yet.
8- LinuxMCE will ask to use DNS-323/web_page as Windows share, select “No, and ignore it every time. Don’t ask again for this device”
9- LinuxMCE will ask to use DNS-323/ Volume_1 as Windows share, select “Yes”
10- LinuxMCE will ask “Regarding your new storage device, can it be used automatically for storing media, such as TV shows and music” select “YES”, or “ use it only when specifically told to”
11- LinuxMCE asks how to use the directory structure select
“YES”, use LinuxMCE’s directory structure”
12- LinuxMCE will ask you for username & Password, enter the ones you created above.
13- After it is done, reload router
14- LinuxMCE will ask to regenerate all orbiters in the house select “YES”
15- Now you can copy or move all your media files to the NAS
16- From the WebAdmin /Files & Media/Media Files Sync/ select Data folder on the left side and click “Resynchronize” wait until it is done
17- Now you should see your media on your Core and all your MDs
18- Done with the installation
19- Cheers {[Beer]
TroubleshootingIf you screwed up something with the above procedure, and you decided to start all over again, then follow the instruction below to remove the NAS from the PnpQueue, and reinstall it again:
1- Power down the NAS
2- Log in to the Mysql database "sudo mysql -uroot"
3- Select the table from the database "use pluto_main"
4- View all the devices in the queue, and locate the IP address of the NAS "SELECT * FROM PnpQueue;"
5- View all rows of the NAS to be sure, you should see at lease 2 rows "SELECT * FROM PnpQueue where IPaddress=’192.168.80.xxx’;"
6- Delete all rows related to the above IP address " DELETE FROM PnpQueue WHERE IPaddress=’192.168.80.xxx’;"
7- Quit Mysql "quit"
8- Reload the router
9- Turn ON the device
10- Now Linuxmce will detect the device automatically "PnP"
11- Done