DNS 320 & 325 - Funplug 0.7 : Update wget to handle latest SSL & TLS

Contents[Hide]

dropcap dns320 muninThis short article explains how to update a DNS-320L or DNS-325 NAS to handle latest SSL and TLS protocol that are used by more and more sites.

A pre-requisite is to have installed Funplug 0.7 on your NAS. Needed steps are described in DNS 320 & 325 - Extend your NAS possibilities with Funplug 0.7

This procedure has been tested on a DNS-320L running firmware V1.00 and DNS-325 running firmware V1.03.

1. Source of trouble

If your wget is giving your this type of error, it means that you need to update it to handle latest SSL and TLS protocols :

DNS 320 console
# wget --no-check-certificate --header="Accept: text/html" -O - https://www.mon-poeme.fr/citation-du-jour/
Resolving www.mon-poeme.fr... 2a01:238:20a:202:1167::, 81.169.145.167
Connecting to www.mon-poeme.fr|2a01:238:20a:202:1167::|:443... failed: Address family not supported by protocol.
Connecting to www.mon-poeme.fr|81.169.145.167|:443... connected.
OpenSSL: error:14077458:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 unrecognized name
Unable to establish SSL connection.

2. Update procedure

You first need to install few new libraries :

  • libgcrypt
  • gnutls
  • nettle
  • libgpg-error

Then you'll need to install uli's version of wget.

Everyting is done easily thru slacker :

DNS 320 console
# slacker -a s:libgcrypt uli:gnutls uli:nettle uli:libgpg-error uli:wget

Select all package.

dns320 slacker wget

You should now be able to retreive any https:// page without error :

DNS 320 console
# wget --no-check-certificate --header="Accept: text/html" -O - https://www.mon-poeme.fr/citation-du-jour/
Resolving www.google.fr... 2a00:1450:4009:807::2003, 216.58.206.131
Connecting to www.google.fr|2a00:1450:4009:807::2003|:80... failed: Address family not supported by protocol.
Connecting to www.google.fr|216.58.206.131|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'STDOUT'
[<=> ] 0 --.-K/s
...

 

Hope it helps.

Signature Technoblog

This article is published "as is", without any warranty that it will work for your specific need.
If you think this article needs some complement, or simply if you think it saved you lots of time & trouble,
just let me know at This email address is being protected from spambots. You need JavaScript enabled to view it.. Cheers !

icon linux icon debian icon apache icon mysql icon php icon piwik icon googleplus