Wifi Configuration for Raspberry Pi 2 + RTL8192SU (DWA-131) with Octoprint 0.18

 I used the Raspberry Pi Imager (https://www.raspberrypi.com/software/) to install the newest version of Octoprint (https://octoprint.org/). The new version of Octoprint recommends Python 3.6, but after the re-image of the SD Card, I encountered an issue with WiFi (again...)

This is what I did to resolve it:

 Environment:

  • Raspberry Pi 2 Model B Rev 1.1
  • D-Link System DWA-131 802.11n Wireless N Nano Adapter(rev.A1) [Realtek RTL8192SU]
  • Octoprint version of OctoPi

Symptoms:

After configuring the WiFi network interface, the interface would not come up by itself.

Cause:

It looks like even though the card was configured correctly, it was not starting up on it's own

Resolution:

1) Modify the /boot/octopi-wpa-supplicant.txt

network={
  ssid="SecretNetwork"
  psk="SecretPassword"
}
country=CA # Canada

For some reason, the network wasn't coming online by itself even with the correct PSK, however, because of a lack of logging (or, me finding that logging) I decided to add it the /etc/network/interfaces.d/wlan0 file

In the /etc/network/interfaces.d/wlan0 file

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp


Comments

Popular posts from this blog

Installing TinyCore 8x Linux to the Hard Drive via Command Line

IPv4 and IPv6 Reception with rsyslog

Acer Aspire One!