systemd
, but sometimes you can't avoid demandware
. Below is my how to wifi
with systemd
. This method now works with all distros, including debian
.Identify wifi device(s)
$ iw dev phy#0 Interface wlp3s0 ifindex 3 wdev 0x1 addr 00:00:00:00:00:00 type managed channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
Config wifi device
# vi /etc/systemd/network/wlp3s0.network [Match] Name=wlp3s0 [Network] DHCP=ipv4 IPv6PrivacyExtensions=true [DHCP] RouteMetric=20
Config wpa_supplicant
# vi /etc/wpa_supplicant/wpa_supplicant-wlp3s0.conf [sudo] password for superuser: ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1
Add wifi network(s)
# wpa-passphrase wlan passphrase >> /etc/wpa_supplicant/wpa_supplicant-wlp3s0.conf
Enable services
# systemctl enable wpa_supplicant@wlp3s0 # systemctl enable systemd-networkd
Reboot to test connectivity :)
For you need GUI, use
wpa_gui
. It has a SysTray icon to help manage wifi networks. No need for Gnome's NetworkManager bloatware!
No comments:
Post a Comment