Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
04-linux:10-administration:80-network [2019/03/02 09:24] – [Ethernet] Roge | 04-linux:10-administration:80-network [2024/01/12 23:53] (Version actuelle) – [Network] Roge | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== Network ====== | ====== Network ====== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | ===== Network ===== | ||
+ | |||
+ | <code bash> | ||
+ | lshw -C network | ||
+ | WARNING: you should run this program as super-user. | ||
+ | *-network | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | bus info: pci@0000: | ||
+ | | ||
+ | | ||
+ | | ||
+ | size: 10Mbit/s | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | *-network | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | bus info: pci@0000: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | WARNING: output may be incomplete or inaccurate, you should run this program as super-user. | ||
+ | </ | ||
+ | |||
+ | |||
+ | En plus court : '' | ||
+ | |||
+ | <code bash> | ||
+ | Network: | ||
+ | IF: enp3s0 state: down mac: 40: | ||
+ | | ||
+ | IF: wlp6s0 state: up mac: e8: | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== nmtui ===== | ||
+ | |||
+ | nmtui permet de configurer le network manager en mode graphique. | ||
+ | |||
+ | ===== network-manager ===== | ||
+ | |||
+ | Redémarrage du network manager : | ||
+ | <code bash> | ||
+ | sudo service network-manager restart | ||
+ | </ | ||
+ | |||
+ | Configurer l' | ||
+ | |||
+ | <code bash> | ||
+ | sudo gedit / | ||
+ | # On doit avoir | ||
+ | |||
+ | auto lo | ||
+ | iface lo inet loopback | ||
+ | |||
+ | </ | ||
+ | |||
+ | Redémarrer une interface réseau | ||
+ | |||
+ | <note tip>Ne semble fonctionner que si l' | ||
+ | <code bash> | ||
+ | sudo ifdown wlp6s0 && sudo ifup -v wlp6s0 | ||
+ | </ | ||
===== Commandes de base ===== | ===== Commandes de base ===== | ||
Ligne 69: | Ligne 149: | ||
+ | Variante : | ||
+ | <code bash> | ||
+ | dig something.unknown | ||
+ | ;; SERVER: 192.168.0.254# | ||
+ | </ | ||
+ | |||
+ | Variante : | ||
+ | <code bash> | ||
+ | nslookup null | ||
+ | Server: | ||
+ | Address: | ||
+ | |||
+ | ** server can't find null: NXDOMAIN | ||
+ | |||
+ | </ | ||
===== Gérer le Wifi ===== | ===== Gérer le Wifi ===== | ||
Ligne 136: | Ligne 231: | ||
<code bash> | <code bash> | ||
- | Installer **blueman** pour gérer | + | Pour désactiver en permanence |
- | <code bash> | + | |
+ | <code bash> | ||
+ | sudo vi / | ||
+ | |||
+ | rfkill block bluetooth | ||
+ | exit 0 | ||
+ | </ | ||
+ | |||
+ | Installer **blueman** (manager amélioré) pour gérer le Bluetooth: | ||
+ | <code bash> | ||