Synology usage series 32 – Setup Wifi WPA2 Enterprise with Freeradius+Openldap/Client Certificate


Raspberry Pi wireless client

To connect raspberry pi with 802.11x, follow instruction below

Edit /etc/network

auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.1.123
gateway 192.168.1.1
dns-nameservers 8.8.8.8 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
up route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.1 dev wlan0

wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

This configure static IP for the wifi adapter. I prefer using static IP.

Edit /etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
        scan_ssid=1
        ssid="YOUR SSID"
        identity="pi"
        proto=RSN
        key_mgmt=WPA-EAP
        eap=TLS
        ca_cert="/root/certs/ca.pem"
        client_cert="/root/certs/client.pem"
        private_key="/root/certs/client.key"
        private_key_passwd="passphrase of the private.key here"
}




Leave a Reply

Your email address will not be published. Required fields are marked *