[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Upgrade to linux-image-3.12-1-kirkwood on qnap ts-110 bricks the NAS (until recover)



On 17.01.2014 12:18, iacchi wrote:
Hardy Griech ha scritto:
- could you try to convince the NAS to get actual dhcp setup from your
   debian machine?  I.e. disable dhcp on the TP-Link and installing
   isc-dhcp-server on your debian machine.

I can disable the dhcp server on the router, but will it be enough?
Anyway, it's worth a try.

- or could you change the dhcp setup of the TP-Link router such that
   the NAS tries to load an image from your debian machine? (Ians post)

No idea. I think no, honestly, but I can try. Solution one looks simpler.

How many devices are using dhcp on the TP-Link? If it is a very limited number I suggest to give the devices static IPs (temporarily) and use the debian machine as dhcp. Or as Ian suggested check if you can limit dhcp to certain MACs.

0. does anybody know, if the image contains information unique to
    a NAS?  If not I could provide you an image.
1. described on Martins site:
    http://www.cyrius.com/debian/kirkwood/qnap/ts-119/recovery/

I still have the mtds so I can create that image. I think that some
information varies depending on the model, but I'm not sure.

If you have the mtdX it should be easy to create a bootable image, just follow Martins description on the recovery page - look for initrd and kernel links on the page.

:
Anyway, just to check if I've well understood: if I manage to put the
nas in recovery mode and make it load an image from tftp then the serial
console won't be needed?
:

yes, that is correct.

But the recovery image comes from QNAP, so Debian is more or less erased
anyway? Is there a way to make it boot Debian again without loosing data
and without reinstalling the system. I can reinstall the system I

Yes, yes. Read the recovery page after that read http://www.cyrius.com/journal/debian/installer-flash-kernel. Follow the instructions given tightly. Esp. you have 'Follow the installer until you reach the partitioner, then choose "go back"'.

Hardy


Reply to: