Crippa Andrea

Configuring CloudFlare on QNAP NAS with Dynamic DNS using wget

This entry was posted by ( ) on Sunday, May 20th, 2012 at 11:37 am and have got . It's field under Linux, QNAP and tagged , , , , . Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.

USING CLOUDFLARE WITH QNAP NAS

CloudFlare is a CDN (Content Delivery Network) that allow to speed-up your website. They offer a free service and Pro plan.

In order to activate it you must have to reconfigure your DNS …. CloudFlare support site with dynamic IP address, using a special modified version of ddclient.

Unfortunately, using QNAP NAS, Net::SSLeay isn’t installed by default.

You can get rid of this problem using a bash script, that use wget in order to update the IP address information :
wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//' >/share/HDA_DATA/Web/currentIP.txt
MYIP=`cat /share/HDA_DATA/Web/currentIP.txt`
wget --no-check-certificate -O - "https://www.cloudflare.com/api.html?a=DIUP&hosts=ATYPEDNS&u=EMAIL&tkn=TOKEN&ip=$MYIP"

This simple script check for your current IPADDRESS, and record it in the variable $MYIP
Then , using wget it send the information to cloudflare in order to update your DNS record.

VN:F [1.9.17_1161]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)
Leave a Comment :, , , , more...

How to add new crontab entry in QNAP NAS

This entry was posted by ( ) on Monday, May 14th, 2012 at 6:55 pm and have got 22 reads . It's field under QNAP and tagged , . Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.

This procedure was tested with success on QNAP TS-112 with firmware 3.6.1 Build 0302T

EDIT THE CRONTAB FILE :

Edit the contab file in script :
vi /etc/config/crontab

That’s all folks

VN:F [1.9.17_1161]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)
Leave a Comment :, more...

Installing Bind on QNAP

This entry was posted by ( ) on Sunday, May 13th, 2012 at 3:08 pm and have got 33 reads . It's field under QNAP and tagged , , , , . Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.

Here you are a little complete step-by-step guide for installing Bind (also known as Named on Centos) on QNAP platform.
Installed and tested on QNAP TS-112 with firmware 3.6.1 Build 0302T.

This guide is based on some internet articles/post listed below :

  • http://www.tsls.co.uk/index.php/2009/01/03/bind-on-qnap-209-linux/
  • http://forum.qnap.com/viewtopic.php?f=90&t=10631
  • DOWNLOAD INSTALL REQUESTED QPKG SOFTWARE

    Login to QNAP through the Web Interface (normally on port 8080)
    Browse to Application Servers – QPKG Center
    Install Optware

    Continue reading : Installing Bind on QNAP

    VN:F [1.9.17_1161]
    Rating: 0.0/10 (0 votes cast)
    VN:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    Leave a Comment :, , , , more...

    SexyBookmark updated to version 5.0.0.4

    This entry was posted by ( ) on Sunday, May 13th, 2012 at 12:42 am and have got 22 reads . It's field under General and tagged . Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.

    SexyBookmark updated to version 5.0.0.4

    VN:F [1.9.17_1161]
    Rating: 0.0/10 (0 votes cast)
    VN:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    Leave a Comment : more...

    How to show RHEL/CENTOS version

    This entry was posted by ( ) on Friday, May 4th, 2012 at 5:26 pm and have got 44 reads . It's field under Linux and tagged , , , . Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.

    To show the current running version of a system based on RHEL/CENTOS you can type this command :

    cat /etc/redhat-release
    OUTPUT
    CentOS release 6.2 (Final)

    If you need some additional information about your system, try :

    uname -a
    OYTPUT
    Linux xxx.xxx.xxx 2.6.32-220.7.1.el6.x86_64 #1 SMP Wed Mar 7 00:52:02 GMT 2012 x86_64 x86_64 x86_64 GNU/Linux

    VN:F [1.9.17_1161]
    Rating: 0.0/10 (0 votes cast)
    VN:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    Leave a Comment :, , , more...