informatique:linux:commandes_linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
informatique:linux:commandes_linux [2024/03/15 05:58] – auditd pteu | informatique:linux:commandes_linux [2024/03/21 07:14] – [NetworkManager] pteu | ||
---|---|---|---|
Line 139: | Line 139: | ||
auditctl -d exit,always -F arch=b64 -F a0=2 -F a1\&=2 -S socket -k SOCKET | auditctl -d exit,always -F arch=b64 -F a0=2 -F a1\&=2 -S socket -k SOCKET | ||
</ | </ | ||
- | src: [[https:// | + | src: [[https:// |
=====awk===== | =====awk===== | ||
Line 1909: | Line 1909: | ||
* '' | * '' | ||
+ | =====NetworkManager===== | ||
+ | |||
+ | Utilitaire de configuration réseau utilisé par défaut sous Redhat/ | ||
+ | |||
+ | src: https:// | ||
+ | <code bash> | ||
+ | # Etat du service | ||
+ | systemctl status NetworkManager | ||
+ | |||
+ | # Editer fichier de conf | ||
+ | vim / | ||
+ | TYPE=Ethernet | ||
+ | PROXY_METHOD=none | ||
+ | BROWSER_ONLY=no | ||
+ | BOOTPROTO=none | ||
+ | DEFROUTE=yes | ||
+ | IPV4_FAILURE_FATAL=no | ||
+ | IPV6INIT=no | ||
+ | NAME=ens18 | ||
+ | UUID=xxxx-xx | ||
+ | DEVICE=ens18 | ||
+ | ONBOOT=yes | ||
+ | IPADDR=192.168.0.1 | ||
+ | PREFIX=24 | ||
+ | GATEWAY=192.168.0.254 | ||
+ | DNS1=192.168.0.254 | ||
+ | DNS2=1.1.1.1 | ||
+ | IPV6_DISABLED=yes | ||
+ | |||
+ | # Appliquer la conf réseau | ||
+ | nmcli connection up ens18 | ||
+ | |||
+ | # Vérifier bonne application de la conf : | ||
+ | nmcli device show ens18 | ||
+ | ip a | ||
+ | ip route | ||
+ | </ | ||
=====nslookup===== | =====nslookup===== | ||
informatique/linux/commandes_linux.txt · Last modified: 2024/04/05 06:58 by pteu