# 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:** 1\
**Showing post:** 11

<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.

---

_[View the full topic](https://forum.openwrt.org/t/serial-install-problems-on-nsa310/37306)._
