DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2006-10-27 01:12:43

KRH
Member
From: Denmark
Registered: 2006-10-27
Posts: 219
Website

DNS-323

Hi i relly like the new D-Link DNS-323 and have ordered one.

if its as easy to hack as the G600 i relly look forward to that smile

budt how do i extract the filesystem from the firmware?

latest firmware is here ftp://ftp.dlink.com/Multimedia/dns323/F … re_101.zip

and source code is here ftp://ftp.dlink.com/GPL/dns323


First user to fun_plug the dns-323.

Offline

 

#2 2006-10-27 10:24:21

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: DNS-323

Yep, it's the same crappy D-Link firmware with fun_plug feature smile
Here's a command to extract it:

Code:

dd if=DNS323_firmware_101.01 bs=$((0x12ce9c)) skip=1 | gzip -dc > filesystem.ext2

At the root of file system, there is rc.sh that executes /usr/sbin/chk_fun_plug, which will check fun_plug at the root of hard disks and executes it, just as DSM-G600.

But you cant use any of DSM-G600 revB binaries because DNS-323 is ARM based device and DSM-G600 revB is powerpc based.


• DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
• NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#3 2006-10-29 19:14:17

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: DNS-323

KRH, nice work with DNS-323 page, if you are interested to share a forum then let me know, I can setup a separate forum section for DSN-323.


• DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
• NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#4 2006-10-29 19:17:34

KRH
Member
From: Denmark
Registered: 2006-10-27
Posts: 219
Website

Re: DNS-323

yes please smile


First user to fun_plug the dns-323.

Offline

 

#5 2006-11-21 09:30:09

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: DNS-323

Here are some internal pics:
http://www.tomsnetworking.com/2006/11/1 … page2.html
I think that Openwrt Kamikaze might run on this one when ARM port is completed.


• DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
• NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#6 2006-12-11 03:38:02

yaubi
New member
Registered: 2006-12-11
Posts: 4

Re: DNS-323

Hi KRH and all,
So, what do you finally think about the D-Link DNS-323 ? Is it easily hackable ? Could you tell us a bit about what's under the cover : cpu, flash, etc. I think I'm gonna buy one myself. I'd like to use it to play music on a USB audio device plugged on it, and tell it what to play through a tiny web interface. Do you think it would be able to do that ?
Thanks.

Offline

 

#7 2006-12-11 09:59:19

KRH
Member
From: Denmark
Registered: 2006-10-27
Posts: 219
Website

Re: DNS-323

Its pritty easy to hack it, you do it on the same way as the dsm-g600

the biggest problem for you is to get the usb audio device working whit drivers else i se no problems.


First user to fun_plug the dns-323.

Offline

 

#8 2006-12-19 01:27:29

senz
New member
From: Link๖ping, Sweden
Registered: 2006-12-19
Posts: 3

Re: DNS-323

new firmware available, havent tried it yet but look at the link below.

ftp://ftp.dlink.com/Multimedia/dns323/F … are_102.02

hmm..but there is something strange about the filename, couldnt open it in winrar. Or am I totally lost here?

wink

Last edited by senz (2006-12-19 01:29:49)

Offline

 

#9 2006-12-19 10:55:06

MiK
Member
From: Sweden
Registered: 2006-12-17
Posts: 102

Re: DNS-323

I think that is the "raw" bin file. Ie it's not RAR'd

Btw, that firmware is for North American DNS-323's, isn't it?

Last edited by MiK (2006-12-19 11:01:37)

Offline

 

#10 2006-12-19 15:03:40

KRH
Member
From: Denmark
Registered: 2006-10-27
Posts: 219
Website

Re: DNS-323

its same hw so it will work on all units.


First user to fun_plug the dns-323.

Offline

 

#11 2006-12-19 17:16:00

MiK
Member
From: Sweden
Registered: 2006-12-17
Posts: 102

Re: DNS-323

k, so have anyone tested v1.02 and can confirm that Ext3 and Scandisk have been removed?

Offline

 

#12 2006-12-19 22:21:46

gkaufman
Member
Registered: 2006-12-13
Posts: 6

Re: DNS-323

I've installed v1.02 and can confirm that EXT3 and Scandisk have been removed.

It seems solid and stable, at least based on my experience thus far.  Installation seemed to go ok once I wiped the partition tables on the drives using another system.

I've installed it on two systems - one has 2 x 500gb seagate and the second has 1x400gb and 1x300gb seagate drives, both formatted EXT2 as individual drives.

- Gary

Offline

 

#13 2006-12-19 23:32:04

MiK
Member
From: Sweden
Registered: 2006-12-17
Posts: 102

Re: DNS-323

I wonder if it will work without wiping on another system and only format after the upgrade?

Offline

 

#14 2006-12-22 06:25:27

jcatech
Member
From: Florida
Registered: 2006-12-20
Posts: 17

Re: DNS-323

So, I open my unit to investigate what is inside, then I compared and collected information from different sources and these are the results:

The heart of the DNS-323 is the Marvell 88F5181 Feroceon ARM CPU.
This CPU includes the following features:
Core speed 500MHz.
Front Bus speed 150MHz
DDR SDRAM controller
Gigabit Ethernet controller (10/100/1000 Mbps)
PCI-X controller.
PCI-Express x1 controller.
USB 2.0 Host controller.
DMA controller.
GPIO controller.
Intregrated XOR for RAID
Watchdog controller (for timing control)
Device controller interface, with support for Flash memory and several other types of devices connected via this interface.

To support the SATA hard drivers, the CPU connects to the Marvell 88SX7042 PCI-Express to SATA controller chip to provide a dedicated channel for each SATA port. This chip is compliant with both SATA 1.0 and SATA II.

For network connection, the CPU connects to the Marvell 88E1111 single-port Gigabit Ethernet transceiver chip.

The SDRAM memory is composing of two Nanya NT5DS16M16CS-6K DDR333 256Mbit chips; total 512Mbit or 32M x 16bit. The frequency clock for this memory is 166MHz. But most probably is just running at the front bus speed 150MHz.

The Flash memory is a Spansion S29GL064M90 64Mbit chip, organized as 4M x 16bit or 8M x 8bit. This chip connects to the CPU through a Texas Instruments ALVCH162260 12-bit to 24-bit multiplexed D-type latch chip.

The USB controller included in the CPU connects directly to the USB port.

There is a 3 volts CR2032 battery backup.

Also, there is a small white 4-pin connector in the middle of the board that connects directly to the CPU. So far, I do not know what it does.

Happy Holidays to all smile

Offline

 

#15 2007-01-21 04:50:27

someguy
Member
Registered: 2007-01-17
Posts: 47

Re: DNS-323

the cooling choice D-link implemented:

40mm fan is an ADDA AD0405HB-G73 - 10mm thick, 5 Volts, 0.25 Amperes.
Power = Current x Volts, so That's .25 Amperes x 5 Volts  ==  1.25 Watts for the fan if at full power.

It's a DC Brushless, High speed, Ball Bearing, 7blades, Motor protective circuit & third lead wire by integrated circuit with speed sensor (FG) according to the manual at the Adda website.

Though it's missing from the chart on their website here: http://www.addausa.com/specifications/up-40.pdf
It looks like it would probably be a 6000 rpm fan, with an airflow of 6.7 or 6.8 CFM, 0.100 (inches) pressure, sound of 25dB/A, and it weighs 24 grams. : ).

I read somewhere in the d-link marketing literature that they might temperature-control the fan speed, too, though I don't have details.

Offline

 

#16 2007-01-22 12:35:20

tuxdelux
New member
Registered: 2007-01-22
Posts: 1

Re: DNS-323

Hi KRH, Hi all,
What happened to KRH's website (dns323.info/sconck.se)? When will it be back on-line ?
I received my dns323 a few days ago and wanted to read as much as possible about it before flasing it with an alternative "firmware".

Offline

 

#17 2007-01-22 12:39:16

KRH
Member
From: Denmark
Registered: 2006-10-27
Posts: 219
Website

Re: DNS-323

It will be back later today i have som isp issus..


First user to fun_plug the dns-323.

Offline

 

#18 2007-01-22 21:21:30

Apskaft
Member
From: Karlskrona, Sweden
Registered: 2007-01-09
Posts: 165

Re: DNS-323

someguy wrote:

I read somewhere in the d-link marketing literature that they might temperature-control the fan speed, too, though I don't have details.

Maybe they'll fix it in next release ;-)

# # temperature

temperature - query and set the temperature sensor

Usage: temperature [function]

Functions:
h - show this help
w [1,2] degree - set temperature degree in register 1:Thyst 2:Tos
g [0~2] - get temperature in register 0:temperature 1:Thyst 2:Tos


# temperature g 0

Temperature type : Centigrade
<temperaturertc>: get temperature = 38
# temperature g 1

Temperature type : Centigrade
<temperaturertc>: get temperature = 75
# temperature g 2

Temperature type : Centigrade
<temperaturertc>: get temperature = 80



and....

# # cat fan.script

#temperature w 1 43
#sleep 1
#temperature w 2 47
#sleep 1
fanspeed w 0
sleep 1
fanspeed w 2500
sleep 5
fanspeed g > /tmp/fan_status


# # fanspeed h

fanspeed - query and set the FAN Speed control

Usage: fanspeed [function]

Functions:
h      show this help
w rpm, set fan speed(rpm range:1935~30000)
g      get fan speed
# # fanspeed g

4028


edit: Segmentation fault was due to an error between keboard and chair

/Apan

Last edited by Apskaft (2007-01-22 22:16:38)

Offline

 

#19 2007-01-22 22:06:18

skydreamer
Member
From: At the Atlantic Coast
Registered: 2007-01-06
Posts: 232

Re: DNS-323

DNS-323 hovercraft

#fanspeed w 30000
smile

Offline

 

#20 2007-07-08 17:34:36

MrTinkerWinker
New member
Registered: 2007-07-08
Posts: 1

Re: DNS-323

Hey y'all, I highly appreciate having found this forum!  I have a question, though...have any of you tried connecting more than 2 SATA drives to this unit?  I've read the linked-to wiki about what hardware's present in the DNS323 and it *sounds like* you could use one of these http://www.cooldrives.com/sahub5muussi.html to connect as many SATA drives as your heart desires (which, for my heart, is more than two...)

What do you say, anyone tried it?  Let's face it...getting more drives in there and *maybe* hacking the system for some sort of RAID is truly the ultimate hack tongue

Offline

 

#21 2007-07-08 22:36:47

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: DNS-323

I haven't tried it, and I won't say that it can't be done - but I will say this - that port multipliers have to be supported by the port hardware to which they are connected.

It's basically a high speed switch that connects the different drives to the port, but the port has to know which drive it needs connected and have the ability to send the switching commands.

Offline

 

#22 2007-07-11 18:16:06

zzmanlh
Member
Registered: 2007-07-11
Posts: 7

Re: DNS-323

I just purchased a Dlink-323 3 days ago and installed it to my system as a file and print server. My system is composed of 2 laptops (Hp Pavilion and Macbook),a multi-function printer (HP Deskjet F380),  the NAS (Dlink-323 with 2x500 Samsung SATA2) and a wireless router (Dlink Dl-624). I have succesfully installed all the components but failed in printing with the Macbook thru the NAS as print server. I would like to know the proper way of solving this problem. Please advise.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB