Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I find/compile/install the CIFS filesystem for a DLINK DNS-323 box?

Updated: for added clarity: the CIFS module is nowhere to be found. Firstly, I need an indication as to how I can procure this module and secondly how to compile & install the said module on my DNS-323.

Updated2: I am running firmware version 1.07.

share|improve this question
is there some reason none of the options i presented in my Oct 13th answer will work for you? – quack quixote Nov 27 '09 at 21:06
@~quack: because all the material you have provided does not lead me to resolving my situation. – jldupont Nov 28 '09 at 21:38
ah. it might be helpful if you indicated what firmware your DNS-323 currently uses. – quack quixote Nov 28 '09 at 22:15
added some details for you. g'luck! – quack quixote Nov 30 '09 at 1:40
i appreciate the points, but you could've just left it open. if the timer expires and no post has been voted up (minimum 2 pts, i believe), the bounty would expire and no answer would be auto-selected (leaving the question open for more answers). – quack quixote Dec 2 '09 at 11:43
up vote 0 down vote accepted

So the question is "how do I enable CIFS/mount these remote CIFS shares on my DNS-323", and the device is running a micro-linux system.

Here's a basic primer on using CIFS in general Unix clients. CIFS is included in the linux kernel as a driver, and can be built as a module or compiled into the kernel itself.

You can try finding or compiling a module for your existing kernel, or building your own kernel to install by reflashing the device. The first is much safer, so I'd try that unless you're experienced at this sort of thing.

  • Here's one forum post discussing module compilation for that device; it links to a directory of prebuild modules. The one you want depends on your firmware, but there is a CIFS module for the 1.03 firmware. You also want the SMBFS module as a fallback (it's an older driver and may work if the CIFS driver fails).

  • Here's how to put together a cross-compiling environment for recompiling the kernel and building your own modules. If you can't find modules built for your firmware version, this is the next-easiest route to take.

  • Here's some material on replacing the stock firmware with your own Debian-based system. This is the one that can brick your device if you aren't careful, so if CIFS is all you need, try the module approach first.

Update: There's some indication that modules compiled for firmware 1.03 will work with firmware 1.07. I linked to the firmware 1.03 module earlier.

In fact, this thread includes CIFS modules compiled against the 1.06 firmware, so those modules are probably preferable. Another thread specifically states the cifs.1.50.ko module (direct link) works with the 1.07 firmware.

Here's the process:

# insert the module you've downloaded and copied to an accessible filesystem
insmod /path/to/cifs.1.50.ko

# make your mountpoint
mkdir /mnt/sharename

# mount -- use /bin/mount for detailed messages
/bin/mount -t cifs //server/sharename /mnt/sharename -o username=username,password=password

This assumes an already-working telnet or SSH interface, such as that provided by the Fonz Fun Plug scripts.

If this works, you'll need to modify your startup scripts to insert the module at boot time. You can then add the mount to /etc/fstab if you want them to always be automatically mounted.

share|improve this answer
@~quack: I've already tried all of this to no avail. I'll accept your answer for your efforts. See you around! – jldupont Dec 2 '09 at 11:26

Bonjour, Jean-Lou Dupont. Your best bet to do whatever you want to do with the D-Link DNS-323 NAS is to head over to DNS323Wiki.

Over there, you will be able to learn how to install a full-fledged Linux system on your DNS-323, and with that, take total command of whatever you want to do with that NAS.

Otherwise, the answer will be too much to fit into this single question alone.

share|improve this answer
This is of course a great source of information but still it lacks details on how to go about installing a CIFS filesystem. FYI: I have also engaged on several occasions the folks @ on the same subject to no avail. – jldupont Sep 14 '09 at 17:43
Okay first and foremost, CIFS is not a filesystem in the strict sense that you format a partition or disk using CIFS. It is more of a protocol to enable more efficient file-sharing between machines. – caliban Sep 14 '09 at 17:53
That said, the SAMBA program (used for Windows networking, and is definitely available on your DNS-323 linux-enabled NAS) supports the CIFS extension. Your best bet is to ask the question : How do I enable CIFS on SAMBA in my Linux NAS? – caliban Sep 14 '09 at 17:54
In fact, in recent distros, SAMBA comes out-of-the-box preconfigured to accept connections from CIFS clients - which means it runs CIFS sharing translation to the shares you configure in SAMBA itself. – caliban Sep 14 '09 at 17:56
1) You are correct: CIFS is protocol to access a filesystem... sorry I abuse the term ;-) 2) A CIFS client is available on the DNS-323 for sure (or else there wouldn't be any takers in the consumer market for such device) 3) A CIFS middleware for mounting a volume is not available stock: one must compile/install one... hence my question. – jldupont Sep 15 '09 at 11:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.