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:17] 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 52: Line 52:
 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. 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 service against the specific interface name **wlan0**, so make the following:+You have to start the //interface-specific// service against the name **wlan0**, so make the following:
  
 <code> <code>
-cp /etc/wpa_supplicant/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant-wlan0.conf+mv /etc/wpa_supplicant/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
 systemctl enable wpa_supplicant@wlan0.service systemctl enable wpa_supplicant@wlan0.service
 </code> </code>
  
 +After a reboot you should see the wpa_supplicant process running, and dhcpcd will configure wlan0 happily.
 ===== Web References ===== ===== Web References =====
  
   * [[https://www.raspberrypi.org/forums/viewtopic.php?t=191061|Raspbian Stretch: Wifi not starting on boot]]   * [[https://www.raspberrypi.org/forums/viewtopic.php?t=191061|Raspbian Stretch: Wifi not starting on boot]]
doc/appunti/hardware/raspberrypi_wpa_supplicant_problem.1518859035.txt.gz · Last modified: 2018/02/17 10:17 by niccolo