OpenWRT AccessPoint / WiFi configuration tutorial

OpenWRT is currently the best operating system for running high-throughtput, open-source WiFi access points. It has a full 802.11a/b/g/n/ac support out of the box.

pfSense and OPNSense don't support the 802.11ac mode yet. IPFire supports 802.11ac only partially, with much worse performance.

If you want to run reliable and high-performance WiFi accesspoint, OpenWRT/LEDE is the best solution.

Step by step instructions

  1. Install OpenWRT
  2. Install required packages
  3. Configure hostapd in access point mode

Really, compared to pfSense and IPFire, it's much, much easier to configure Access point in OpenWRT.

Install OpenWRT

We cover the installation steps in searate article. Please see openWRT/LEDE installation instructions for APU boards. 

Install hostapd and firmware drivers for your network card(s).

In the web interface, go to System->Software and search for "hostapd".

 

In the same manner, install drivers and firmware for your network cards.

If you have wle200nx, you will need the following packages:

  • kmod-ath9k
  • ath9k-htc-firmware

If you have wle600vx or wle900vx you will need these packages:

  • ath10k-firmware-qca988x   
  • kmod-ath10k

Once these packages are installed, reboot your router.

Now you should be able to see new menu item in Network->Wireless

Here's our configuration for wle600vx.

  • Operating frequency AC mode, Channel 36, Width: 80MHz
  • Transmit power: 23 dBm (199mW)
  • ESSID: TekLagerAC
  • Wireless security: WPA2-PSK
  • Key: TekLager123

 

This configured the card in the full 802.11ac mode with full 80MHz channel. 

Theoretically you should be able to get 867Mbit/s on this connection.

In our tests we get 520+Mbit/s which is the highest throughput we have seen on any commercial or open-source device. Our test was performed between APU3 with wle600vx and Samsung Galaxy S7 smartphone. Perhaps even higher throughput can be achieved with different device.

See raw output from iperf3 tool: 

-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.1.186, port 36786
[  5] local 192.168.1.240 port 5201 connected to 192.168.1.186 port 36787
[ ID] Interval           Transfer     Bandwidth
[  5]   0.00-1.00   sec  59.7 MBytes   501 Mbits/sec                  
[  5]   1.00-2.00   sec  63.4 MBytes   532 Mbits/sec                  
[  5]   2.00-3.00   sec  62.8 MBytes   527 Mbits/sec                  
[  5]   3.00-4.00   sec  63.4 MBytes   532 Mbits/sec                  
[  5]   4.00-5.00   sec  63.0 MBytes   529 Mbits/sec                  
[  5]   5.00-6.00   sec  62.5 MBytes   524 Mbits/sec                  
[  5]   6.00-7.00   sec  62.8 MBytes   526 Mbits/sec                  
[  5]   7.00-8.00   sec  62.6 MBytes   526 Mbits/sec                  
[  5]   8.00-9.00   sec  62.8 MBytes   527 Mbits/sec                  
[  5]   9.00-10.00  sec  62.8 MBytes   527 Mbits/sec                  
[  5]  10.00-10.03  sec  2.07 MBytes   500 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  5]   0.00-10.03  sec  0.00 Bytes  0.00 bits/sec                  sender
[  5]   0.00-10.03  sec   628 MBytes   525 Mbits/sec                  receiver

 

Half-gigabit WiFi throughput is trully amazing. Kudos to the LEDE/OpenWRT team!

 


TekLager sells OpenWRT routers based on PC Engines hardware in Sweden, Denmark, Finland, Norway, US and Canada.