Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

README.md

Network Practices part I, Network manager service, nmtui nmcli

All commands run on Manjaro Linux distribution

Check if service NetworkManager is installed on Manjaro VM

systemctl status NetworkManager

This service manages networks and responsible for completing the file /etc/resolv.conf

cat /etc/resolv.conf

The entry in this file points to DNS. The service is also responsible for network interface settings. Let's see ip

ip a

NetworkManager service has a graphical interface. Run in terminal command

nmtui

And here everything is intuitively clear. If you change the DNS, you will see the changes in the /etc/resolv.conf file. But there is also a terminal client of this tool.

nmcli

nmcli is similar to ip a, but in the first case there is a default gateway.

Using nmcli it is convenient to set a static IP

nmcli con

Using this command we can see all active connections. And with this utility you can turn connections off and on as you do in the graphical interface. If you change the network connection parameters, you need to reboot the adapter. Changes are not automatically applied. Changing network settings

sudo nmcli con mod ens18 ipv4.method manual ipv4.addresses 10.1.8.20/24 gw4 10.1.8.3 ipv4.dns "10.1.8.3"

ens18 should be replaced with the connection name, which you can get from nmcli con

Turn off and on the network adapter

nmcli con down ens18;nmcli con up ens18;

ens18 is the name from output nmcli con

nmcli --help

Installing net-tools

sudo pacman -S net-tools	

Look at the arp table

arp

Look at the route table

ip route

References

  1. DNS // Theory
  2. Internet Assigned Numbers Authority
  3. DNS server
  4. TLS/SSL 13 lessons
  5. What is the difference between encrypting some data vs signing some data (using RSA)?
  6. Perfect Forward Secrecy in TLS Explained
  7. SSL validation methods
  8. Digital Certificates — SAN, Wildcard, DV, OV, EV and SNI
  9. SSL validation
  10. How to Configure IP Networking with nmcli Command in Linux
  11. Chain of trust
  12. What is Certificate chain? And how to validate Certificate chain
  13. Digital Certificates — SAN, Wildcard, DV, OV, EV and SNI
  14. DNS // Set bind
  15. How to Configure IP Networking with nmcli Command in Linux
  16. Voice over IP
  17. Secure data in Android — Encrypting Large Data
  18. RSA maximum bytes to encrypt, comparison to AES in terms of security?
  19. Forward secrecy
  20. Integer factorization
  21. Quantum computing
  22. Computational hardness assumption
  23. RSA (cryptosystem)
  24. Digital Signature Algorithm
  25. Integer factorization
  26. Why doesn't SSH use TLS?
  27. What is Certificate chain? And how to validate Certificate chain
  28. Chain of trust
  29. What is the difference between encrypting and signing in asymmetric encryption?