Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools


archlinux_-_configure_wifi

~~TOC~~

Archlinux - Configure wifi

  • Wifi↔USB: Alpha AWUS036NHA
  • SBC: ODROID U3
  • OS: Archlinux - kernel 3.8.13.27-1-ARCH
  • Country: The Netherlands

Install prerequisites

  • Install packages:
    pacman -S dialog wpa_supplicant

Configure regulatory domain

  • Install packages:
    pacman -S crda wireless-regdb
  • Reboot
  • Check the boot log to make sure that CRDA is being called by cfg80211:
    dmesg | grep cfg80211
  • Check current domain:
    iw reg get
  • Set country:
    iw reg set NL
  • Query list of channels and power to see if change was succesfull:
     iw list | grep -A 15 Frequencies:
  • To make this permanent, edit /etc/conf.d/wireless-regdom
    WIRELESS_REGDOM="NL"

Configure WLAN with netctl

  • Check if hardware is recognized by kernel:
    # dmesg |grep ath9k
    [  178.742553] usb 1-3.1: ath9k_htc: Firmware htc_9271.fw requested
    [  178.743195] usbcore: registered new interface driver ath9k_htc
    [  179.032544] usb 1-3.1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
    [  179.267660] ath9k_htc 1-3.1:1.0: ath9k_htc: HTC initialized with 33 credits
    [  179.465788] ath9k_htc 1-3.1:1.0: ath9k_htc: FW Version: 1.3
  • Generate WLAN profile:
    wifi-menu -o
  • Enable for auto-start:
    netctl reenable wlan0-<profile>
archlinux_-_configure_wifi.txt · Last modified: 2014/08/30 09:50 by admin