Amcrest - IP Camera (IP3M-HX2) store recordings on QNAP NAS
Tweaking4All » QNAP NAS
by Hans
2d ago
This seems to work for most Amcrest IP camera's, but I've only used it with my good old IP3M-HX2. So the Amcrest camera can store recordings and snapshots on a NAS, but it's very unclear how this needs to be setup from looking at the WebUI of the camera. So some searching finally made me find this description (link) and I'm just posting it here for future reference and/or as a backup. Short version: It uses a NFS share ... (would never have figured this out by myself) Long version: QNAP / NAS To allow Amcrest cameras to connect to QNAP via NAS connection you will have to enable NFS in the Netw ..read more
Visit website
QNAP - Determine communication device for USB Zigbee Dongle (Home Assistant)
Tweaking4All » QNAP NAS
by Hans
3w ago
Based on the recommendations of the good folks behind Home Assistant, I did get myself a Zigbee 3.0 USB dongle. This one: ITead SONOFF Zigbee 3.0 USB Dongle Plus Model “ZBDongle-E” (EFR32MG21 variant) All looked good, until I got the request to enter the Zigbee sierial port device ... 539 So, your QNAP runs a Linux variation and how am I supposed to detect this "com port" device? Not knowing where to look, I first tried using "lsusb", which didn't help much besides seeing that the USB device is connected. Before connection the USB dongle (removed some irrelevant lines): # lsusb ... Bus 005 ..read more
Visit website
Amcrest - IP Camera RTSP link (IP3M-HX2)
Tweaking4All » QNAP NAS
by Hans
3w ago
While tinkering with some IP camera's and my QNAP, I found myself testing camera.ui (QNAP Package) - which seems like a very lightweight alternative to QVR, QVR Pro and QVR Elite. Problem: what is the RTSP link for my older Amcrest IP camera's? Took me some time to find it, so for my own reference, and maybe for others: rtsp://username:password@ipaddress:port/cam/realmonitor?channel=1&subtype=0 535   RTSP URL Breakdown The bracketed items are variables that you need to input according to your setup. Explanations of each variable are given below. username - username of the device p ..read more
Visit website
QNAP - SSH - Manually rebuild "inactive volume" (some useful commands)
Tweaking4All » QNAP NAS
by Hans
2M ago
Here some info I got my hands on, when trying to recover my RAID Volume that had become inactive after encountering a backplate issue which would at random eject my disk - naturally, this backplane issue needs to be resolved since this error (in my situation) will happen again ofcourse.  Anyhoo - I've seen some interesting commands that may be helpful for others. CAUTION: Only use these commands if you know what you're doing. In general I'd recommend contacting QNAP support and have them look at it. QNAP has very good support, even for old QNAP (EOL) models! First of all, all these comman ..read more
Visit website
QNAP TVS873 - SFP+ 10Gbps NIC
Tweaking4All » QNAP NAS
by Hans
2M ago
Since it took me a while to figure this out, I figured I'd share this here. So I wanted to get my feet wet with SFP+ (10Gb/s either over copper for short distances or optical for larger distances) and connect it to a switch with 8 ports, 2.5GB/s each. The usually listed cards (by QNAP or in their compatibility list) are just too expensive. However, I did find this single SFP+ PCIe car on AliExpress for $34: Mellanox MCX311A-XCAT Cx311a ConnectX-3 En 10G Ethernet 10GBe SFP+ PCIe NIC Comes with a regular bracket and a low profile bracket. My QNAP recognized it right away (TVS873 running QTS 5.x ..read more
Visit website
QNAP - SSH - How to reboot or force reboot
Tweaking4All » QNAP NAS
by Hans
1y ago
A few minutes ago, I wasn't able to do a controlled shutdown of my QNAP through the WebUI .... So I tried (in SSH): reboot Which wanted to work, but shutting down services was still not going anywhere after 15 minutes. After some searching (yes, you can hold the power button 2 seconds for a controlled shutdown, or 5 seconds for a hard shutdown), I found this and it work great in these kind of emergencies: kill 1   I did find it challenging to find a good explanation, but as far as I recall, PID "1" is the kernel, and if that process dies all other processes get killed automatically ..read more
Visit website
QNAP - Location of sqlite3 ...? Where can I find sqlite3?
Tweaking4All » QNAP NAS
by Hans
1y ago
It seems that sqlite3 (standard command line tool to work with SQLite databases), is nowhere to be found in the default search path of your QNAP. However, I found it to be install several times ... With SSH, go to your QNAP and cd to the root and do a search for sqlite3: cd / find -name sqlite3   Depending on the storage capacity on your QNAP this may take a while, and possibly produce a list, something like this: # find -name sqlite3 ./share/CACHEDEV1_DATA/.qpkg/CloudLink/python/lib/python2.7/sqlite3 ./share/CACHEDEV ..read more
Visit website
QNAP - How to abort resynchronizing of RAID group?
Tweaking4All » QNAP NAS
by Hans
1y ago
First of all a big fat warning to not just do this whenever you feel like it. The resynchronization of your RAID group is there for reason! (bad disk, bad block, raid out of sync etc). Having said that, If your array is md2 then echo "idle" > /sys/block/md2/md/sync_action You can determine which is your array by using: cat /proc/mdstat   In the example below you'll see that md2 is my RAID-6 array ... # cat /proc/mdstat Personalities : md2 : active raid6 sdg3 sde3 sdf3 sdd3 sdc3 sdh3 sdj3 sdi3 23382380544 blocks ..read more
Visit website
MySQL/MariaDB - Purging mysql-bin.xxxxxx files the proper way ...
Tweaking4All » QNAP NAS
by Hans
1y ago
When running MariaDB on your QNAP, you may find tons of files name "mysql-bin.xxxxxx" files (where xxxxxx is a number) in your data dir (for example: /share/CACHEDEV1_DATA/.mariadb10/data). You should never just randomly delete those, as these are binary logs generated by mysqld - and there are proper SQL statements to clean these up. PURGE BINARY LOGS TO 'mysql-bin.xxxxxx'; PURGE BINARY LOGS BEFORE 'datetimestamp';   These statement will clear all bin-log files up to the given number (mysql-bin.xxxxxx) or up to a given date (datetimestamp). For example, the following statement will rem ..read more
Visit website
QNAP QTS 5.x - KODI 19.x - MySQL/MariaDB - FIX: Browsing TV Shows no longer working properly
Tweaking4All » QNAP NAS
by Hans
1y ago
When running a shared MySQL database on a QNAP that runs and older MariaDB 5.x version database for KODI, the you may run into issue with KODI 19.x. Whenever selecting a TV Show, it will not open the TV Show folder, but rather show me options to browse to the location manually. This appears to be an incompatibility issue with older MariaDB version (5.x). This is how you can fix this issue: On your QNAP, in App Center, make sure to install MariaDB 10 (or newer). Once installed, open it and follow the migration steps. Mine gave an error, but after re-opening the new version, it worked. Next: Op ..read more
Visit website

Follow Tweaking4All » QNAP NAS on FeedSpot

Continue with Google
Continue with Apple
OR