Welcome! Log In Create A New Profile

Advanced

NSA-310 How to

Posted by Michal 
Michal
NSA-310 How to
March 15, 2019 10:09AM
Hello,
I have an old NSA310 nas and would like to install debian. Still with stock firmware. No uBoot, nothing.

It seems that all detailed guides pointing to forum.nas-central.org which is not working anymore. I havent found any guide on this forum.

Is there any step-by-step guide how to change bootloader, boot debian?

Thanks,
Michal
Re: NSA-310 How to
March 15, 2019 10:15AM
Michal,

> I havent found any guide on this forum.

Each topic is a stick thread in subforum (Debian, U-Boot).


U-Boot:
https://forum.doozan.com/read.php?3,12381

Debian:
https://forum.doozan.com/read.php?2,12096

-bodhi
===========================
Forum Wiki
bodhi's corner
Michal
Re: NSA-310 How to
March 15, 2019 10:26AM
Thank you for answer. I saw this threads but I think I need more details.

What do I need to do as first? Open backdoor ssh? Serial connection? How to start from very begining.

Thanks,
Michal
Re: NSA-310 How to
March 15, 2019 01:20PM
Michal,

You can install u-boot and Debian inside stock OS. On the same session, create the Debian rootfs first on USB (you can clone it to HDD easily later if desire). And then install u-boot.

Serial connection is strongly recommended. Especially running UART booting using kwboot before installing u-boot. It's in the u-boot instruction. However, SSH would work fine too.

Read the instruction and post questions if you are not sure about something.

-bodhi
===========================
Forum Wiki
bodhi's corner
Michal
Re: NSA-310 How to
March 18, 2019 03:12PM
I was able to install uboot and Debian but struggling with network card. I am getting this error while boot:

[ 24.360691] r8169 0000:01:00.0: Direct firmware load for rtl_nic/rtl8168d-2.fw failed with error -2
[ 24.369948] r8169 0000:01:00.0 enp1s0: unable to load firmware patch rtl_nic/rtl8168d-2.fw (-2)
[ 24.407303] r8169 0000:01:00.0 enp1s0: link down

Thanks,

Michal
Re: NSA-310 How to
March 18, 2019 05:06PM
Michal,

This box has Realtek r8169. So you should install

apt-get install firmware-realtek

And kernel 4.20.x has problem with this NIC. So stay with what's in the rootfs or at most only upgrade to linux-4.19.0-kirkwood-tld-1.

Quote

Updated 03 Feb 2019:

Kernel linux-4.20.6-kirkwood-tld-1 package has been uploaded. The following features were added/updated:

- Added support for new Kirkwood box DNS-320-B1
- Added GPIO fan module
- Added CONFIG_BLK_CGROUP_IOLATENCY
- Updated Freecom Silverstore HNCN2 support.

WARNING: Ethernet is broken for the NSA310 in this kernel. Please use previous kernel version if you have this device.

-bodhi
===========================
Forum Wiki
bodhi's corner
Michal
Re: NSA-310 How to
March 19, 2019 02:57AM
Thank you Bodhi,
I know about ethernet problems with linux-4.20.6-kirkwood-tld-1, so I installed Debian-4.12.1-kirkwood-tld-1.

As network does not work, I will be problem to install realtek drivers.
Re: NSA-310 How to
March 19, 2019 03:06AM
Michal,

> As network does not work, I will be problem to
> install realtek drivers.

Ah! thanks for pointing that out! it is a catch-22 alright :) I would imagine people trying to use my basic rootfs would be in this situation if the network is not working.

Sounds like you have serial console, try this after logging in to Debian:

modprobe r8169

-bodhi
===========================
Forum Wiki
bodhi's corner
Michal
Re: NSA-310 How to
March 19, 2019 03:28PM
Yes, I have serial console. I had to manually install Realtek firmware and seems ok now. It is strange that I havent found any post regarding this issue and NSA310.

I greatly appreciate your help and thanks for this great forum. Do you have Patreon or how can I support you?

Michal
Re: NSA-310 How to
March 19, 2019 05:48PM
Michal,

Not necessary, but see my signature:)

-bodhi
===========================
Forum Wiki
bodhi's corner
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: