Arch linux wifi usb

Random Codes – Elementz Tech Blog

Tech blog based on research and development done by the Elementz team.

Connecting Wifi Network in Arch Linux ARM

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.

archOLINUXINO A13 Embedded Development Board

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

ctrl_interface=/var/run/wpa_supplicant
update_config=1
network= ssid=»YourSSID»
psk=»YourPASSWORD»
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
>
network= ssid=»AndroidAP»
key_mgmt=NONE
auth_alg=OPEN
>

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
dhcpcd wlan0

For changing configuration file you may use wpa_supplicant_gui.

You can install wpa_supplicant_gui using ‘ pacman -S wpa_supplicant_gui ‘.

Читайте также:  Mediatek mt7921 wi fi 6 wireless network adapter pci

Источник

Оцените статью
Adblock
detector