Ceci est une ancienne révision du document !
nmtui permet de configurer le network manager en mode graphique.
Liste des devices :
nmcli -d
Redémarrage du network manager :
sudo service network-manager restart
Configurer l'interface
sudo gedit /etc/network/interfaces # On doit avoir auto lo iface lo inet loopback
Redémarrer une interface réseau
sudo ifdown wlp6s0 && sudo ifup -v wlp6s0
lspci -vvnn | grep -A 9 Network
ifconfig cat /etc/network/interfaces
sudo iwlist scan
sudo /etc/init.d/networking restart
iwconfig
sudo dhclient wlan0
sudo iwconfig wlan0 <essid> <SSID>
ifconfig | grep HWaddr
ou :
ifconfig | grep ether
Affichage des connexions internet
ip a
sudo lshw -class network
Vérification du DNS
nmcli device show wlp6s0 | grep IP4.DNS IP4.DNS[1]: 192.168.0.254
Variante :
dig something.unknown | grep SERVER: ;; SERVER: 192.168.0.254#53(192.168.0.254)
Variante :
nslookup null Server: 192.168.0.254 Address: 192.168.0.254#53 ** server can't find null: NXDOMAIN
sudo apt-get install rfkill
Lister l’activation du Wifi :
sudo rfkill list
ou
rfkill list all 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no
Activer l’interface WiFi :
sudo rfkill unblock wifi
Désactiver l’interface WiFi :
sudo rfkill block wifi
Activer la carte WiFi :
sudo ifconfig wlp6s0 up
Liste des réseaux accessibles :
sudo iwlist wlp6s0 scan sudo iwlist wlp6s0 scan | grep -E 'ESSID|Cell' sudo iwlist wlp6s0 scan | grep 'ESSID\|Cell' nmcli r wifi on
sudo apt-get install rfkill
Lister l’activation du Bluetooth :
sudo rfkill list
ou
rfkill list all 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no 2: hci0: Bluetooth Soft blocked: no Hard blocked: no
Activer l’interface Bluetooth :
sudo rfkill unblock bluetooth
Désactiver l’interface Bluetooth :
sudo rfkill block bluetooth
Pour désactiver en permanence le Bluetooth:
sudo vi /etc/rc.local rfkill block bluetooth exit 0
Installer blueman (manager amélioré) pour gérer le Bluetooth:
sudo apt-get install blueman