Zit Seng's Blog

A Singaporean's technology and lifestyle blog

NUS Wireless WPA Supplicant for Linux and Raspberry Pi

It came to my attention, recently, that people were still struggling with wireless configuration on their Linux, or Raspberry Pi, to connect with the NUS wireless network. Linux isn’t that well supported on campus, but there are official guides that are plenty helpful. Further, I’d expect that Linux users can pretty much self-support themselves.

Raspberry Pi with Wi-Fi Dongle

It’s pretty easy. If you use a GUI on a modern Linux distribution, it greatly simplifies the configuration of the WPA supplicant for you. The most important things you need to know:

  • Security: WPA2 Enterprise
  • Authentication: PEAP
  • Inner Authentication: MSCHAPv2
  • Username: <domain>\<username>

After playing around with your GUI, and getting your wireless connected, you can take the resulting WPA supplicant configuration to see what’s needed.

Here’s how your WPA supplicant configuration file ought to look like:

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

The file goes into /etc/wpa_supplicant/wpa_supplicant.conf.

This is, incidentally, taken from one of my Raspberry Pis, which are live on NUS wireless network.

That’s all there is to it. Simple enough?

1 thought on “NUS Wireless WPA Supplicant for Linux and Raspberry Pi

Leave a Reply

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

View Comment Policy