Arch Linux ARM is a rolling distribution which enables Linux Development in many of consumer devices and development platform which uses ARM processors. This tutorial is about connecting our boards with a wifi network through Wifi USB Dongle in ArchLinux.
The USB Dongle was equipped with RTL8192CU chipset. The board under test was OlinuXino-A13 without inbuilt Wifi. A similar Dongle using RTL8188CU can be purchased from this link.
You need to enable support for the RTL8192CU/RTL8188CU in the kernel. The instructions for compilation and configuring the kernel was described in the previous post.
Install some softwares using pacman. You may use a USB2LAN or USB Tethering for accessing network for this purpose.
Run the following commands in terminal.
pacman -Sy // update the package information
pacman -S iw
pacman -S wpa_supplicant
create a configuration file ‘wpa_supplicant.conf’ in /etc/wpa_supplicant/ folder.
The content may look like this
Type the following in terminal assuming the device is wlan0
ip link set wlan0 up
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
Optionally you want to enable dynamic ip allocation by running
For changing configuration file you may use wpa_supplicant_gui.
You can install wpa_supplicant_gui using ‘
pacman -S wpa_supplicant_gui‘.