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 2008-09-26 11:59:20

root75
New member
Registered: 2008-09-26
Posts: 2

initiate the dns-313 from linux

Hello,

I have bought a dns 313, and I do not have windows
Apparently the only way to initialize the box is provided via soft.
The box appears to have a minimum firmware, it does not ping etc ..
  after sniffing I see only udp broadcast out, it does not react to the USB port too.
How from Linux is it possible to push firmware?

Vincent

Offline

 

#2 2008-09-29 12:54:46

pcp
Member
From: Moravistan
Registered: 2008-04-23
Posts: 75

Re: initiate the dns-313 from linux

search the forums, there are some posts covering the topic

basically you'll need to create the partitions as the install script do, format the partitions to the ext2, create the /.boot directory on the sda2, and copy three files (zImage, rootfs.tgz, rd.gz) to this dir.
i did crazy things with tcpdump before i found out how to install the sys without windows. smile

Offline

 

#3 2008-10-09 17:16:47

Bdfy
New member
Registered: 2008-10-09
Posts: 4

Re: initiate the dns-313 from linux

files (zImage, rootfs.tgz, rd.gz) to this dir.

Where I can find this files (zImage, rootfs.tgz, rd.gz) etc ? In official firmware only 1 file without extension. From GPL sources ? Is GPL sources only a part of firmware DNS-313 ?

Offline

 

#4 2008-10-09 17:36:17

pcp
Member
From: Moravistan
Registered: 2008-04-23
Posts: 75

Re: initiate the dns-313 from linux

Bdfy wrote:

files (zImage, rootfs.tgz, rd.gz) to this dir.

Where I can find this files (zImage, rootfs.tgz, rd.gz) etc ? In official firmware only 1 file without extension. From GPL sources ? Is GPL sources only a part of firmware DNS-313 ?

you need to remove the 104byte header from the archive (DNS-313_2008.07.30-0857__1.02b04v2 or so). with this you'll get standard tar.gz archive, having these files inside

Offline

 

#5 2008-10-09 18:09:18

Bdfy
New member
Registered: 2008-10-09
Posts: 4

Re: initiate the dns-313 from linux

you need to remove the 104byte header from the archive (DN

dd if=DNS-313_2008.09.04-1305__1.03b01v2 of=./JOPA bs=8 skip=13 ?


dd if=./DNS-313_2008.07.30-0857__1.02b04v2 of=./1.tar.gz bs=8 skip=13
tar -xvf ./1.tar.gz
ls
zImage
rootfs.tgz
rd.gz
gunzip ./rd.gz
gzip: ./rd.gz: not in gzip format

Is it normal ?

Last edited by Bdfy (2008-10-09 18:27:12)

Offline

 

#6 2008-10-09 23:13:34

pcp
Member
From: Moravistan
Registered: 2008-04-23
Posts: 75

Re: initiate the dns-313 from linux

these files have the header too. if you intent to modify the ramdisk, strip the header, unzip it, and mount as a loop (-o loop)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB