Skip to content

Instantly share code, notes, and snippets.

@cmtickle
Last active December 3, 2019 02:41
Show Gist options
  • Save cmtickle/6d064c9d229105a3f942194f084183d7 to your computer and use it in GitHub Desktop.
Save cmtickle/6d064c9d229105a3f942194f084183d7 to your computer and use it in GitHub Desktop.
Connect Raspberry Pi 3B (Raspbian) to Cisco Meraki PEAP EAP network
  1. Due to a TLS issue in release Buster it is easier to get this working in Raspbian Stretch, get it from here.
https://downloads.raspberrypi.org/raspbian/images/raspbian-2019-04-09/2019-04-08-raspbian-stretch.zip
  1. Image it to SD as per Raspbian instructions

  2. Add the following in the root of your 'boot' drive (SD card) as wpa_supplicant.conf (replacing the relevant country, SSID, identity and password details.

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=IN
ap_scan=1
eapol_version=1

network={
        priority=1
        scan_ssid=1
        mode=0
        ssid="Your Wifi Network Name"
        key_mgmt=WPA-EAP
        auth_alg=OPEN
        eap=PEAP
        anonymous_identity="[email protected]"
        identity="[email protected]"
        password="PlaintextPasswordAtoX1to9only"
        phase1="peaplabel=0"
        phase2="auth=MSCHAPV2"
        }
  1. Put the SD card in the Raspberry Pi and see if it works for you (good luck!).

  2. (OPTIONAL, if the above fails) There is an issue in some versions of the Pi 3B Firmware which stops them connecting to this type of network. You may need the following firmware update.

sudo rpi-update 82f49d8dfd9c000a203fb1deae64a3eb87abf3c1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment