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
doc:appunti:hardware:raspberrypi_wpa_supplicant_problem [2018/02/17 10:08] niccolodoc:appunti:hardware:raspberrypi_wpa_supplicant_problem [2020/08/14 10:17] (current) niccolo
Line 1: Line 1:
-====== Rapsberry Pi problem: dhcpcd not starting wpa_supplicant ======+====== Raspberry Pi problem: dhcpcd not starting wpa_supplicant ======
  
 I got a problem with a **Realtek RTL8188EUS** UBS WiFi dongle, into a **Raspberry Pi Model A+**, running **Rasbpian 2017-11-29 Stretch Lite** (based on Debian 9.1). I got a problem with a **Realtek RTL8188EUS** UBS WiFi dongle, into a **Raspberry Pi Model A+**, running **Rasbpian 2017-11-29 Stretch Lite** (based on Debian 9.1).
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.1518858496.txt.gz · Last modified: 2018/02/17 10:08 by niccolo