To enable wifi connection from command line run: sudo nmcli -a d wifi connect and enter your wifi credentials Зло! apt-get remove network-manager (:
1 2 |
iw dev wlp4s0 scan | grep -i ssid wpa_passphrase ssid pswd |
/etc/wpa_supplicant.conf
1 2 3 4 5 6 7 8 |
ap_scan=1 ctrl_interface=/var/run/wpa_supplicant network={ ssid="xxxxxx" scan_ssid=1 psk="yyyyyyy" } |
/etc/network/interfaces
1 2 3 4 |
auto wlan0 iface wlan0 inet dhcp pre-up sudo wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant.conf -Dnl80211 post-down sudo killall -q wpa_supplicant |
Fedora: https://ask.fedoraproject.org/en/question/59278/how-can-i-enable-wpa_supplicant-on-boot/