BaReinhard's Tech Blog

A blog of various technologies, largely based around the Raspberry Pi.

Follow me on GitHub Follow me on Instagram

Fix Hostapd for Raspberry Pi Audio Receiver Car Install w/ Pi Zero

If you are here you have checked out my latest GitHub Repo: Car Audio Receiver As you can tell the install doesn’t quite work with the Raspberry Pi Zero. To fix that, we will simply follow these instructions to get things working again.

sudo apt-get update
sudo apt-get autoremove hostapd
sudo wget https://github.com/jenssegers/RTL8188-hostapd/archive/v2.0.tar.gz
sudo tar -zxvf v2.0.tar.gz
cd RTL8188-hostapd-2.0/hostapd
sudo make
sudo make install
sudo nano /etc/hostapd/hostapd.conf

Then replace with the following lines:

interface=wlan0
driver=rtl871xdrv
ssid=CHOOSE_YOUR_WIFI_NAME
hw_mode=g
channel=6
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=3
wpa_passphrase=CHOOSE_YOUR_PASSWORD
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP

And that is it! Everything else should work without a hitch.