ReadyNAS Pro 6 – Serial Console Port

The ReadyNAS Pro 6 has an serial port at RS232 level.

First tried to connect with an USB to TTL adapter. No luck. After some more reading and searching on the internet i just tried to connect with an USB to RS232 adapter. With positive results!

Counting from the USB ports:

  • 1 – GND  (pin 5 on RS232 / DB9 adapter)
  • 2 – TX (RX / pin 2 on RS232 / DB9 adapter)
  • 3 – RX (TX / pin 3 on RS232 / DB9 adapter)
  1. Use PuTTY or Minicom and configure it with: 9600n8.
  2. Hookup an USB keyboard to the ReadyNAS. (i use an usb port on the backside)
  3. Power On the ReadyNAS, see PuTTY of Minicom showing the device booting up ! 🙂 (printscreen follows)
  4. With the USB keyboard you can hit F3 and enter the BIOS.
  5. Screen information will by sent to PuTTY or Minicom.

Note, there is also an VGA pin header on the main board. I will try that later, because i have to order some parts. (SUB-D 15 female for an flatcable, and an 16 pin flatcable connector)

Please have a look at these sites to:

 

ReadyNAS Pro 6 - Serial pin out

ReadyNAS Pro 6 – Serial pin out

IMG_20140908_191517

ReadyNAS Pro 6 – Breakout board – NIC, USB, COM

IMG_20140908_191543

ReadyNAS Pro 6 – COM Pin header

Apache 2.4 – mod_auth_form

Still a ‘wordpress  draft’, but published already.
It should bring you to an working solution.

I prefer webserver authentication above and php/coded authentication script. This because the webserver can also protect stylesheets, javascript files and, more important, images or other attachments. Within php you can only protect the called page.

Of course, in apache, you can easily use basic authentication. But then the browser shows you an ‘static’ login window. Apache2 has now an module which helps you with form authentication. You can make in now more fancy :).

Please leave comments if necessary 🙂
note… in my test setup this is compiled and running next to system default Apache2 instance.
so 2 apache-bin directories are on the system.

Downloading and extracting Apache 2.4

# cd /opt/src/
# wget http://ftp.tudelft.nl/apache/httpd/httpd-2.4.10.tar.gz
# tar xf httpd-2.4.10.tar.gz
# cd httpd-2.4.10/

Downloaden and extracting Apache 2.4 requirements. Check requirements here

# cd srclib
# wget http://apache.mirror.triple-it.nl/apr/apr-1.5.1.tar.gz
# wget http://apache.mirror.triple-it.nl/apr/apr-util-1.5.3.tar.gz
# tar xf apr-1.5.1.tar.gz
# tar xf apr-util-1.5.3.tar.gz
# mv apr-1.5.1 apr
# mv apr-util-1.5.3 apr-util
# cd .. (/opt/src/httpd-2.4.10/)
# apt-get install libpcre3 libpcre3-dev (if not already installed)

Configuring source tree. (option –with-ssl is optional, decide for yourself if needed)

# ./configure --prefix=/opt/apache2 --with-included-apr --with-ssl --enable-auth-form

Lees verder

Energy Logger 4000 – Version 2

See the original post here.

Made it just a little more usefull 🙂 by adding ‘Export to CSV’ functionality.
Guess it needs some data formatting to. But if you understand Microsoft Office Excel or OpenOffice Calc, it is possible to create some nice lines.

energylogreader-v0.2-export

Lees verder