Connecting to NUS wifi on Arch
I recently have to move to arch due to some annoying gcc problems on the OSX of my macbook but it seems that configuring the wifi to connect to the NUS network on arch isn’t that easy.
The NUS wifi network is configured with WPA2 enterprise authentication. I referred to Tech That!’s blog post to configure it.
First, you have to get the netcfg and the wpa_supplicant packages.
sudo pacman -S netcfg wpa_supplicant
netcfg allows you to configure your wifi according to profiles and manages the profiles for you. wpa_supplicant is used for configuring the authentication.
Next, copy /etc/network.d/examples/wireless-wpa-config to /etc/network.d/nus. In this example, I shall name it as nus.
sudo cp /etc/network.d/examples/wireless-wpa-config /etc/network.d/nus
Then, make sure your /etc/wpa_supplicant.conf looks like this:
Lastly, start the netcfg profile. The profile name should correspond to the file name of the profile configuration file in /etc/network.d/.
sudo netcfg nus