Once I needed to additionally keep a log of 404 requests in a separate file, with subsequent export via rsyslog to a mysql database and processing by scripts.
Continue reading “Nginx. Using the map module”How to add characters to the end of each line in Notepad++
One day I was editing HTML code and needed to add a br tag at the end of each line.
Continue reading “How to add characters to the end of each line in Notepad++”Deye SUN-12K Firmware Update and Alarm F29 Parralel_CANBus_Fault Solution
Once identical Deye SUN-12K inverters were connected in parallel and the alarm F29 Parralel_CANBus_Fault was displayed.
Continue reading “Deye SUN-12K Firmware Update and Alarm F29 Parralel_CANBus_Fault Solution”LG TV browser cursor moves slowly
One day I noticed that the cursor was moving very slowly in the browser on the LG 43UK630PBL TV.
Continue reading “LG TV browser cursor moves slowly”Port forwarding in iptables on NAT server
Once I needed to forward a port to a VPN server that had a gray IP address and was behind NAT.
Continue reading “Port forwarding in iptables on NAT server”Connecting Tewaycell LiFePO4 batteries to inverters
One day I needed to configure 51.2V 300AH batteries from Tewaycell with PACE BMS so that they could synchronize with SRNE HSI 5kW inverter.
Continue reading “Connecting Tewaycell LiFePO4 batteries to inverters”Zabbix-server process does not terminate
Once I updated Ubuntu server and Zabbix-server by running apt update, apt upgrade, after the update was complete I agreed to restart all updated services, but Zabbix-server continued to be running for 20 minutes and did not restart.
Continue reading “Zabbix-server process does not terminate”Setting up an OpenVPN server on MikroTik
One day some mobile operators started blocking ports to L2TP servers, so I set up a more secure OpenVPN server on MikroTik.
Continue reading “Setting up an OpenVPN server on MikroTik”How to configure MikroTik CAPsMAN v2
For example, I will configure CAPsMAN v2 on MikroTik PowerBox Pro with MikroTik cAP ac access points (RBcAPGi-5acD2nD), instead of PowerBox Pro you can use, for example, MikroTik hEX PoE (RB960PGS), they have 4 POE Out ports, you can connect 2 access points to one POE port, the recommended cable length is up to 80 m, so POE can power 8 access points, but you need a more powerful power supply than the one included, for example, I remember in the PowerBox Pro manual it says that at 24V 1A on the POE port, at 48V 0.5A, so you need a 24V 6A or 8A power supply. If there is not enough current for the access points, then they will reboot when, for example, the CPU is more loaded. Thanks to CAPsMAN, by changing the configuration of wireless interfaces on the main device, such as password, frequencies, etc., they are changed on all access points automatically.
Continue reading “How to configure MikroTik CAPsMAN v2”Installing backup MCUD1 (H901MPSA) in Huawei OLT
For example, I will take several MA5608T with different firmware versions in which only one MCUD1 control board is installed and install the second MCUD1 for backup. The MCUD1 installation process is similar for MA5608 and MA5800-X2.
Continue reading “Installing backup MCUD1 (H901MPSA) in Huawei OLT”