marcbat / svxlinkmanager

http://www.hbspot.ch
GNU General Public License v3.0
3 stars 0 forks source link

[not_a_issue] configurer le wifi en ligne de commande #7

Closed nmermoud closed 3 years ago

nmermoud commented 3 years ago

Salut Marc, Je voulais mettre ces informations dans Wiki mais je pense que je n'ai pas les droits pour créer un article. Il y a plusieurs manières de configurer le WIFI sous debian mais cette methode me semble pas mal.

Dis moi si ça te suffit.

73' Nat

Verify WIFI interface status :

ifconfig -s wlan0

Exemple de résultat Iface MTU RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg wlan0 1500 0 0 0 0 0 0 0 0 BMU

BMU # interface is UP BM # interface is DOWN

Get WIFI interface up and running : ifconfig wlan0 up

Configure WIFI interface for WPA :

Prerequist : wpasupplicant installed To install it : apt-get install wpasupplicant To verify it's running : _ps -e | grep wpasupplicant

Commands to make the WPA connexion :

Enter CLI

_wpacli

Get possible commands

help

Scan and list available access points

_scan scan scanresults

Add your AP:

_add_network set_network 0 ssid "MySSID" setnetwork 0 psk "MyPassPhrase"

Enable your configuration

_enablenetwork 0 reconnect

Quit GUI

quit

Get Wlan IP

dhclient -r dhclient wlan0

marcbat commented 3 years ago

J'ai utilisé network nmcli pour gérer les connexions au wifi. Résolu en 0.12.0