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

#51 2010-12-23 16:04:46

wiiguy1
Member
Registered: 2010-10-28
Posts: 28

Re: Debian Lenny on the NSA-220

i rather have it not tested on my nas
since i really need it

sad sry

Last edited by wiiguy1 (2010-12-23 20:36:18)

Offline

 

#52 2011-08-30 03:40:44

oleg_kob
New member
Registered: 2010-06-10
Posts: 1

Re: Debian Lenny on the NSA-220

Hi All,
I am from 96% you discuss. Installed Debian last year, 2 x WD Green 1.5Tb mirrored running from USB. minidlna, deluge, samba work as Swiss watch. 4 GB Usb Flash drive with about 2 Gigs of Debian system. I am using NSA220 as a file storage and mediaserver. 

Mijzelf,
Really appreciate your efforts. Hope other people from 96% would like join me in my thanks.

Oleg

Offline

 

#53 2012-03-17 22:09:16

refe
New member
Registered: 2012-03-17
Posts: 3

Re: Debian Lenny on the NSA-220

Hello,
i have a nsa220 with firmware version V3.24(AFB.1). (with fuplug 0.5 usbstick)
i want to install lenny debian firmware on it ... but it doesn't work.

i removed the funplug usb and started

put the needed 4 files in the root of my usb stick (other that funplug 0.5)
1. usb_key_func.sh (executable)
2. usb_key_func.salted_md5sum
3. the right nsa220_check_file i think
cat nsa220_check_file
/mnt/parnerkey/usb_key_func.sh
/mnt/parnerkey/usb_key_func.salted_md5sum
4. extract_me.tgz

if i format the usbstick (1 GB Kingston DataTraveler, or 4GB Kingston DataTraveler) ext2 or ext3 extract_me.tgz will not extract...the nsa220 seems that it's not booting from usb.
if i format the usbstick fat32/fat16 then the nsa220 it's booting from usb, extracts a part of the extract_me.tgz  (until /lib folder were it finds duplicates , from fat point of view he doesn't know to make the difference between ip6t_hl.ko and ip6t_HL.ko) ...

the funny thing is that i still got the telnet server up and running ...
so the question is... how to format usbstick?
why it's not working ext2 or ext3 ?(i have formated from another linux or from the nsa220 webpage with the same results)
why it's partial working with fat?
how can i troubleshoot this?

i can still see my hard drives  the 1GB usb it's mounted as /e-data/4F64-E48F/ and the raid 0 it's mounted as /i-data/d9110a10/

/mnt # fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1               1          16      128488+   8  Unknown
/dev/sda2              17       30401   244067512+  83  Linux

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1               1          16      128488+  83  Linux
/dev/sdb2              17       30401   244067512+  83  Linux

Disk /dev/sdc: 1001 MB, 1001324032 bytes
255 heads, 63 sectors/track, 121 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdc1               1         121      971901    6  FAT16

thanx,
have a good night

Last edited by refe (2012-03-17 22:12:25)

Offline

 

#54 2012-03-18 20:15:48

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Debian Lenny on the NSA-220

I'm afraid this Debian stick won't run out-of-the-box on a firmware 3.24 or newer. In that version the flags iocharset=utf8,shortname=mixed are added when mounting the stick. This means that only FAT partitions can be used for usb_key_func.sh. But of course Debian cannot run from a FAT partition.
Nor can FFP, and that's why an FFP stick is partitioned. A FAT partition to get usb_key_func.sh called, and an ext3 partition for FFP.

I think the easiest way to get Debian running, is to start with an FFP-stick, and adapt fun_plug on the FAT partition to do the job, starting Debian from the ext3 partition. (As long as you don't edit usb_key_func.sh, you don't have to worry about checksums.)

Offline

 

#55 2013-01-03 17:32:00

refe
New member
Registered: 2012-03-17
Posts: 3

Re: Debian Lenny on the NSA-220

i've managed to install Lenny on nsa-220
i have made a downgrade from 3.24 to 3.22 (i don't remember wich version) and then used the information from here http://forum.nas-central.org/viewtopic. … amp;t=1826
all went well, i have debian lenny o a 4GB usb stick .
unfortunatly i have reiserfs so can't install it on the raid.

i have added this repository to /etc/apt/source.list

deb http://archive.debian.org/debian/ lenny contrib main non-free
deb-src http://archive.debian.org/debian/ lenny contrib main non-free
deb http://backports.debian.org/debian-backports squeeze-backports main
deb http://ftp.ro.debian.org/debian squeeze main (you can use your country http://how-to.linuxcareer.com/debian-ap … ourceslist they have the binary for following architecture: alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 sparc )

with this you can install transmission 2.13 (with apt-get transmission-daemon)

for installing minidlna use first post from here http://dev.shyd.de/2011/08/minidlna-doc … na-server/
in order to start minidlna (/etc/init.d/minidlna start) you must make some symbolic links

/usr/lib/libavcodec.so.51 -> /usr/lib/libavcodec.so.51.50.0
/usr/lib/libavcodec.so.52 -> /usr/lib/libavcodec.so.51

good luck

Offline

 

#56 2013-08-01 17:26:44

refe
New member
Registered: 2012-03-17
Posts: 3

Re: Debian Lenny on the NSA-220

Mijzelf do you think that it's posible to compile a kernel for zyxel nsa220 that will suport ntfs (read and write).
Right now the current kernel (2.6.18.6-cs #27 Fri Dec 11 20:02:58 CET 2009 armv5tejl GNU/Linux ) can't mount ntfs

Offline

 

#57 2013-08-01 21:50:58

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Debian Lenny on the NSA-220

Well, yes and no. As far as I remember I added a (ro) ntfs.ko, which you can load to enable ntfs access. And yes, it is possible to put the 'RW' mark when compiling. But this ntfs implementation is considered unstable, and it's not recommended to let it write to ntfs partitions.

But I suppose you can just install ntfs-3g, which is stable. (And alas a bit slower)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB