Once I noticed the following error in the /var/log/accel-ppp/accel-ppp.log:
Continue reading “Accel-ppp. error nl_modify: File exists”Category Archives: Linux
Accel-ppp session termination script
I will give an example of a script to end the sessions taken on the official telegram channel Accel-ppp. Using accel-cmd and grep, we select the necessary sessions, for example, by the speed of the shaper, or part of the IP address, for example 10.10.10. and then for example send these sessions terminate if ipoeX soft or hard via accel-cmd.
Continue reading “Accel-ppp session termination script”Mail server with Postfix, Dovecot and MySQL
I will give an example of setting up a simple mail server on Postfix, Dovecot and MySQL.
For the test, I use the Ubuntu 16.04 operating system.
Changing gc_thresh on Linux
In this article I will give an example of changing gc_thresh on Linux, this parameter usually needs to be increased on highly loaded access servers.
Continue reading “Changing gc_thresh on Linux”How to configure networking with Netplan
In this article I will give examples of network configuration using Netplan.
I also note that for example, starting with Ubuntu version 18.04, Netplan is used by default.
IPTables Rules for BGP
I will give an example of IPTables rules for BGP.
Continue reading “IPTables Rules for BGP”How to enable port 587 in Postfix
By default, Postfix listens for connections on port 25/tcp and in this article I will show what needs to be done so that it starts to happen port 587 (submission), since for example in many mail clients when setting up mail, port 587 is offered by default.
Continue reading “How to enable port 587 in Postfix”Phabricator. How to allow users to create repositories
By default, only administrators can create repositories in Phabricator.
Continue reading “Phabricator. How to allow users to create repositories”ABillS. SNMP Port Shift
I noticed once that on Huawei switches SNMP port indices can be shifted, for example, on Huawei s2326 VLANs are considered first, for example ifIndex.1 is vlan1, ifIndex.2, ifIndex.3, ifIndex.4 are user VLANs, and then ifIndex5 is the port Ethernet1. Because of this, when binding client services to switch ports in ABillS, the ports will not be displayed correctly.
Continue reading “ABillS. SNMP Port Shift”Process monitoring through strace
I will give an example of running the strace utility, which allows you to track what a process or command is doing at a given moment.
Continue reading “Process monitoring through strace”