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-06-01 00:58:13

scapitan
Member
From: Murcia (Spain)
Registered: 2008-05-22
Posts: 49
Website

install debian in a dns 313 for dummies

Iīm seraching a loot about install debian distribution to a 313 without favorable result.

Any body can make a guide for a stupid people like me????

Maybe there is a tutorial but I canīt find it.

Thanks....

Last edited by scapitan (2008-06-01 00:59:06)


DNS-313 / native running etch4.0r3 Thanks to CharminBaer
ZEN SOLUCIONES
http://www.zensoluciones.com  (Spanish)
http://www.zsred.com (Spanish)

Offline

 

#2 2008-06-01 11:11:05

CharminBaer
Member
From: Leipzig, Germany
Registered: 2008-04-25
Posts: 76

Re: install debian in a dns 313 for dummies

Look there,

download the system (about 100MB):

http://msbd.de/dns313/DNS-313_etch4.0r3_02.tgz

and the tutorials (german/english):

http://msbd.de/dns313/Installation.rtf
http://msbd.de/dns313/Install_en.rtf


DNS-313 / native running etch4.0r3...
and by now running lenny with all the features and no probs.

Offline

 

#3 2008-06-01 14:32:25

scapitan
Member
From: Murcia (Spain)
Registered: 2008-05-22
Posts: 49
Website

Re: install debian in a dns 313 for dummies

Thanks agains CharminBaer.

Iīm going to do it with my ubuntu, The debian comand are many familiar for me. I love apt-get....

every things must be do with the usb connector is it? Could do it with a 64 bits distributios?

Last edited by scapitan (2008-06-01 14:49:43)


DNS-313 / native running etch4.0r3 Thanks to CharminBaer
ZEN SOLUCIONES
http://www.zensoluciones.com  (Spanish)
http://www.zsred.com (Spanish)

Offline

 

#4 2008-06-01 18:19:26

CharminBaer
Member
From: Leipzig, Germany
Registered: 2008-04-25
Posts: 76

Re: install debian in a dns 313 for dummies

Ubuntu is perfect for this and 64Bit shouldnīt be a problem.

When connect the 313 to Ubuntu, observe the logfile to see, which device
(/dev/sda - sdb - sdc...) you will partitionize.


DNS-313 / native running etch4.0r3...
and by now running lenny with all the features and no probs.

Offline

 

#5 2008-06-01 21:58:07

scapitan
Member
From: Murcia (Spain)
Registered: 2008-05-22
Posts: 49
Website

Re: install debian in a dns 313 for dummies

Ok i m going to install it tonight.
I'll tell you about...


DNS-313 / native running etch4.0r3 Thanks to CharminBaer
ZEN SOLUCIONES
http://www.zensoluciones.com  (Spanish)
http://www.zsred.com (Spanish)

Offline

 

#6 2008-06-02 02:49:01

scapitan
Member
From: Murcia (Spain)
Registered: 2008-05-22
Posts: 49
Website

Re: install debian in a dns 313 for dummies

I did all the howto and I don't know how can i start the debian?
what i have to do?


DNS-313 / native running etch4.0r3 Thanks to CharminBaer
ZEN SOLUCIONES
http://www.zensoluciones.com  (Spanish)
http://www.zsred.com (Spanish)

Offline

 

#7 2008-06-02 09:00:09

CharminBaer
Member
From: Leipzig, Germany
Registered: 2008-04-25
Posts: 76

Re: install debian in a dns 313 for dummies

Turn the power on...
Yes, so simple. But what happens when you press the powerbutton?
Normally the powerled should go on and a few seconds later also the HDD-led. (blue)
Then you can hear the harddisk for a while. About 30 sec. later the HDD-led goes green,
booting Debian is now finished. (exactly the /etc/rc.local-script has finished)
Now you should be able to login with telnet. No idea about MacOS, but on Ubuntuīs shell
type:  "telnet dns-313", log in as root, the password is "passwd".


DNS-313 / native running etch4.0r3...
and by now running lenny with all the features and no probs.

Offline

 

#8 2008-06-02 10:43:54

scapitan
Member
From: Murcia (Spain)
Registered: 2008-05-22
Posts: 49
Website

Re: install debian in a dns 313 for dummies

CharminBaer wrote:

Turn the power on...
Yes, so simple. But what happens when you press the powerbutton?
Normally the powerled should go on and a few seconds later also the HDD-led. (blue)
Then you can hear the harddisk for a while. About 30 sec. later the HDD-led goes green,
booting Debian is now finished. (exactly the /etc/rc.local-script has finished)
Now you should be able to login with telnet. No idea about MacOS, but on Ubuntuīs shell
type:  "telnet dns-313", log in as root, the password is "passwd".

I did everithings, but my system is not workiig find, maybe there is a stupid things,
my artition table in de hard disk is that:
   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1         131     1052226   82  Linux swap
/dev/sde3   *         132         791     5293417   83  Linux
/dev/sde2             792       60801   482022292   83  Linux

I had format the sde2 with a ext3 partition, (2 hour to format) but the system doesn't recognoice that like a partition and can't mount it.

I think that maybe is for that. What do you think about?


DNS-313 / native running etch4.0r3 Thanks to CharminBaer
ZEN SOLUCIONES
http://www.zensoluciones.com  (Spanish)
http://www.zsred.com (Spanish)

Offline

 

#9 2008-06-02 11:07:43

CharminBaer
Member
From: Leipzig, Germany
Registered: 2008-04-25
Posts: 76

Re: install debian in a dns 313 for dummies

Oh, I see... Iīm not absolutely sure, but I think this is the problem:

Your sde3 is physically the 2nd partition on your HDD, but the bootloader is searching the 3rd partition with ext2 filesystem.

So you should make the steps of partitioning once more and take care to place the sde3 at the end of free harddisk-space.
Eventually you can later format the sde2 with ext3 to save time, I think the debian is anyway running.

Last edited by CharminBaer (2008-06-02 11:08:22)


DNS-313 / native running etch4.0r3...
and by now running lenny with all the features and no probs.

Offline

 

#10 2008-06-02 12:33:50

scapitan
Member
From: Murcia (Spain)
Registered: 2008-05-22
Posts: 49
Website

Re: install debian in a dns 313 for dummies

ok, I'll try that.
Do you know why when i format the sde2 partition (Volume_1) it's didn't mout it? I mind, afterpartitioning and format, the system can't recognoice the partition. the system say that the filesystem is not know. coul be becouuse the partition is 459 gb?
Thanks.

I get this error at partitioning the hd, (gparted:7422): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error·in the line·15:·the reference character Ŧ8ŧ not codect a allowed caracter

Last edited by scapitan (2008-06-02 15:40:05)


DNS-313 / native running etch4.0r3 Thanks to CharminBaer
ZEN SOLUCIONES
http://www.zensoluciones.com  (Spanish)
http://www.zsred.com (Spanish)

Offline

 

#11 2008-06-02 17:36:36

radir
Member
Registered: 2008-01-03
Posts: 68

Re: install debian in a dns 313 for dummies

CharminBaer wrote:

Look there,

download the system (about 100MB):

http://msbd.de/dns313/DNS-313_etch4.0r3_02.tgz

and the tutorials (german/english):

http://msbd.de/dns313/Installation.rtf
http://msbd.de/dns313/Install_en.rtf

CharminBaer,

Does your etch package support other than ext2/ext3 as user data partition (Volume_1)?

Some interesting filesystem benchmarks:
http://linuxhelp.150m.com/resources/fs-benchmarks.htm
http://www.debian-administration.org/articles/388
XFS or JFS can be better alternative of ext3 as DNS-313 is CPU limited in my opinion.

Thanks.

Offline

 

#12 2008-06-02 19:30:16

gorion
Member
Registered: 2008-05-31
Posts: 9

Re: install debian in a dns 313 for dummies

And how's about the power-saving? Does it work?

Offline

 

#13 2008-06-02 19:32:46

scapitan
Member
From: Murcia (Spain)
Registered: 2008-05-22
Posts: 49
Website

Re: install debian in a dns 313 for dummies

no things to do, almost work, but wen the hd led init to work, in about 30 seconds it stay blue and the network led doesn't work.
i had changed the hd becouse the other one can't partitioning. This one work fine and take the partition table correctly but also doesn't work.
I am afraid to brick the nas.
there is a solution?


DNS-313 / native running etch4.0r3 Thanks to CharminBaer
ZEN SOLUCIONES
http://www.zensoluciones.com  (Spanish)
http://www.zsred.com (Spanish)

Offline

 

#14 2008-06-02 22:36:58

CharminBaer
Member
From: Leipzig, Germany
Registered: 2008-04-25
Posts: 76

Re: install debian in a dns 313 for dummies

The Debian wasnīt really ready for download, but scapitan was so impatient...   roll

It has still some little bugs, powersaving didnīt working yet a.s.o...
By now only ext2/ext3 is supported by the kernel and NTFS by a module, but it should not be a problem making an specialised kernel with Support for other filesystems.

and @scapitan:
No fear! You never can brick the box, when you only work through USB with the disk! The one and only chance to brick the box is, when you try to flash the boatloader.
So letīs consider, what could be the problem...
- the partitions/filesystems arenīt well, but why?
- may be, the 64bit-Ubuntu makes some things other then 32bitīs ?
- 459GB is not the problem, but which system says, it canīt recognise the partition, Ubuntu64 or Debian-313?
- in fact, when the HDD-led stays blue after about 30 sec., Debian is not running...
- most importend thing: are there rootfs.tgz, rd.gz and zImage in the /.boot-directory?

I also had such problems at the beginning of my work with Debian, but I also have an serial console and can receive error-messages...
I had an older 80GB Seagate Harddisk, tried to install Debian. Partitionizing works fine, file-operations over USB too. But no way to boot from this HDD. The bootloader found the partition and the /.boot-directory, initial ramdisk is loading fine but then it says "no root partition found". Same problem is with the 750GB and 1TB Samsung drives.


DNS-313 / native running etch4.0r3...
and by now running lenny with all the features and no probs.

Offline

 

#15 2008-06-02 23:32:40

scapitan
Member
From: Murcia (Spain)
Registered: 2008-05-22
Posts: 49
Website

Re: install debian in a dns 313 for dummies

ok CharminBaer, it is a relief.

Today is not my day, I think that the most important things is that the hd must be break. Tomorrow Iīm going to change it for an other one, Becouse other hd can make a partition with no problem.

Thanks a lot....


DNS-313 / native running etch4.0r3 Thanks to CharminBaer
ZEN SOLUCIONES
http://www.zensoluciones.com  (Spanish)
http://www.zsred.com (Spanish)

Offline

 

#16 2008-06-03 21:24:14

woodypl
New member
Registered: 2008-06-03
Posts: 3

Re: install debian in a dns 313 for dummies

Hello,
I also tried to install etch on my new DNS-313 and follow charmingbear's instructions literally - to no avail.
Then I noticed a warning from mke2fs that 256-byte inodes are not compatible with older systems.

So I tried

Code:

 mkfs.ext2 -I 128 /dev/sdb3

, unpacked the archive and it booted like a charm.

The problem lies probably in a newer version of mke2fs and the bootloader of DNS-313. GRUB had a similar issue but now it is corrected.

scapitan, maybe this will help you.

Last edited by woodypl (2008-06-03 21:24:42)

Offline

 

#17 2008-06-03 23:29:03

CharminBaer
Member
From: Leipzig, Germany
Registered: 2008-04-25
Posts: 76

Re: install debian in a dns 313 for dummies

Seems, this is a very important info! Thanks for this feedback...

And at this moment I found another failure in the english tutorial.
Corrected, plz download it again:

http://www.msbd.de/dns313/Install_en.rtf

Last edited by CharminBaer (2008-06-03 23:41:12)


DNS-313 / native running etch4.0r3...
and by now running lenny with all the features and no probs.

Offline

 

#18 2008-06-04 00:58:36

scapitan
Member
From: Murcia (Spain)
Registered: 2008-05-22
Posts: 49
Website

Re: install debian in a dns 313 for dummies

Iīll try it tonight, thanks to donīt let me tonight....

tomorrow Iīll tell you...


DNS-313 / native running etch4.0r3 Thanks to CharminBaer
ZEN SOLUCIONES
http://www.zensoluciones.com  (Spanish)
http://www.zsred.com (Spanish)

Offline

 

#19 2008-06-04 13:55:08

scapitan
Member
From: Murcia (Spain)
Registered: 2008-05-22
Posts: 49
Website

Re: install debian in a dns 313 for dummies

Itīs working fine.

yoooo hhoooooo

thaks a lot......... a lot....... a l

I have installed samba server and ssh, but the samba is a little bit slow. I have a Gbits swich and all the lan is gb, but I get a 7mb/s.  Is it normal? Could be faster? Could be becouse the smb.conf is wrong or not optimized?

Which sources do you have? there is any ono to add??


Thanks to CharminBaer and woodypl for the best tutorial of the world.....


DNS-313 / native running etch4.0r3 Thanks to CharminBaer
ZEN SOLUCIONES
http://www.zensoluciones.com  (Spanish)
http://www.zsred.com (Spanish)

Offline

 

#20 2008-06-04 14:33:50

gorion
Member
Registered: 2008-05-31
Posts: 9

Re: install debian in a dns 313 for dummies

scapitan, which switch do you have? Did you check the cables?
I'm fighting with D-link DGS-1005D, 10/100 work fine but 1000 doesn't (switch and 313 connect each other, but there is a lot of corrupted frames even on 25cm cable, and samba transfer is slower than 10/100).

Offline

 

#21 2008-06-04 16:18:41

CharminBaer
Member
From: Leipzig, Germany
Registered: 2008-04-25
Posts: 76

Re: install debian in a dns 313 for dummies

Yes, we have similar experiences gained. And samba is under Debian neither faster nor slower like under the original FW. May be a problem with the small memory, may be a problem by network-driver or the kernel. (consider, itīs still the same kernel like DLinkīs) Many other users reportet about these corrupted frames when using Gigabit. There are still a lot of things to do...

But donīt expect too much from this cheap equipment, for an appropriate Gigabit-NAS must spend some cents more.

Last edited by CharminBaer (2008-06-04 16:27:39)


DNS-313 / native running etch4.0r3...
and by now running lenny with all the features and no probs.

Offline

 

#22 2008-06-04 17:11:41

scapitan
Member
From: Murcia (Spain)
Registered: 2008-05-22
Posts: 49
Website

Re: install debian in a dns 313 for dummies

CharminBaer I think so, Itīs a very low cost hardware but is enought to a home.

Iīll try to install afp protocol to compare with samba and Iīll tell you about. Maybe there are same samba parameters to change becouse I had gooten the same problem with a supermicro hardware and I was resolved by smb.conf modification.

Iīll tell you later.

Please, correct me my english if you want. Iīm spanish and the english lenguage is not easy for me.

I see that the fan is not working like before install debian, is it working with the debian distribution? there is any metod to configure it?

Last edited by scapitan (2008-06-04 23:37:42)


DNS-313 / native running etch4.0r3 Thanks to CharminBaer
ZEN SOLUCIONES
http://www.zensoluciones.com  (Spanish)
http://www.zsred.com (Spanish)

Offline

 

#23 2008-06-04 23:31:22

scapitan
Member
From: Murcia (Spain)
Registered: 2008-05-22
Posts: 49
Website

Re: install debian in a dns 313 for dummies

gorion wrote:

scapitan, which switch do you have? Did you check the cables?
I'm fighting with D-link DGS-1005D, 10/100 work fine but 1000 doesn't (switch and 313 connect each other, but there is a lot of corrupted frames even on 25cm cable, and samba transfer is slower than 10/100).

the swich is a linksys sd2005. The cable is make by me but, normaly I make the cables fine.

I have conected the swich to the computer with a very small cable, like 30cm, Iīm going to change it tor 3m now to probe your answer.
The nas is connected with a 8m cable.

I think that the swich is not very good, but is not a netgear or somethings like this.

What do you think about?


DNS-313 / native running etch4.0r3 Thanks to CharminBaer
ZEN SOLUCIONES
http://www.zensoluciones.com  (Spanish)
http://www.zsred.com (Spanish)

Offline

 

#24 2008-06-05 00:36:35

gorion
Member
Registered: 2008-05-31
Posts: 9

Re: install debian in a dns 313 for dummies

Could you post your ifconfig logs? I dont remember exactly parameters because I tested it a month ago (and my ifconfig based on busybox) , but here is a help link http://linux-ip.net/html/tools-ifconfig.html

Example, that's the interesting part:
RX packets:190312 errors:0 dropped:0 overruns:0 frame:0
TX packets:86955 errors:0 dropped:0 overruns:0 carrier:0

I received many errors & dropped frames (3-4%) that caused transfer to slow down to 6-7MB/s

Offline

 

#25 2008-06-05 00:59:30

scapitan
Member
From: Murcia (Spain)
Registered: 2008-05-22
Posts: 49
Website

Re: install debian in a dns 313 for dummies

This is the problem, look that:
egiga0    Link encap:Ethernet  HWaddr 00:1C:F0:94:14:EF
          inet addr:192.168.5.125  Bcast:192.168.5.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1600  Metric:1
          RX packets:162113 errors:1115 dropped:1193 overruns:0 frame:1106
          TX packets:73763 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:256
          RX bytes:237433707 (226.4 MiB)  TX bytes:4486703 (4.2 MiB)
          Interrupt:1 Base address:0xa000

How can i solve it?

Last edited by scapitan (2008-06-05 01:03:14)


DNS-313 / native running etch4.0r3 Thanks to CharminBaer
ZEN SOLUCIONES
http://www.zensoluciones.com  (Spanish)
http://www.zsred.com (Spanish)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB