DNS323Wiki
http://dns323.kood.org/
2023-09-07T23:22:51+03:00DNS323Wiki
http://dns323.kood.org/
http://dns323.kood.org/lib/images/favicon.icotext/html2023-09-07T21:19:06+03:00howto:nut_ups - changed to new location for ompatibility
http://dns323.kood.org/howto:nut_ups?rev=1694110746&do=diff
Instruction for installation of Network UPS Tools (NUT) on fun_plug v 0.5. These instructions are based on information found at the Network UPS Tool website (<http://networkupstools.org/doc/2.2.0/INSTALL.html>).
The primary goal of the Network UPS Tools (NUT) project is to provide reliable monitoring of UPS and PDU hardware and ensure safe shutdowns of the systems which are connected. We attempt to monitor every kind of UPS and PDU, given sufficient interest. Summary from NUT project page.text/html2023-09-03T00:30:41+03:00software:source
http://dns323.kood.org/software:source?rev=1693690241&do=diff
UPDATE: 9/2/2023
Since the DNS323 became a non-supported legacy product on 5/5/2013, as of now (9/2/2023) the software listed below is not available. The links and instructions to go to tsd.dlink.com.tw work, but when actually trying to download the software the pages are not found.text/html2022-03-11T12:02:27+03:00information:known_issues - old revision restored. Corrected 156.238.10.234
http://dns323.kood.org/information:known_issues?rev=1646992947&do=diff
Unfortunately, the DNS-323 isn't a perfect piece of equipment. It contains a bunch of bugs and some compatibility issues. Some of these bugs may cause the DNS-323 to format or erase one or both of your hard drives, especially when inserting or removing hard drives from the enclosure. Do not insert any disks with valuable information into the DNS-323, and make sure you back-up your data before inserting or removing hard drives.text/html2021-06-28T15:02:15+03:00information:beginner_s_faq - old revision restored
http://dns323.kood.org/information:beginner_s_faq?rev=1624881735&do=diff
Welcome to the Beginner's FAQ. I have created this page while going through the process of getting things setup on my DNS-323. Hopefully this page will answer for you some of the questions I had and save time. My goal is to provide a concise set of instructions for all users, be it young, old, with the times or not anyone can set up the DNS-323 for these things.text/html2021-01-06T20:56:43+03:00dns-320 - found link to missing Squeezebox files
http://dns323.kood.org/dns-320?rev=1609959403&do=diff
This page will share some more information about the ShareCenter Pulse (DNS-320).
Hardware
Additional to the product specifications.[Front view of the DNS-320]
CPU 800 MHz Marvell 88F6281 (Kirkwood) RAM 128 MB USB 1 USB2.0 Port (front) LAN Marvell 88E1118R-NNC1 Cooling ADDA AD045HB-G73 Kernel 2.6.22.18 Samba 3.2.8 C library gcc-4.2-glibc-2.5text/html2020-04-25T18:23:40+03:00dns-325 - Updated link from http://jamie.lentin.co.uk/ to https://
http://dns323.kood.org/dns-325?rev=1587828220&do=diff
This page will share some more information about the ShareCenter Shadow(DNS-325).
Hardware
Additional to the product specifications.[Front view of the DNS-325]
CPU 1.2 GHz Marvell 88F6281 (Kirkwood) RAM 256 MB USB 1 USB2.0 Port (Rear) LAN Marvell 88E1118R-NNC1 Cooling ADDA AD045HB-G73 Kernel 2.6.22.18 Samba 3.2.8 C library gcc-4.2-glibc-2.5text/html2019-08-14T05:15:30+03:00howto:hardware_reset - Updated manual link
http://dns323.kood.org/howto:hardware_reset?rev=1565748930&do=diff
How to hardware-reset your DNS-323
There are 2 ways of hardware-resetting (or returning to factory defaults)
* From the web interface Tools>System>Defaults: Restore To Factory Default Settings
* Using the hardware reset button
The hardware reset button is documented in the D-Link DNS-323 Manual ver 1.4. (<http://files.dlink.com.au/products/DNS-323/REV_C/Manuals/v1.4/DNS-323_MANUAL_1.40.pdf>) however does not discuss how it is used.text/html2018-05-17T14:30:20+03:00howto:reflash_from_windows
http://dns323.kood.org/howto:reflash_from_windows?rev=1526556620&do=diff
This document contains my experiences with reflashing my DNS-323 on Windows 7
Big Thanks to Martin Michlmayr and his tutorials at Cyrius.com
Read the footnotes for additional information
Requirements
* Get a Serial Adapter
* Cygwin
* splitdns323fw Utility
* Factory, ALT-F or Custom Firmware
* Tera Termtext/html2018-03-20T15:50:20+03:00talk:wiki:user:butibum
http://dns323.kood.org/talk:wiki:user:butibum?rev=1521553820&do=diff
Medical causes of impotence include diabetes and circulatory, neurological, or urological conditions. In independent studies, there are apparent differences in ADAS-Cog changes, improvement rate, dropouts, and incidence of side-effects among different classes of AChEIs; however, since the clinical protocols vary from one study to another, these results are not comparable and unreliable. Sulfamethoxazole may increase the QTc-prolonging activities of Azithromycin. The day I made the appointment, s…text/html2018-02-12T02:17:17+03:00howto:1st_steps - I removed a hardcoded password from the code.
http://dns323.kood.org/howto:1st_steps?rev=1518394637&do=diff
This is a beginners step-by-step guide on how can you enhance your DNS-323 box with fun_plug tweaking.
----------
This guide supposes you use Unix/Linux desktop (altough, with very small effort it is usable for windows users as well, if using putty ssh/telnet application) with IP address 10.10.10.150.text/html2017-12-04T19:44:41+03:00howto:kiss_dp-558_pc_link_server - old revision restored
http://dns323.kood.org/howto:kiss_dp-558_pc_link_server?rev=1512409481&do=diff
This can be of interest to owners of the KISS DP-558, a DVD and Multimedia Player and Video Recorder formerly from KISS technology, now from LINKSYS: More info
The KISS DP-558 has an internal disk where to store the media, but as many are aware, since the DP-558 has an ethernet connection, normally connected to a home router, it is possible to store the media on a PC and serve the DP-558 through a KiSS PC-Link Daemon that runs on the PC itself.text/html2017-12-04T19:33:23+03:00howto:appletalk - old revision restored
http://dns323.kood.org/howto:appletalk?rev=1512408803&do=diff
This is a description copied from the forum posted by dcrosby. It's a draft howto on how to get Appletalk running on the DNS-323.
Background: Terminology
Note that there are two different technologies that are sometimes referred to (sometimes erroneously) as “AppleTalk.”text/html2017-12-04T19:32:53+03:00talk:start - old revision restored
http://dns323.kood.org/talk:start?rev=1512408773&do=diff
Since regular users can't modify Main Page then here is the right place where you can point out some Main Page mistakes or suggestions how to improve it ^_^
Done
Would it be possibe to remove the help text for DNS, which in this case i a part of the product name and not Domain Name Server.text/html2017-12-04T19:31:20+03:00howto:ffp-reloaded - old revision restored
http://dns323.kood.org/howto:ffp-reloaded?rev=1512408680&do=diff
You can boot directly into ffp 0.5 and run it without firmware.
WARNING: This is highly experimental. A serial connection may be required to track down problems.
You should install the latest busybox package (>= 1.11.1).
This does not work out-of-the-box with RAID. You will have to know what you're doing to get it working. See the section for some pointers.text/html2017-12-04T19:30:06+03:00hardware:fan - old revision restored
http://dns323.kood.org/hardware:fan?rev=1512408606&do=diff
Fan Photos - In Context:
Disassembly pictures[1 - cover off/best/3 wires][2 - exterior][3 - interior, in case][4 - interior, out of case]
Variable-Speed Fan Details:
Model ADDA AD0405HB-G73 Dimensions 40mm x 40mm x 10mm Voltage 5 volts dc Current 0.25 amperes Bearing Type Ball Blades 7 Wires 3 wires…text/html2017-12-04T19:29:14+03:00howto:backuppc - old revision restored
http://dns323.kood.org/howto:backuppc?rev=1512408554&do=diff
BackupPC is a high-performance, enterprise-grade system for backing up Linux and WinXX PCs and laptops to a server's disk. BackupPC is highly configurable and easy to install and maintain. It runs quite well on the DNS-323. The accompanying forum thread is located here.
For a Wikipedia description click here.text/html2017-12-04T17:26:34+03:00howto:install_debian - old revision restored
http://dns323.kood.org/howto:install_debian?rev=1512401194&do=diff
WARNING: This procedure is horrible. For a “real” native Debian installation, take a look at <http://www.cyrius.com/debian/orion/d-link/dns-323/install.html> .
This page described how to get Debian natively running on your DNS-323.
NOTE: If you follow this procedure, the DNS-323 will no longer run its normal operation. It will only run debian. The function can be restored, details at the end.text/html2017-08-22T17:42:27+03:00howto:ffp - old revision restored
http://dns323.kood.org/howto:ffp?rev=1503412947&do=diff
fun_plug is the name of a script that will run after the DNS323 has booted (see fun_plug).
The fonz fun_plug (ffp) is a fun_plug script plus a collection of applications compiled and packaged by fonz. The system uses the DNS-323 fun_plug capability to hook your own start procedures to the startup.text/html2017-08-16T23:03:18+03:00dns-320l
http://dns323.kood.org/dns-320l?rev=1502913798&do=diff
This page will share some more information about the ShareCenter 2-Bay Cloud Network Storage Enclosure (DNS-320L).
Hardware
Additional to the product specifications. [thumb|Front angle view of the DNS-320L]
CPU 1000 MHz Marvell (88F6702-A1, identified by Linux as Feroceon 88FR131 rev 1 (v5l)) RAM 256 MB USB 1 USB2.0 Port (rear) LAN Unknown GBe Cooling fan (unknown, probably similar to ADDA AD045HB-G73) Kernel 2.6.31.8 #1 armv5tel Samba 3.5.15 C library gcc-4.3-mt-1.44.0text/html2017-07-21T17:51:22+03:00dns-321
http://dns323.kood.org/dns-321?rev=1500648682&do=diff
The DNS-321 is often considered the little brother of the DNS-323. It has a slightly slower CPU (400 vs 500), no USB port, but it does have more flash (16mb vs 8mb). Here is some info gathered from a unit with hardware version A2 running firmware 1.03. Please note that it appears that units labeled version A2 on the outside are labled as A1 on the motherboard itself.text/html2017-05-10T13:31:39+03:00wiki:user:jzhuge - PoMPxOhE9l
http://dns323.kood.org/wiki:user:jzhuge?rev=1494412299&do=diff
<a href=“<http://bakjkl.com>”>Eceiomnos</a> are in dire straits, but I can count on this!text/html2017-04-08T18:27:49+03:00howto:telnet - Grammar
http://dns323.kood.org/howto:telnet?rev=1491665269&do=diff
Before you even try this, please be :!: WARNED :!: that using telnet to your DNS-323 you can very easily brick your unit.
Enabling Telnet without modifying the firmware
An easy way to enable Telnet without modifying your firmware is to install Fonz funplug. (More info here). You can rollback your changes (and remove telnet access) later on by simply removing Fonz funplug files and reboot.text/html2017-01-12T23:48:47+03:00talk:hardware:fan - old revision restored
http://dns323.kood.org/talk:hardware:fan?rev=1484257727&do=diff
hardware:fan is taken from fan.
Perhaps the software portions of this entry should be separated from the hardware portions. I'm just not sure where to put them yet..
There is no need to brake this topic in half, I think you can add fan software portion also in here. --- sala 2007/02/07 08:41text/html2017-01-12T23:44:39+03:00talk:howto:chroot_debian - old revision restored
http://dns323.kood.org/talk:howto:chroot_debian?rev=1484257479&do=diff
Consider developing proper bootstrap method instead of unpacking already working system.
Look: <http://dns323.kood.org/dsmg600/howto:chroot_debian>
I think it would really be interesting to see how to combine the debian installation with Fonz's FFP-reloaded approach for booting a new kernel. Has anyone tried this yet?text/html2017-01-12T23:28:10+03:00howto:backup - old revision restored
http://dns323.kood.org/howto:backup?rev=1484256490&do=diff
This is a step-by-step tutorial on how to set up your DNS-323 for backup. The contents were copied from the following threads:
* Tutorial: Backup Everything from Vol A to Vol B once a night by Chumby
* DNS-323 Rsync Time Machine! by raid123
* DNS-323 Online Backup service announcement.text/html2017-01-12T23:24:24+03:00software:kernel - old revision restored
http://dns323.kood.org/software:kernel?rev=1484256264&do=diff
Differences D-Link vs. Mainline
The D-Link provided Linux kernels shipped so far up to firmware 1.03 are derived from Marvell's BSP for their Reference Designs. In the meantime, there is an effort to push support for the Orion SoC family into mainline. The following table tries to sum up the differences:text/html2017-01-12T23:19:53+03:00howto:custom_firmware
http://dns323.kood.org/howto:custom_firmware?rev=1484255993&do=diff
João Cardoso has made a replacement firmware. This is in active development as at Jun 2016 and is successful on rev B hardware with C close to completion.
The firmware can be flashed over the existing Dlink firmware or used in a 'reloaded' fashion, loading after Dlink firmware.text/html2016-09-03T18:54:19+03:00hardware:autopoweron - there is a difference bw text and drawing on transistor wiring. please review!
http://dns323.kood.org/hardware:autopoweron?rev=1472918059&do=diff
As a manufacturer of embedded computers we have a special appreciation of the DNS-323 -- it's a beautiful little embedded network server. We're using it as a backup server where it's important that it resumes its duties after a power failure. So we needed a circuit to automatically turn it on a short while after AC line voltage is restored after a power down from a UPS-signaled power failure or other power failure. It seems to work well, so we thought others might find it useful.text/html2016-02-15T11:39:07+03:00howto:crosscompile - old revision restored
http://dns323.kood.org/howto:crosscompile?rev=1455529147&do=diff
Pre-compiled Binaries
If, for whatever reason, you cannot compile the source code below, pre-compiled binaries are available from the uClibc website here as of May 17th. You can also download a native compiler, to compile programs for the device, on the device here. The cross-compiler is around 55MB when unpacked, and the native compiler around 35MB.text/html2016-02-15T11:39:01+03:00howto:fun_plug - old revision restored
http://dns323.kood.org/howto:fun_plug?rev=1455529141&do=diff
Creating a fun_plug file on your hard disk allows you to run a custom boot script. This feature allows additional software to run on the DNS-323.
The most popular fun_plug implementation is Fonz fun_plug. For a good set of tutorial see ffp.
How fun_plug works:
When the DNS-323 boots it reads /etc/inittab which will execute the /etc/rc.sh script, just as the DSM-G600:text/html2016-02-15T11:38:49+03:00hardware:usb - old revision restored
http://dns323.kood.org/hardware:usb?rev=1455529129&do=diff
USB Hacks/Mods
* How To Mount an External USB Drive to your DNS-323
* Forum: USB Hub Hookup, Multi-Device Connections!
USB Details:
* “Marvell USB EHCI Host controller” - Source: magore - serial console log
USB Photos - In Context:
Disassembly pictures[1 - cover off][2 - exterior][3 - on board]
My DNS-323 with B1 hardware has 88F5182 chip onboard. There are two usb controllers inside the chip, but the DNS-323 itself gives us access to only one controller. I (bas) discovered the way…text/html2016-01-06T19:06:16+03:00dns-343
http://dns323.kood.org/dns-343?rev=1452099976&do=diff
Here we share information about the DNS-343, a.k.a. “The one with the fancy OLED screen”
<http://images.dlink.com/new/products/DNS-343-4TB/DNS-343-4TB_front.png>
Serial PIN Headers
There are two on the underside of the board that protrudes through the middle of the unit, between the top two and bottom two slots - frustratingly enough the one you want is not JP2 at the front of the board, but instead JP4, which is also conveniently obscured by a rail. serial has a the guide on how you hoo…text/html2015-01-22T07:48:05+03:00hardware:serial
http://dns323.kood.org/hardware:serial?rev=1421905685&do=diff
WARNING: attaching a serial port will certainly void your warranty and could destroy your unit.
Serial Connector Basics
* The serial connector is at CON4, a white connector inbetween the two drive leds.
* This is a 3.3V TTL serial port, common on many hardware devices.
* You CAN NOT connect it directly to a PC serial port, you will need a level shifter, a popular (and simple) chip for this is the MAX232
* Warning: Do not use 5v signals - you might damage the CPU
* TX is the outgoi…text/html2014-03-03T23:19:09+03:00howto:bittorrent
http://dns323.kood.org/howto:bittorrent?rev=1393881549&do=diff
Various torrent options are available. Please help expand this topic.
Dlink Torrent Client
Since v1.0.5 of the official firmware, bittorrent downloading has been included as standard. With v1.0.6, it has been improved through easysearch ”<ftp://ftp.dlink.com/Multimedia/dns323/Apps/easy_search_utility_4400.zip>”text/html2014-01-28T11:30:17+03:00howto:chroot_debian
http://dns323.kood.org/howto:chroot_debian?rev=1390901417&do=diff
Please feel free to update, cleanup or correct this page
What is this? This document shows how to setup Debian on the DNS-323.
Note: this technique installs a Debian environment into the existing system, and does not require you to reflash or hack the NAS.text/html2013-05-24T19:37:12+03:00howto:cron
http://dns323.kood.org/howto:cron?rev=1369413432&do=diff
Supposing you already know what cron is, here is how you enable cronjobs on your NAS. Below are two ffp scripts, one for enabling the service, and the other for cronjobs.
/ffp/start/crond.sh - The service
#!/ffp/bin/sh
# PROVIDE: crond
# REQUIRE: LOGIN
. /ffp/etc/ffp.subr
name="crond"
start_cmd="crond_start"
stop_cmd="crond_stop"
status_cmd="crond_status"
crond_start()
{
cronfile=/var/run/crond.pid
#get the pid, if it exists
if [ ! -f $cronfile ];then
crond -b -L /mnt/HD_a2/log…text/html2013-04-25T22:49:31+03:00talk:howto:backuppc
http://dns323.kood.org/talk:howto:backuppc?rev=1366919371&do=diff
I could not get the Lightspd cgi component to work properly until I enabled the auth module and set a username and password on the cgi-bin directory. BackupPC uses the REMOTE_USER env to check if you are logged in.
To set this up I uncommented the “mod_auth” line and addedtext/html2013-02-04T15:41:03+03:00information:dlink_files:102b114:etc:rc.sh - old revision restored
http://dns323.kood.org/information:dlink_files:102b114:etc:rc.sh?rev=1359985263&do=diff
/etc/rc.sh
-rwxr-xr-x 1 root root 12608 Jan 3 22:34 rc.sh
#!/bin/sh
mount -o remount -w %root% /
#+Wilson12202005,removed due to repeatedly soft link
#custom info link
#ln -s /sys/crfs/codepages /etc/samba/codepages
#ln -s /sys/crfs/etc_codepage/codepage /etc/codepage
#ln -s /sys/crfs/web_page /web/web
#ln -s /sys/crfs/upnp/upnpscript /bin/upnpscript
ln -s /sys/crfs/default /default
ln -s /sys/crfs/sbin/chkmtdversion /bin/chkmtdversion
#Wilson12202005+
/usr/sbin/mtd_check
e…text/html2013-02-04T15:40:47+03:00talk:howto:ffp-reloaded - old revision restored
http://dns323.kood.org/talk:howto:ffp-reloaded?rev=1359985247&do=diff
TODO:
/mnt/HD_xx mounts
Configuration files for some services have explicit references to /mnt/HD_xx. To keep the ffp-reloaded environment compatible, you can create the mount points and add entries to /ffp/etc/fstab. Example for /mnt/HD_a2:
# mkdir -p /mnt/HD_a2
# echo '/dev/sda2 /mnt/HD_a2 ext2 defaults 0 0' >>/ffp/etc/fstabtext/html2013-02-03T20:39:45+03:00howto:enable_disk_leds_in_mainline_kernel - old revision restored
http://dns323.kood.org/howto:enable_disk_leds_in_mainline_kernel?rev=1359916785&do=diff
It appears that blue disk leds are not blinking in mainline kernels (tried 2.6.26). To fix that, you'll need to change GPIO setting in drivers/ata/sata_mv.c:
static void mv6_enable_leds(struct mv_host_priv *hpriv, void __iomem *mmio)
{
#if 0
writel(0x00000060, mmio + MV_GPIO_PORT_CTL_OFS);
#else
writel(0x00000050, mmio + MV_GPIO_PORT_CTL_OFS);
#endif
}text/html2012-11-07T10:35:13+03:00howto:uboot
http://dns323.kood.org/howto:uboot?rev=1352277313&do=diff
* See also serial connections.
Monitor Mode
* Type the two keys SPACE and 1 before the monitor 3 second timeout.
Enabled Commands
The standard U-Boot on my B1 hardware has the following commands enabled:
Marvell>> ?
? - alias for 'help'
bootm - boot application image from memory
cp - memory copy
echo - echo args to console
erase - erase FLASH memory
loadb - load binary file over serial line (kermit mode)
md - memory display
printenv- print environment variables
…text/html2012-11-04T19:32:12+03:00hardware:jtag - old revision restored
http://dns323.kood.org/hardware:jtag?rev=1352050332&do=diff
WARNING: attaching a JTAG port will certainly void your warranty and could destroy your unit.
Please feel free to update, cleanup or correct this page.
What is this?
This document shows how to use the JTAG port on the DNS-323.
Requisites
* You need openocd OpenOCDinstalled on a linux box
* You can get the sources svn checkout svn://svn.berlios.de/openocd/trunk
* You need a JTAG cabletext/html2012-11-04T19:31:34+03:00information:dlink_files:102b114:etc:initab - old revision restored
http://dns323.kood.org/information:dlink_files:102b114:etc:initab?rev=1352050294&do=diff
/etc/inittab
-rw-r--r-- 1 root root 543 Dec 27 2005 inittab
# This is run first except when booting in single-user mode.
::sysinit:/etc/rc.sh
# /bin/sh invocations on selected ttys
#
# Must be first 'respawn' entries to avoid ^C problem
# Start a shell on the console
::respawn:-/bin/sh
#::respawn:/sbin/getty 9600 -
#tty2::respawn:/sbin/getty 9600 tty2
# Start an "askfirst" shell on /dev/ttyS1
#ttyS1::askfirst:-/bin/sh
#
# Start internet super daemon; do NOT background!
#…text/html2012-11-04T19:31:07+03:00playground:playground - old revision restored
http://dns323.kood.org/playground:playground?rev=1352050267&do=diff
PlayGround
testtext/html2012-11-04T19:30:41+03:00howto:cleanboot - old revision restored
http://dns323.kood.org/howto:cleanboot?rev=1352050241&do=diff
Problem
When you install fun_plug in your DNS-323 or CH3SNAS box, it runs most of the programs from the mounted hard disks, so it prevents them from being unmounted cleanly.
You have this problem if your dmesg shows the following line:
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
Solution
Cleanboot will modify the reboot & shutdown process to overcome this issue, allowing you to cleanly reboot or shutdown your box.text/html2012-11-04T19:29:51+03:00howto:optware - old revision restored
http://dns323.kood.org/howto:optware?rev=1352050191&do=diff
Taken from [announce] optware/dns323 to build 1000+ ipk's by bzhou.
This guide installs ipkg, a method to install packages built to run on the dns-323. There are quite a few now, check them out here
First you will need to enable telnet access to your DNS323:text/html2012-10-18T17:40:35+03:00howto:mac_osx_users - fix links
http://dns323.kood.org/howto:mac_osx_users?rev=1350571235&do=diff
This page is intended to offer some guidance to Mac users. The DNS-323 natively supports SAMBA (Windows) shares and so technically this means it supports Mac users, but there are a few things that you can do to make your lives a little easier!
NOTE: There have been a lot of complaints about SMB access since Snow Leopard. There seems to be some confusion about TCP ports for SMB file shares, but if you're explicit when you try to connect that may solve your problem. From the Finder, CMD+K pops…text/html2012-09-06T15:18:16+03:00howto:munin_monitoring
http://dns323.kood.org/howto:munin_monitoring?rev=1346933896&do=diff
Munin is a lightweight and simple monitoring system. It can gather statistics from different networked machines, including NAS devices like DNS-323. Munin consists of a master that collects, stores and visualizes data from a number of nodes, and this tutorial describes how to configure DNS-323 to act as a Munin node.text/html2012-08-25T15:41:13+03:00information:benchmarks - old revision restored
http://dns323.kood.org/information:benchmarks?rev=1345898473&do=diff
A benchmark is a test that measures the performance of a system or subsystem on a well-defined task or set of tasks. Benchmarks can be used to measure general things, like graphics, I/O, computing (integer and floating point), performance, etc. But most measure more specific tasks, like rendering polygons, reading and writing files, or performing operations on matrixes.text/html2012-08-21T01:52:54+03:00download - old revision restored
http://dns323.kood.org/download?rev=1345503174&do=diff
Currently all downloadable files are located at related Wiki pages. For example telnet binary is at telnet how-to page.
Files are also browseable through media manager.
Also look here: ffp packagestext/html2012-08-12T23:33:38+03:00howto:openvpn
http://dns323.kood.org/howto:openvpn?rev=1344803618&do=diff
Brief Note
This tutorial also works with DNS320.
If you are looking to setup a OpenVPN Access Server box with NAT routing/bridging capabilities, look away. Our default kernel does not have iptables inbuilt or any alternatives. Building one not easy unless you are able to find the right dependencies and compile the right stuffs over (cross-compile).text/html2012-06-20T11:13:33+03:00howto:chroot_debian:resolv.conf - old revision restored
http://dns323.kood.org/howto:chroot_debian:resolv.conf?rev=1340180013&do=diff
sample /etc/resolv.conf
search wan
nameserver 192.168.0.1text/html2012-05-25T00:20:41+03:00howto:vsftpd - Fixed broken link to old wiki
http://dns323.kood.org/howto:vsftpd?rev=1337894441&do=diff
This is my first attempt at documentation so please don't hold anything against me if it is not clear. I like “vim” as my editor and have that installed so I will use that but feel free to use any other editor like “joe” if you feel more comfortable with it. Thanks to fonz for helping me out with my installation. This wouldn't be possible without him!text/html2012-02-26T14:09:48+03:00howto:serial_level_adapter
http://dns323.kood.org/howto:serial_level_adapter?rev=1330258188&do=diff
These directions will only be helpful if your PC has an old-school serial port, and even then it's a lot of work. It's far easier to purchase a USB to +3.3V level shifter to get the job done.
To adapt 3.3 TTL logic from NAS to +15/-15 PC serial, you can build your own converter. This schema is from Sodoityourself with two errors corrected and explicit pinout for DB-9 female.text/html2011-11-12T23:11:10+03:00howto:anacron
http://dns323.kood.org/howto:anacron?rev=1321132270&do=diff
Backup-Jobs: anacron vs. cron
cron
cron schedules execution of commands for certain times as given in crontab. But: If your DNS 323 has been switched off, execution is simply missed.
anacron
anacron makes sure that commands as given in /etc/cron.{hourly,daily,weekly,monthly}/ are executed exactly once in the apropriate period of time if system-uptime allows. As long as your NAS does not run 24h/day, anacron this is what you need to trigger f.e. daily/weekly/monthly rotating rsnapshot-backup…text/html2011-11-09T19:40:27+03:00navigation
http://dns323.kood.org/navigation?rev=1320860427&do=diff
* Main Page
* Forum
* Downloads
* IRC channel
* Recent Changes
* Site map
* Help
----------text/html2011-10-25T13:47:05+03:00howto:hid
http://dns323.kood.org/howto:hid?rev=1319539625&do=diff
Through the USB port on the DNS-323, one could, theoretically, attach mice, keyboards, joysticks and gamepads to the device.
Information
To use devices with the linux kernel we need two things: a kernel object file for that specific device, and the relevant device node numbers. Kernel modules can be compiled from the GPL files, but if you can't be bothered, a selection of precompiled files can be found here: <http://dev.skcserver.de/dns323/modules_v1.03/kernel/drivers/>. The device node numbe…text/html2011-07-03T21:55:17+03:00howto:twonkyupnpserver - Grammar
http://dns323.kood.org/howto:twonkyupnpserver?rev=1309719317&do=diff
This will allow proper UPnP serving to Playstation 3 & XBOX360 Consoles - something a lot more interesting now that they both support mpeg4 (Divx/Xvid) Codecs. UPnP is improved in 1.04 firmwares but this will add the feature to 1.03 Firmwares. This tutorial is originally from here - PS3 Forumstext/html2011-05-18T12:51:18+03:00talk:howto:bettersamba - created
http://dns323.kood.org/talk:howto:bettersamba?rev=1305712278&do=diff
IMO, this page is a bit, err, forceful about the whole bricking thing.
“If there's CR+LF newlines in your configuration file, you will SURELY brick your unit.”
Really? At worst you would break samba, and even that's unlikely.
---- Hamishtext/html2011-05-16T00:19:03+03:00information:firmware_info
http://dns323.kood.org/information:firmware_info?rev=1305494343&do=diff
Testing on v1.08 on a C1 DNS-323
Note: I haven't tested writing to most of these devices, for fear of bricking my unit. Testers wanted!
Boot process
* You press the power button
* The device powers on
* The bootloader image is loaded from the flash chip: 0x7D0000 - 0×800000
* The bootloader loads the kernel image: 0×20000 - 0x1A0000
* The kernel copies the environment to the RAM: 0x1A0000 - 0x7D0000 to /dev/ram0
* The kernel runs /etc/inittab, gathering that /dev/ram0 is the roo…text/html2011-05-09T19:43:45+03:00howto:encrypted_partitions
http://dns323.kood.org/howto:encrypted_partitions?rev=1304959425&do=diff
It is possible to use losetup and friends to have encrypted partitions on your DNS 323. Currently, this is only possible for the 1.03, 1.05, 1.10b7 firmware, unless you fancy compiling your own kernel modules (see crosscompile). But be aware that this will have a huge impact on performance (expect to get about 10% the performance of normal disk access...)text/html2011-04-21T17:13:20+03:00talk:playground:playground
http://dns323.kood.org/talk:playground:playground?rev=1303395200&do=diff
Testing signature --- <levon.sa@gmail.com> 2011/04/21 17:12text/html2011-01-28T08:02:10+03:00howto:subversion - grammar fix
http://dns323.kood.org/howto:subversion?rev=1296194530&do=diff
Issues
Before you install (or buy this NAS), you must know SVN is not very fast on this NAS. Don't expect speeds above 400 kB/s.
Installation with Fonz Fun Plug (FFP)
ssh or telnet to your NAS.
cd /mnt/HD_a2/ffp/pkg/packages/
funpkg -i apr-1.2.12-2.tgz
funpkg -i apr-util-1.2.12-1.tgz
funpkg -i neon-0.25.5-1.tgz
funpkg -i subversion-1.5.2-1.tgz
mkdir /mnt/HD_a2/{SVNDIR}
cd /mnt/HD_a2/ffp/start/
vi svnserve.shtext/html2011-01-12T10:36:15+03:00howto:change_share_name - More details re: new version configuration files being gzip compressed
http://dns323.kood.org/howto:change_share_name?rev=1294821375&do=diff
This HOWTO walks you through changing the default share name(s) Volume_1 to one of your choosing (constrained only by smb valid share names).
WARNING
NOTE - Saving the configuration file in Unix format (LF terminators rather than CRLF) is CRITICALtext/html2010-12-12T00:56:14+03:00howto:php:filemanager
http://dns323.kood.org/howto:php:filemanager?rev=1292108174&do=diff
if you have php running on the DNS-323 here are some file managers that work.
simply put the files in the web directory and they will run.
it can be downloaded here <http://phpfm.sourceforge.net/>
from MrSputnik
The only thing I had to do was to create a symlink for tempoary files:
mkdir /mnt/HD_a2/tmp
ln -s /mnt/HD_a2/tmp /var/tmptext/html2010-11-12T03:08:02+03:00howto:bettersamba - replace mv command by cp command, otherwise ${FUNPLUGDIR}/etc/smb.conf will be deleted
http://dns323.kood.org/howto:bettersamba?rev=1289524082&do=diff
The samba server on the device is pretty crippled for a few reasons:
* No ability to authenticate against another server
* No fine-grained access control via the web interface (e.g. write-only dropboxes, etc)
There are a few ways to get around this. One option is to edit the firmware /etc/samba/smb.conf. Really, you need to keep an edited copy on the hard disk, and write a fun_plug script to copy the new version to ramdisk after the machine boots, then restart the samba server (and thu…text/html2010-10-15T19:13:32+03:00hardware:gpio - MPP/GPIO Mapping for rev. C1
http://dns323.kood.org/hardware:gpio?rev=1287159212&do=diff
The following information was deduced by reading the D-Link supplied DNS323 2.6.12.6 kernel source together with empirical reverse engineering.
GPIO Pin # GPIO Mask Direction Purpose 0 0×0001 Input unknown 1 0×0002 Output right amber LED (= sata ch0 LED) (low-active) 2 0×0004 Output left amber LED (= sata ch1 LED) (low-active) 3 0×0008 Output unknown 4 0×0010 Output power button LED (low-active, together with pin #5) 5 0×0020 Output power button…text/html2010-10-02T21:26:08+03:00howto:subversion:apache2
http://dns323.kood.org/howto:subversion:apache2?rev=1286043968&do=diff
A lot of this wiki is borrowed from the subversion install-manual, and spiced up with some experience :-)
During the build anc configure process you might need some packages.. Just get them by apt-get, and retry.. Quite easy.
Running the Apache2 server is quite limited, but it works great, and finally I can get through “stupid” corporate firewalls (port 80).text/html2010-09-28T17:41:59+03:00howto:external_drive - Added UTF8 option
http://dns323.kood.org/howto:external_drive?rev=1285684919&do=diff
The DNS-323 does not support external discs, but a small hack allows you to use them on the unit anyway. Before you even try this, you need to have telnet access to your device.
Note: If you're a linux newbie and the steps below are too difficult for you, there is more background information and a set of “steps for dummies” to connect external USB drives to the DNS-323 at Attaching USB Storage to the DNS-323 for Linux Newbies & Dummies.text/html2010-08-31T02:42:00+03:00howto:backup_-_pc - old revision restored
http://dns323.kood.org/howto:backup_-_pc?rev=1283211720&do=diff
An interesting article titled “DNS323 RSync Time Machine!” was posted here on the DNS323 forum. The author, raid123, brought to light some very interesting information regarding use of RSync's hard links. Following implementation of such on my NAS I couldn't help but wonder if a similar approach could be used to backup data from three Windows based PC's located throughout the household. Following a brief search of the Internet I was pleased to see tools capable of assisting in this regard we…text/html2010-08-29T15:38:06+03:00howto:changehomedir - typo
http://dns323.kood.org/howto:changehomedir?rev=1283085486&do=diff
This is important if you want multiple users to access your NAS through SSH, or just simple have a home directory for settings in shell commands such as midnight commander. By default, new users made on the webinterface do not have a home directory. First thing to do is create those directories and give ownership:text/html2010-08-26T20:26:40+03:00howto:open_ports_ftpd
http://dns323.kood.org/howto:open_ports_ftpd?rev=1282843600&do=diff
The ftp deamon included in the DNS-323 with firmware before 1.04 is WU-FTPD version 2.6.2. Unfortunately, this version contains a major security issue and we can only hope that D-Link upgrades to a more recent version, i.e. a fully patched 2.6.2 would be the best.
More information about these security issues can be found at the WU-FTPD homepagetext/html2010-07-20T18:06:05+03:00howto:simple_fun_plug_stepbystep
http://dns323.kood.org/howto:simple_fun_plug_stepbystep?rev=1279638365&do=diff
Hardware
HW: 2 x Samsung 501LJ (500GB)
Preparation
* hook up LAN cable to FRITZbox and power DNS323
* open firefox and connect to FRITZbox (in my case via <http://192.168.178.1/> or <http://fritz.box> and password)
* if you don't see the web UI you may have the wrong address. If this has been assigned by a router attached to you LAN the easiest way to find this is using the windows only D-Link set-up utility.text/html2010-06-11T20:06:28+03:00howto:lighttpd_php - required change for extensions directory
http://dns323.kood.org/howto:lighttpd_php?rev=1276275988&do=diff
First, set up your crosscompile toolchain. Download . Extract, edit the file to correct the bug in tar xvfz zips/.tar.gz --> tar xvzf zips/$APP-$APP_VER.tar.gz and then execute.
Quick helper: Also note that you need to create a /zips/ folder (or add it to the above script right after [if ! -f zips ]), otherwise the script breakstext/html2010-04-04T12:44:59+03:00howto:firefly - added possibility to install FireFly Server as software package from firmware 1.08 onwards
http://dns323.kood.org/howto:firefly?rev=1270374299&do=diff
The DNS-323 is delivered with an iTunes Server included. This server is the open source mt-daapd server, version 0.2.4.This is the recommended stable release of mt-daapd which also supports iTunes 6.0.4.
After 0.2.4, mt-daapd evolved into FireFly, self-titled to be The best open-source media server for the Roku SoundBridge and iTunes. FireFly is work-in-progress, but Roku has decided that one of the nighly builds are good enough for their customers and released version 1.0.text/html2009-08-13T18:08:56+03:00start - dns-321 link
http://dns323.kood.org/start?rev=1250176136&do=diff
This is a little site about DNS-323/DNS-321 and Conceptronic CH3SNAS which is low-end 2 SATA Drive Bay network-attached storage (NAS) with RAID0/RAID1/JBOD feature.
To edit this wiki you need to register at our forum, also take a look into syntax info. =)text/html2009-07-04T09:36:44+03:00howto:securing_sftp
http://dns323.kood.org/howto:securing_sftp?rev=1246689404&do=diff
Introduction
This how-to will show you how to create a public chrooted environment for sftp/scp. It will also show you how to protect you ssh server from brute-force attacks
Prerequisite
* You'll need Debian and some some *nix experience
* Install the compilers:text/html2009-05-18T13:28:14+03:00talk:howto:subversion - About Subversion on Lenny.
http://dns323.kood.org/talk:howto:subversion?rev=1242642494&do=diff
I've tried Subversion + Apache2 (mod_dav_svn) on Debian Lenny, and authentication works out of the box. But I can't force Apache2 to work in UTF-8 locale, so that my reposytories with cyrillic names was reachable.text/html2009-05-13T12:54:30+03:00howto:multiplesshusers
http://dns323.kood.org/howto:multiplesshusers?rev=1242208470&do=diff
How do you allow different users to access your NAS with SSH?
Use the NAS web-interface to add a user (test in this case) to the device.
if you type at the prompt: cat /etc/passwd it will show.... test:x:504:504:Linux User,,,:/home/ftp:/bin/sh
The problem is that the path for the Shell sh or bash is not correct: :/bin/sh should be /ffp/bin/sh, the same as with the root account.text/html2009-03-25T08:05:07+03:00howto:reduce_clock_drift - added note on chmod'ing the script
http://dns323.kood.org/howto:reduce_clock_drift?rev=1237961107&do=diff
The DNS-323 (like most computer devices) has two clocks - the “hardware clock” that runs all the time, and the “system clock” that runs only while the computer is on. To measure and reduce the system clock drift you will need:
* telnet access to your DNS-323
* a busybox binary with the adjtimex function defined (from here or here) The D-Link provided /bin/busybox (FW v1.02b) does NOT have adjtimex defined
* internet access to a NTP time server (or a time server on your local net…text/html2009-01-24T06:30:38+03:00howto:smartd_email - created
http://dns323.kood.org/howto:smartd_email?rev=1232771438&do=diff
ffp 0.5 has the option to enable the SMART monitoring tools.
If you want to set SMART up to email you it will require some further configuration.
I have found the best solution is to use a script file that is called by the smart daemon
#!/ffp/bin/bash
# /ffp/sbin/smartd_mail.sh
SMARTMESSAGE=/ffp/tmp/msg
FROMADDR=email@domain.org
if [ ! -n "${SMART_DEVICETYPE+x}" ]; then
SMART_DEVICETYPE=marvell
fi
# Save the email message (STDIN) to a file:
cat > $SMARTMESSAGE
# Append the output of sma…text/html2008-12-31T19:51:04+03:00howto:vlan - Mostly formatting changes
http://dns323.kood.org/howto:vlan?rev=1230745864&do=diff
The DNS-323 can support 802.1q vlans/frame tagging. The native kernel does not support this, however. To make it work, you must load an 8021q.ko kernel module into your kernel. You should have a chroot debian install to accomplish this. I will spare you the trouble of having to compile the module yourself.text/html2008-12-06T22:24:17+03:00howto:armedslack
http://dns323.kood.org/howto:armedslack?rev=1228595057&do=diff
<http://www.armedslack.org/>
ARMedslack is a port of the Slackware® Linux distribution to the ARM architecture.
IMPORTANT:
* Currently, the kernel only works on DNS-323 rev A1
* This HOWTO assumes that you have configured two separate disks. If you're running RAID, you're on your own.text/html2008-11-11T16:06:54+03:00hardware:sound
http://dns323.kood.org/hardware:sound?rev=1226412414&do=diff
This guide explains how to connect a generic linux-compatible USB sound card to the CH3SNAS/DNS-323. In this example, a Conceptronic USB Sound adapter was used. It is a thumbdrive-size usb-stick based on the C-Media CM108 chipset, and features a stereo in- and output jack.text/html2008-11-07T12:25:32+03:00howto:subversion:fun_plug_native
http://dns323.kood.org/howto:subversion:fun_plug_native?rev=1226053532&do=diff
There are two ways to install subversion by either a) installing debian and chroot-ing into it (howto) or b) installing natively by cross-compiling subversion to run natively on the DNS 322. This page describes the latter (b).
The easiest way to install subversion is to first download all the packages from the fonz packages directory. Then go and have a look at the packages.html. Click on subversion and it will tell you which files are required. So install them by running
funpkg -i FILENAME.…text/html2008-10-03T03:41:43+03:00wiki:user:icks - initial commit
http://dns323.kood.org/wiki:user:icks?rev=1222994503&do=diff
I am working with a rev B1 DNS-323.
* crosscompile with firmware 1.05
* encrypted_partitions with firmware 1.05text/html2008-10-03T02:37:14+03:00talk:howto:encrypted_partitions - speed measurements
http://dns323.kood.org/talk:howto:encrypted_partitions?rev=1222990634&do=diff
The Marvell 88f5182 have a cryptographic hardware (named “CESA”) thing that is allowing to reduce CPU usage while dealing with crypto stuff. If you check in the kernel, you'll see that this crypto hardware access is done using OCF.
A guy from Marvell did post a dm-crypt.c patch to allow using OCF for encrypted partitions, I didn't checked DNS323's kernel source, but I don't think that this patch have been applied on it ...text/html2008-09-03T22:19:50+03:00Tobiastalk:howto:ffp - removed obsolete comments
http://dns323.kood.org/talk:howto:ffp?rev=1220469590&do=diff
...text/html2008-05-03T00:46:37+03:00howto:php:oxyl - old revision restored
http://dns323.kood.org/howto:php:oxyl?rev=1209764797&do=diff
This information was taken from the forum <http://dns323.kood.org/forum/t686-Success-Oxyl-mediaserver-Pinnacle-ShowCenter-runs-fine.html>
Special thanks to Emacs (yes it should be cleaned up but tis for another day)
* Your DNS323 needs access to the Internet to start Oxyl (it checks for updates). Verify if this is working beforehand
* - Example: Telnet to the DNS323 and type “nslookup www.cnn.com” -> If you get a valid ip address returned, you are connected and have name resolu…text/html2008-01-20T19:46:22+03:00howto:chroot_debian:linuxrc - Added some package requirements
http://dns323.kood.org/howto:chroot_debian:linuxrc?rev=1200851182&do=diff
linuxrc
#!/bin/sh
#SYSLOG
/etc/init.d/sysklogd start
/etc/init.d/klogd start
# DEVFS (This is only needed for sarge)
/etc/init.d/devfsd start
# Makedev
/etc/init.d/makedev start
# PTYs
cd /dev
MAKEDEV ptyp
# NFS (You need to have portmap and nfs-user-server installed)
/etc/init.d/portmap start
#/etc/init.d/nfs-common start
/etc/init.d/nfs-user-server start
# Mail (You need to have exim4 installed)
/etc/init.d/exim4 start
# CRON
/etc/init.d/atd start
/etc/init.d/cron start
# INETD (Thi…text/html2007-12-13T18:21:57+03:00information:dlink_files:102b114:usr:sbin:chk_fun_plug - recovery from old revision
http://dns323.kood.org/information:dlink_files:102b114:usr:sbin:chk_fun_plug?rev=1197562917&do=diff
/usr/sbin/chk_fun_plug
-rwxr-xr-x 1 root root 301 Dec 27 2005 chk_fun_plug
#!/bin/sh
sleep 30
Dir_Len=28
Filename_Len=26
CUSTOMIZEHDPATH=/sys/custom/shared_name/HD
file=$(find "$CUSTOMIZEHDPATH"/*)
HD_Path=`expr substr "$file" "$Dir_Len" "$Filename_Len"`
HD_Path=$HD_Path"a2"
if [ -e /mnt/$HD_Path/fun_plug ]; then
echo "function plug enable"
/mnt/$HD_Path/fun_plug
fitext/html2007-10-03T09:44:39+03:00talk:howto:crosscompile - talk from article page
http://dns323.kood.org/talk:howto:crosscompile?rev=1191393879&do=diff
Pre-Compiled Binaries for DNS-323
Hey Admins, there should be a section for precompiled binaries for ease of use and so users can quickly get some binaries. I'd be willing to help contribute. --
You can upload files to wiki and along with that, write a proper how-to use this binary :) Other solution is to make fonz's fun_plug environment compatible packages which you can send to fonz and I am sure that he will post them on hes feed. --- sala 2007/10/03 09:37