RaspberryPi/July 2020: Difference between revisions
From charlesreid1
(Created page with "Wipe the SD cards Set up wpa supplicant config file Install a custom wpa supplicant startup service based on the one provided <pre> sudo cp /lib/systemd/system/wpa_supplica...") |
No edit summary |
||
| Line 2: | Line 2: | ||
Set up wpa supplicant config file | Set up wpa supplicant config file | ||
https://charlesreid1.com/wiki/Ubuntu/Bespin#Configure_WPA_Supplicant | |||
Install a custom wpa supplicant startup service based on the one provided | Install a custom wpa supplicant startup service based on the one provided | ||
https://charlesreid1.com/wiki/Ubuntu/Bespin#WPA_Supplicant_Startup_Service | |||
<pre> | <pre> | ||
Revision as of 22:12, 15 July 2020
Wipe the SD cards
Set up wpa supplicant config file
https://charlesreid1.com/wiki/Ubuntu/Bespin#Configure_WPA_Supplicant
Install a custom wpa supplicant startup service based on the one provided
https://charlesreid1.com/wiki/Ubuntu/Bespin#WPA_Supplicant_Startup_Service
sudo cp /lib/systemd/system/wpa_supplicant.service /etc/systemd/system/wpa_supplicant.service sudo vim /etc/systemd/system/wpa_supplicant.service
Change this line from this:
ExecStart=/sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
to this:
ExecStart=/sbin/wpa_supplicant -u -s -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlan0
Also, remove the following line if it is present:
Alias=dbus-fi.w1.wpa_supplicant1.service # DELETE ME!
Enable it manually by doing this:
cd /media/charles/rootfs/etc/systemd/system/multi-user.target.wants ln -fs /etc/systemd/system/wpa_supplicant.service