Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save davewongillies/6481138 to your computer and use it in GitHub Desktop.
Save davewongillies/6481138 to your computer and use it in GitHub Desktop.
How-to: Use a serial connection to your Netgear ReadyNAS

Taken from http://damsteen.nl/blog/how-to-use-a-serial-connection-to-your-netgear-readynas as it always seems to be down

How-to: Use a serial connection to your Netgear ReadyNAS

It is possible to connect to the command-line interface of your Netgear ReadyNAS using a serial connection. I have seen a very old blog post on the internet describing how to connect via serial to a Infrant ReadyNAS NV but it wasn't very clear how to connect to a Netgear ReadyNAS NVX Pioneer Edition, which I have. I guess I'm not the only one who wants to connect to their ReadyNAS, so I'm sharing my knowlegde here :)

The obvious advantages of a serial connection to your ReadyNAS is that you can experiment with network settings without the fear of rendering your NAS inaccessible. I believe it is also possible to recover the firmware in the event an update fails, although I haven't tried this myself.

Requirements

You need the following components in order to establish a serial connection to your ReadyNAS:

  • A serial RS232 cable and port or an USB-to-RS232 cable. Such cables are available on DealExtreme.
  • You also need an RS232 to TTL converter or cable. Also available on DealExtreme.
  • Finally, you need a piece of software to connect to a serial terminal. You can use HyperTerminal, PuTTYor minicom.

Connect the cables

First step is of course to connect the cables to your computer and to your ReadyNAS. On the back side of the NAS, you can find a small gray sticker about two centimeters long and half centimeter high. This sticker covers the serial port of the NAS. If you used the RS232-to-TTL cable from DealExtreme, you need to put the cable that comes with it in it. Put the connector without the loose ends into this port. You can put the connector with the loose ends on the converter. Below the sequence is shown how the cables should connect (converter USB side to edge -> NAS reset button to connector).

1 ⇨ 1  (TXD)
2 ⇨ 4  (RXD)
3 ⇨ 2
4 ⇨ 3

If you count from one side of the connector to the other side, pin 1 on the NAS needs to be mapped to pin 1 on the converter etc. Finally, connect the cable from your computer to the converter.

Set-up the port

You need to set-up the serial port this way:

Speed        9600
Data bits    8
Stop bits    1
Parity       None
Flow control XON/XOFF

It should now be possible to connect.

When using PuTTY, it is possible you need to hit the 'Enter/Return' key on your keyboard first before you see a login prompt. When using minicom, you may see some garbage in the console first before you press the enter key. After pressing enter you can login with any account you would login with via SSH. If you have problems viewing certain characters, try setting the encoding on UTF-8.

If you can't get it to work at all, try rebooting both computer and ReadyNAS. If it still doesn't work, try turning the connector on the NAS-side the other way around. Don't hesitate to contact me or comment here if this still doesn't work. :)

@Bemele
Copy link

Bemele commented Jan 23, 2014

Hello, I want to connect the NAS directly to DB9 port from PC and I have two questions:
In that case, need I an RS232 to TTL converter?
How is the pinout form NAS to DB9 conector?

Thanks in advance.

@KosVos37
Copy link

KosVos37 commented Oct 9, 2015

Hi dave,
If I'm right this is the setup:
USB Loose ends on NAS
1 ⇨ 1 (TXD) White
2 ⇨ 4 (RXD) Green
3 ⇨ 2 (GND) Black ( or must it be left open )
4 ⇨ 3 (+5V) Red ( or must it be left open )
This is based on PL23033HX:
pl2303hx

PL23033TA has the RX / TX switched:
pl2303ta

Am I Right?

@l8nite
Copy link

l8nite commented Mar 6, 2018

Anyone used this to connect to an RNDP6000 ("ReadyNAS Pro 6")? I can transmit/receive, but I'm getting garbled data. I've tried a bunch of baud/parity/bits combinations, but not finding one that works.

Edit: I was able to connect and get screen data with a USB RS232 adapter (instead of USB TTL), but I can't send any inputs.
Edit2: Had my DB9 pin-out backwards, once I fixed GND I was able to transmit :)

@yo8aiv
Copy link

yo8aiv commented Sep 3, 2019

i have a 2100 wich isnt booting after some power outages. would this work ?

@mckenzm
Copy link

mckenzm commented May 21, 2021

Are some of these 115200? 9600 seems obvious. Other sources suggest 115200-8-N-1 and 3.3v which is important. Any Arduino savvy people should use the FDTI adapters with a 5V/3.3V switch.

@half-duplex
Copy link

half-duplex commented May 18, 2022

To connect to serial on my ReadyNAS Duo RND2150 I used: UART (3.3v), 9600 8N1, Normal.
Under the sticker on the back, from top to bottom: VCC (don't connect), TX, RX, GND.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment