# Serial install problems on NSA310

**URL:** <https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306>\
**Category:** Installing and Using OpenWrt\
**Created:** [May 20, 2019, 8:58pm UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306 "2019-05-20T20:58:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ir11](https://forum.openwrt.org/letter_avatar/ir11/32/5_5575768a8748004e209b776fc1b2916d.png) [@ir11](https://forum.openwrt.org/u/ir11)\
**Post date:** [May 20, 2019, 8:58pm UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306/1 "2019-05-20T20:58:45Z")

</div>

Hi, successfuly connected NSA310 to PC (win10), tried https://openwrt.org/toh/zyxel/nsa310b  
first command:

usb reset  
gives error:

-/bin/sh: usb: not found

What could be wrong? Thx in advance!  
FYI: currently using firmware version : V4.70(AFK.3)

---

<div class="post-metadata">

**Author:** ![kofec](https://forum.openwrt.org/user_avatar/forum.openwrt.org/kofec/32/1510_2.png) [@kofec](https://forum.openwrt.org/u/kofec)\
**Post date:** [May 20, 2019, 9:10pm UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306/2 "2019-05-20T21:10:17Z")

</div>

What size is your USB stick ? Is it formatted in FAT32 ? You should stop starting system in uboot. But in your case system is fully started. I hope you have serial cable ?

---

<div class="post-metadata">

**Author:** ![lleachii](https://forum.openwrt.org/letter_avatar/lleachii/32/5_5575768a8748004e209b776fc1b2916d.png) [@lleachii](https://forum.openwrt.org/u/lleachii)\
**Post date:** [May 20, 2019, 9:10pm UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306/3 "2019-05-20T21:10:45Z")

</div>

> [@ir11](#):
>
> What could be wrong?

~~`usb` isn't s valid command on a default install of OpenWrt.~~

What software are you trying to install/run?

---

<div class="post-metadata">

**Author:** ![tmomas](https://forum.openwrt.org/letter_avatar/tmomas/32/5_5575768a8748004e209b776fc1b2916d.png) [@tmomas](https://forum.openwrt.org/u/tmomas)\
**Post date:** [May 20, 2019, 9:28pm UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306/4 "2019-05-20T21:28:52Z")

</div>

> [@lleachii](#):
>
> `usb` isn't s valid command on a default install of OpenWrt.

The procedure involving `usb reset` is described on the [devicepage.](https://openwrt.org/toh/zyxel/nsa310b#installation1)

---

<div class="post-metadata">

**Author:** ![ir11](https://forum.openwrt.org/letter_avatar/ir11/32/5_5575768a8748004e209b776fc1b2916d.png) [@ir11](https://forum.openwrt.org/u/ir11)\
**Post date:** [May 21, 2019, 1:07pm UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306/5 "2019-05-21T13:07:25Z")

</div>

Thank you for your help, really appreciate your effort.  
I have a 16GB USB3 Fat32 formatted flash connected to front NAS port, with two files as stated here: [https://openwrt.org/toh/zyxel/nsa310b](https://openwrt.org/toh/zyxel/nsa310b)  
There is no other disk connected to the NAS.  
I have a serial cable connected to the NAS, communication is OK (using Kittty/Putty).  
There is standard FW in the NAS and I want to replace it with OpenWRT.

> [@kofec](#):
>
> You should stop starting system in uboot. But in your case system is fully started.

**Maybe this is it - how should I stop it? Pressing On/Off button on the NAS? When exactly?**

---

<div class="post-metadata">

**Author:** ![kofec](https://forum.openwrt.org/user_avatar/forum.openwrt.org/kofec/32/1510_2.png) [@kofec](https://forum.openwrt.org/u/kofec)\
**Post date:** [May 21, 2019, 1:25pm UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306/6 "2019-05-21T13:25:48Z")

</div>

What about serial cable ? Is it connected ?  
e.g:  
[![](https://farm9.static.flickr.com/8342/8205873779_2f450c5a6b_b.jpg) ](https://farm9.static.flickr.com/8342/8205873779_2f450c5a6b_b.jpg)

---

<div class="post-metadata">

**Author:** ![ir11](https://forum.openwrt.org/letter_avatar/ir11/32/5_5575768a8748004e209b776fc1b2916d.png) [@ir11](https://forum.openwrt.org/u/ir11)\
**Post date:** [May 21, 2019, 1:29pm UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306/7 "2019-05-21T13:29:36Z")

</div>

Yep; I could interrupt the U-boot pressing esc, but usb reset gave me 0 storage devices found (USB flash is in the front). Will try more and describe my results here. Thanks:)

---

<div class="post-metadata">

**Author:** ![kofec](https://forum.openwrt.org/user_avatar/forum.openwrt.org/kofec/32/1510_2.png) [@kofec](https://forum.openwrt.org/u/kofec)\
**Post date:** [May 21, 2019, 1:35pm UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306/8 "2019-05-21T13:35:39Z")

</div>

Maybe you have older/smaller USB flash ?

---

<div class="post-metadata">

**Author:** ![ir11](https://forum.openwrt.org/letter_avatar/ir11/32/5_5575768a8748004e209b776fc1b2916d.png) [@ir11](https://forum.openwrt.org/u/ir11)\
**Post date:** [May 21, 2019, 1:36pm UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306/9 "2019-05-21T13:36:53Z")

</div>

I have a 16GB FAT32 formatted disk, but who knows - will try another one...

---

<div class="post-metadata">

**Author:** ![ir11](https://forum.openwrt.org/letter_avatar/ir11/32/5_5575768a8748004e209b776fc1b2916d.png) [@ir11](https://forum.openwrt.org/u/ir11)\
**Post date:** [May 21, 2019, 1:55pm UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306/10 "2019-05-21T13:55:48Z")

</div>

Tried two different USB3 16GB FAT32 and one USB2 1GB FAT formatted, both USB ports with no luck:

```
NSA310>> usb reset
(Re)start USB...
USB: scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
NSA310>> fatload usb 1 0x1000000 u-boot.kwb
**Can't read from device 1**

**Unable to use usb 1:1 for fatload**
NSA310>> fatload usb 0 0x1000000 u-boot.kwb
**Can't read from device 0**

**Unable to use usb 0:1 for fatload**
NSA310>>

```

There are all LEDs on and the On/Off button on the device is not responsive.

---

<div class="post-metadata">

**Author:** ![bobafetthotmail](https://forum.openwrt.org/user_avatar/forum.openwrt.org/bobafetthotmail/32/39_2.png) [@bobafetthotmail](https://forum.openwrt.org/u/bobafetthotmail)\
**Post date:** [May 21, 2019, 2:21pm UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306/11 "2019-05-21T14:21:47Z")

</div>

> [@ir11](#):
>
> usb reset  
> gives error:
> 
> -/bin/sh: usb: not found

You are writing commands in the device firmware shell. These commands must be written in the uboot shell.  
Below you are writing it in the uboot shell, which is the correct place.

> [@](#):
>
> NSA310\>\> usb reset  
> (Re)start USB...  
> USB: scanning bus for devices... 1 USB Device(s) found  
> scanning bus for storage devices... 0 Storage Device(s) found

For some reason the stock bootloader is unable to detect the USB drives you are using. I don't know why, but some people did have issues like that.

You have to transfer the files with tftp, it's a bit more annoying, I'll post instructions below.

If you install successfully with the following instructions I'll update the wiki with this additional method.

Prepare the tftp server and the files you want to transfer as described here: [https://openwrt.org/docs/guide-user/troubleshooting/tftpserver?s[]=tftp#tftp\_server\_on\_windows](https://openwrt.org/docs/guide-user/troubleshooting/tftpserver?s%5B%5D=tftp#tftp_server_on_windows)  
Set your PC's ethernet port to have fixed IP address 192.168.1.10 and connect it with an ethernet cable to the NSA310 ethernet port.

boot the NSA310 and reach the uboot (bootloader) console by pressing a key as soon as you see the prompt.

You should see  
**NSA310\>\>**

Now write

```plaintext
setenv ipaddr 192.168.1.1
setenv serverip 192.168.1.10

```

Then you can begin the file transfer with  
`tftp 0x1000000 u-boot.kwb`

It should show a progress bar and will tell you if the transfer was successful.

If it's good, then you can proceed with the other instructions, to install the OpenWrt uboot

```plaintext

nand erase 0x0 0x100000
nand write 0x1000000 0x00000 0x100000
reset

```

Then write your device's mac address as written in the sticker under the NSA310 ( the _AB:CD:EF:00:00:00_ you see below is an example MAC address, please write your device's MAC in the terminal)

```plaintext
setenv ethaddr AB:CD:EF:00:00:00
saveenv

```

Then, you can try with normal instructions as you have just installed a different uboot, that should be able to read from USB.

```plaintext
usb reset
fatload usb 0 0x2000000 nsa310.bin

```

If it fails again, you must use tftp again to load OpenWrt firmware too.  
write

```plaintext
setenv ipaddr 192.168.1.1
setenv serverip 192.168.1.10
tftp 0x2000000 nsa310.bin

```

and then proceed with

```plaintext
nand erase.part ubi
nand write 0x2000000 ubi 0x600000
reset

```

And OpenWrt should be installed.

---

<div class="post-metadata">

**Author:** ![ir11](https://forum.openwrt.org/letter_avatar/ir11/32/5_5575768a8748004e209b776fc1b2916d.png) [@ir11](https://forum.openwrt.org/u/ir11)\
**Post date:** [May 21, 2019, 3:19pm UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306/12 "2019-05-21T15:19:15Z")

</div>

Thank you very much for the instructions, I will try them and report later.

---

<div class="post-metadata">

**Author:** ![ir11](https://forum.openwrt.org/letter_avatar/ir11/32/5_5575768a8748004e209b776fc1b2916d.png) [@ir11](https://forum.openwrt.org/u/ir11)\
**Post date:** [May 22, 2019, 1:41pm UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306/13 "2019-05-22T13:41:05Z")

</div>

I have been trying for several hours without success (from two PCs, Win - tftpd32 + Solarwinds, Ubuntu) so the problem seems to be in the NSA310:

```
NSA310>> setenv ipaddr 192.168.1.1
NSA310>> setenv serverip 192.168.1.10
NSA310>> tftp 0x1000000 u-boot.kwb
Using egiga0 device
TFTP from server 192.168.1.10; our IP address is 192.168.1.1
Filename 'u-boot.kwb'.
Load address: 0x1000000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
NSA310>>

```

Giving up for now, maybe I'll try later.  
Thanks for your help anyway!

---

<div class="post-metadata">

**Author:** ![bexx](https://forum.openwrt.org/letter_avatar/bexx/32/5_5575768a8748004e209b776fc1b2916d.png) [@bexx](https://forum.openwrt.org/u/bexx)\
**Post date:** [December 30, 2019, 10:45pm UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306/14 "2019-12-30T22:45:37Z")

</div>

@ir11: Any update so far?  
I had the same issue like you. Using four different USB Sticks which didn't work. After that I used the "oldest" USB stick I found supporting USB 1.1 only and it worked. Unfortunately I didn't manage to test the TFTP method on the stock u-boot (thx @bobafetthotmail for the description). Suprisingly I was not able to get a network connection for TFPT, using _uboot.2017.07-tld-1.nsa310_...

I updated the flashing instructions, trying to collect all information I pulled from different source on one page [Table of Hardware - Zyxel NSA310](https://openwrt.org/toh/zyxel/nsa310b). As this is more or less my first entry, I am looking forward to your feedback

---

<div class="post-metadata">

**Author:** ![Mijzelf](https://forum.openwrt.org/letter_avatar/mijzelf/32/5_5575768a8748004e209b776fc1b2916d.png) [@Mijzelf](https://forum.openwrt.org/u/Mijzelf)\
**Post date:** [December 31, 2019, 11:02am UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306/15 "2019-12-31T11:02:23Z")

</div>

Where does the information that the NSA310b image works on an 310s come from? It would surprise me if that is true, as the 310s is a different NAS, with a different SoC. At least the ZyXEL firmware cannot be exchanged.

---

<div class="post-metadata">

**Author:** ![bobafetthotmail](https://forum.openwrt.org/user_avatar/forum.openwrt.org/bobafetthotmail/32/39_2.png) [@bobafetthotmail](https://forum.openwrt.org/u/bobafetthotmail)\
**Post date:** [December 31, 2019, 8:05pm UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306/16 "2019-12-31T20:05:11Z")

</div>

The 310S has the same SoC of NSA310-320-325 but its hardware config is closer to NSA320-325 (most important thing is that it's not using the silly realtek ethernet and is instead using the SoC's own ethernet controller) and should boot and mostly work with that image, as it worked on Debian back then when they were writing the device tree files for these devices [https://forum.doozan.com/read.php?2,22241](https://forum.doozan.com/read.php?2,22241) and only LEDs and power button don't work (as they used different GPIO pins to operate them).

The Zyxel NAS with different SoCs (Marvell Armada) are those from NAS326 and onwards.

---

<div class="post-metadata">

**Author:** ![bobafetthotmail](https://forum.openwrt.org/user_avatar/forum.openwrt.org/bobafetthotmail/32/39_2.png) [@bobafetthotmail](https://forum.openwrt.org/u/bobafetthotmail)\
**Post date:** [December 31, 2019, 8:08pm UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306/17 "2019-12-31T20:08:48Z")

</div>

Another possible workaround is to use the Sata port. Format it as FAT32 and place the files in it, then

```
ide reset
fatload ide 0 0x2000000 nsa310.bin

```

should load the files from the SATA drive.

---

<div class="post-metadata">

**Author:** ![fialot](https://forum.openwrt.org/letter_avatar/fialot/32/5_5575768a8748004e209b776fc1b2916d.png) [@fialot](https://forum.openwrt.org/u/fialot)\
**Post date:** [February 17, 2020, 8:12am UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306/18 "2020-02-17T08:12:03Z")

</div>

So for NSA310S I must use NSA325 OpenWrt Image? I tried NSA310b image (as written in the instructions), but Ethernet interface not working

---

<div class="post-metadata">

**Author:** ![bobafetthotmail](https://forum.openwrt.org/user_avatar/forum.openwrt.org/bobafetthotmail/32/39_2.png) [@bobafetthotmail](https://forum.openwrt.org/u/bobafetthotmail)\
**Post date:** [February 17, 2020, 9:17am UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306/19 "2020-02-17T09:17:02Z")

</div>

NSA310b uses different ethernet controller so it will not work.

With NSA325 image ethernet is the same so it should work, LEDs and power button will not work.

---

<div class="post-metadata">

**Author:** ![fialot](https://forum.openwrt.org/letter_avatar/fialot/32/5_5575768a8748004e209b776fc1b2916d.png) [@fialot](https://forum.openwrt.org/u/fialot)\
**Post date:** [March 13, 2020, 11:40am UTC](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306/20 "2020-03-13T11:40:02Z")

</div>

And is there a way to get the power button working on NSA310S?

[Next page](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306.md?page=2)
