User Tools

Site Tools


doc:appunti:hardware:raspberrypi_wpa_supplicant_problem

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
doc:appunti:hardware:raspberrypi_wpa_supplicant_problem [2018/02/17 10:08] niccolodoc:appunti:hardware:raspberrypi_wpa_supplicant_problem [2018/02/17 10:21] – [Alternative: wpa_supplicant started by systemd] niccolo
Line 47: Line 47:
  
 Notice that the configuration file used is **/etc/wpa_supplicant/wpa_supplicant.conf**, but if one named **wpa_supplicant-wlan0.conf** exists, it will be preferred. Notice that the configuration file used is **/etc/wpa_supplicant/wpa_supplicant.conf**, but if one named **wpa_supplicant-wlan0.conf** exists, it will be preferred.
 +
 +===== Alternative: wpa_supplicant started by systemd =====
 +
 +The default is to start **wpa_supplicant** via **dhcpcd**, as seen above. But if you want, you can force **systemd** to start the service independently.
 +
 +You have to start the //interface-specific// service against the name **wlan0**, so make the following:
 +
 +<code>
 +mv /etc/wpa_supplicant/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
 +systemctl enable wpa_supplicant@wlan0.service
 +</code>
 +
 +After a reboot you should see the wpa_supplicant process running, and dhcpcd will configure wlan0 happily.
 +===== Web References =====
 +
 +  * [[https://www.raspberrypi.org/forums/viewtopic.php?t=191061|Raspbian Stretch: Wifi not starting on boot]]
doc/appunti/hardware/raspberrypi_wpa_supplicant_problem.txt · Last modified: 2020/08/14 10:17 by niccolo