D-Link DNS-323 How To Install On LMCE-810

From LinuxMCE
Jump to: navigation, search
It has been suggested that this article or section be merged with D-Link DNS-323


Version Status Date Updated Updated By
710 Unknown N/A N/A
810 Unknown N/A N/A
1004 Unknown N/A N/A
1204 Unknown N/A N/A
Usage Information
D-Link-Front.jpg
D-Link-Back.jpg

How to Install D-Link DNS-323 on LinuxMCE-810

[D-Link DNS-323 Official Site]

The following instructions assume you’re using LinuxMCE version 8.10

Preparing the DNS-323

I 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 “D-Link 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-IPaddress
  5. 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

D-Link Easy Search Utility.jpg

Preparing the LinuxMCE

  1. On the Core edit “/etc/samba/smb.conf” with your favorite editor
  2. Add the following line to the end of the [global] section
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
        client lanman auth = yes  
[public]
  1. Save and quit
  2. Repeat step 2 to all the MDs in the house
  3. Now you can reboot the Core or run as (sudo or root)
service samba restart
  1. Done with LinuxMCE preparation

DNS-323 Installation

  1. 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]

Troubleshooting

If 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


External References

[http://benchmarkreviews.com/index.php?option=com_content&task=view&id=58&Itemid=70&limit=1&limitstart=0 D-Link DNS-323 Benchmark ]