Nicolas314

Site moved to https://maz.one

OpenWRT on Ubiquiti AC Lite

This page has moved here: https://maz.one/openwrt-on-ubiquiti-ac-lite.html

Written by nicolas314

Monday 30 May 2016 at 4:41 pm

Posted in Uncategorized

Tagged with , ,

4 Responses

Subscribe to comments with RSS.

  1. Dear Nicolas,
    amazing work, i think that having an ubiquiti AP running OpenWRT would be amazing.
    One question: is the OpenWRT firmware installed on the device is also able to do some routing stuff (such as DHCP / NAT)? I would like to use it also as router (the ethernet interface will become the “WAN” side, and the wifi the “LAN”).

    Edoardo

    Wednesday 16 November 2016 at 1:27 pm

    • Oh, absolutely.
      You can run DHCP server, DNS, OpenVPN, or various stat-gathering tools, in addition to the default Web interface (Luci). The machine takes 30 seconds to boot, compared to 2 mins with Ubiquiti firmware.

      nicolas314

      Wednesday 16 November 2016 at 11:00 pm

  2. Hi Nicolas, thank you for sharing your experience. Being encouraged with your success to cover the whole house with just one AP I’ve tried to move my unifi ac pro to openwrt/LEDE and stuck with the very poor signal strength. In fact even with txpower set to 30 (with appropriate country settings) I have a signal strength about 65% ONLY if I put my smartphone on the device. In just a meter away it is only 25% and I can’t even connect to the network. What is in your /etc/config/wireless? And can you share the output of iwinfo and iw phy1 info and iw phy0 info commands? Mine look like this:

    root@lede:/etc/config# iw phy1 info
    Wiphy phy1
    max # scan SSIDs: 16
    max scan IEs length: 199 bytes
    max # sched scan SSIDs: 0
    max # match sets: 0
    Retry short limit: 7
    Retry long limit: 4
    Coverage class: 0 (up to 0m)
    Device supports AP-side u-APSD.
    Available Antennas: TX 0x7 RX 0x7
    Configured Antennas: TX 0x7 RX 0x7
    Supported interface modes:
    * managed
    * AP
    * AP/VLAN
    * monitor
    * mesh point
    Band 2:
    Capabilities: 0x19ef
    RX LDPC
    HT20/HT40
    SM Power Save disabled
    RX HT20 SGI
    RX HT40 SGI
    TX STBC
    RX STBC 1-stream
    Max AMSDU length: 7935 bytes
    DSSS/CCK HT40
    Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
    Minimum RX AMPDU time spacing: 8 usec (0x06)
    HT TX/RX MCS rate indexes supported: 0-23
    VHT Capabilities (0x338001b2):
    Max MPDU length: 11454
    Supported Channel Width: neither 160 nor 80+80
    RX LDPC
    short GI (80 MHz)
    TX STBC
    RX antenna pattern consistency
    TX antenna pattern consistency
    VHT RX MCS set:
    1 streams: MCS 0-9
    2 streams: MCS 0-9
    3 streams: MCS 0-9
    4 streams: not supported
    5 streams: not supported
    6 streams: not supported
    7 streams: not supported
    8 streams: not supported
    VHT RX highest supported: 0 Mbps
    VHT TX MCS set:
    1 streams: MCS 0-9
    2 streams: MCS 0-9
    3 streams: MCS 0-9
    4 streams: not supported
    5 streams: not supported
    6 streams: not supported
    7 streams: not supported
    8 streams: not supported
    VHT TX highest supported: 0 Mbps
    Frequencies:
    * 5180 MHz [36] (20.0 dBm)
    * 5200 MHz [40] (20.0 dBm)
    * 5220 MHz [44] (20.0 dBm)
    * 5240 MHz [48] (20.0 dBm)
    * 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
    * 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
    * 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
    * 5320 MHz [64] (20.0 dBm) (no IR, radar detection)
    * 5500 MHz [100] (disabled)
    * 5520 MHz [104] (disabled)
    * 5540 MHz [108] (disabled)
    * 5560 MHz [112] (disabled)
    * 5580 MHz [116] (disabled)
    * 5600 MHz [120] (disabled)
    * 5620 MHz [124] (disabled)
    * 5640 MHz [128] (disabled)
    * 5660 MHz [132] (30.0 dBm) (no IR, radar detection)
    * 5680 MHz [136] (30.0 dBm) (no IR, radar detection)
    * 5700 MHz [140] (30.0 dBm) (no IR, radar detection)
    * 5720 MHz [144] (30.0 dBm) (radar detection)
    * 5745 MHz [149] (30.0 dBm)
    * 5765 MHz [153] (30.0 dBm)
    * 5785 MHz [157] (30.0 dBm)
    * 5805 MHz [161] (30.0 dBm)
    * 5825 MHz [165] (30.0 dBm)
    valid interface combinations:
    * #{ AP, mesh point } <= 8, #{ managed } <= 1,
    total <= 8, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz }

    HT Capability overrides:
    * MCS: ff ff ff ff ff ff ff ff ff ff
    * maximum A-MSDU length
    * supported channel width
    * short GI for 40 MHz
    * max A-MPDU length exponent
    * min MPDU start spacing
    Device supports VHT-IBSS.

    root@lede:/etc/config# iwinfo
    wlan0 ESSID: "LEDE"
    Access Point: 80:2A:A8:11:21:2D
    Mode: Master Channel: 8 (2.447 GHz)
    Tx-Power: 20 dBm Link Quality: unknown/70
    Signal: unknown Noise: -95 dBm
    Bit Rate: unknown
    Encryption: WPA2 PSK (CCMP)
    Type: nl80211 HW Mode(s): 802.11bgn
    Hardware: unknown [Generic MAC80211]
    TX power offset: unknown
    Frequency offset: unknown
    Supports VAPs: yes PHY name: phy0

    wlan1 ESSID: "LEDE"
    Access Point: 80:2A:A8:12:21:2D
    Mode: Master Channel: 149 (5.745 GHz)
    Tx-Power: 30 dBm Link Quality: unknown/70
    Signal: unknown Noise: -114 dBm
    Bit Rate: unknown
    Encryption: WPA2 PSK (CCMP)
    Type: nl80211 HW Mode(s): 802.11nac
    Hardware: 168C:003C 0000:0000 [Qualcomm Atheros QCA9880]
    TX power offset: none
    Frequency offset: none
    Supports VAPs: yes PHY name: phy1

    Regards, Dmitry

    Dmitry

    Thursday 8 December 2016 at 10:43 pm

    • Hi Dmitry: I added a bunch of files to this post in case it might be useful to someone else. Hope it helps!

      nicolas314

      Friday 9 December 2016 at 1:03 pm


Comments are closed.