Incorrectly formatted external disk on QNAP TS-210

After using QNAP’s web-panel to format external disk, it suddenly turned out that formatting to any partition type ends with extremely small free disk size. For example, completely empty (as should be after format) 1,5 TB disk, formatted to any Windows type (FAT32 / NTFS) has only 1,9 GB free space. Formatting it to any Linux type (Ext3, Ext4) ends with 1,84 GB free space and formatting to HPS+ with 1,89 GB. In all attempts disk has less then 0,2% free space right after format. Here is the solution, that I came up with after a lot of digging.

Read More “Incorrectly formatted external disk on QNAP TS-210”

Patching some security problems in Samba

QNAP is built upon Debian, created and designed by a bunch of wise guys, constantly being improved and used around the world, sometimes in very important solutions. Thus, it is generally a safe and secured solution. On the other hand, there isn’t (there never was and there never will be) any thing, done by a human, that another human wouldn’t be able to breke, change, alter or destroy. So, there is always a good idea to improve security, whenever you’re possible to do so. This article discusses some smaller or bigger security holes in Samba on board QNAP with a possible solution or workaround.

Read More “Patching some security problems in Samba”

Where is PHP on QNAP?

Well.. at least on my QNAP TS-210 it is in:

[code language=”shell”]
/mnt/ext/opt/apache/bin/
[/code]

You can validate this by executing:

[code language=”shell”]
/mnt/ext/opt/apache/bin/php –version
[/code]

Which should show version PHP installed on your QNAP box.