Below I list the standard OID and MIB with a description for obtaining SNMP different statistics for the network interfaces of switches, routers, access points, network cards in servers, etc.
Continue reading “SNMP OID and MIB for interfaces”Category Archives: Information
How to delete an invalid phone and email from Privat24
There were somehow many invalid phone numbers and email addresses in Privat24, I wanted to delete them, the tick “Actual” was naturally removed.
After communicating with technical support, I was informed that you can delete the email yourself by sending an SMS with the text OFF + mail@example.com to number 10060, where mail@example.com is the address of the current mail (when abroad, SMS should be sent to +380920003700).
And the operator of technical support made an application for removing phone numbers on their own and after a while they disappeared from the settings of the account.
Configuring Reverse DNS (PTR) in Hetzner
You can configure the reverse DNS record (PTR) for the Hetzner server in the control panel robot.your-server.de
Continue reading “Configuring Reverse DNS (PTR) in Hetzner”How to make a bootable USB flash drive with OpenSUSE
I’ll describe the actions that need to be performed to make a bootable USB flash drive with OpenSUSE:
Continue reading “How to make a bootable USB flash drive with OpenSUSE”Setting up a backup space for Hetzner.de
On the test went into https://robot.your-server.de/, has opened Main functions – Servers, selected the server and in the tab Backup activated free 100GB, since for servers costing 39 € or more this place was allocated for free.
Activated WebDAV to test, samba was already activated, it is also possible to connect via FTP, FTPS, SFTP and SCP using a user name and password, via SFTP/SCP, you can also connect using the key.
The speed of data transfer to the backup server depends on the number of connected users and their traffic.
When connecting, use a domain name, for example USER.your-backup.de, because the IP address can change.
Also, you can not create the /etc and /lib directories in place for backups.
For an example in Ubuntu Server, I will mount a backup location using SAMBA/CIFS.
Install the necessary utilities and create a directory in which we will mount:
sudo apt-get install cifs-utils
sudo mkdir /backup
Temporarily mount the place with the command:
sudo mount.cifs -o user=USER,pass=PASSWORD //USER.your-backup.de/backup /backup
To automatically mount after rebooting the system, add the following line to the / etc / fstab file:
//USER.your-backup.de/backup /backup cifs iocharset=utf8,rw,credentials=/etc/backup-credentials.txt,uid=SYSTEM_USER,gid=SYSTEM_GROUP,file_mode=0660,dir_mode=0770 0 0
To open a file it is possible for example with the text editor nano (CTRL+X for an output, y/n for saving or canceling changes):
sudo nano /etc/fstab
And add the following lines to the file /etc/backup-credentials.txt:
username=USER
password=PASSWORD
We will only set permissions for the file owner for security reasons:
sudo chmod 600 /etc/backup-credentials.txt
If you use the Windows operating system, you need to create a system user with the same login and password as the backup location.
Now I will connect to the test via WebDAV.
Install the necessary utilities and create a directory in which we will mount:
sudo apt-get install davfs2
sudo mkdir /backup
In CentOS:
yum install davfs2
mkdir /backup
Temporarily to mount through WebDAV a place it is possible a command:
sudo mount -t davfs https://USER.your-backup.de /backup
To automatically mount after rebooting the system, add the following line to the /etc/fstab file:
https://USER.your-backup.de /backup davfs rw,uid=SYSTEM_USER,gid=SYSTEM_GROUP,file_mode=0660,dir_mode=0770 0 0
And in the file /etc/davfs2/secrets the following line:
https://USER.your-backup.de USER PASSWORD
That’s all, in my case, you can save backups to the /backup directory.
Configuring printing in Firefox
To configure printing in Mozilla Firefox, open the settings menu on the right, select “Print “, in the preview window that appears, click the “ Options” button, in the next window that appears, put the tick “Compress to page width, and in the “Fields and headers and footers” tab, specify the required fields, in my case it was reduced to 1, because the checks were printed on a narrow tape of the thermal printer and standard Only a couple of characters fit in one line.
The second option is to type and open in the address bar:
about:config
Click “I take the risk!”
In the field “Search” type:
print_printer
Right-click on the desired printer and select “Reset.”
If this does not help, check the print settings in the printer properties, in the operating system control panel, and try printing in other browsers.