Hi all,

The Ubiquiti airGateway [1] is a tiny "POE" (not 802.11af,
unfortunately) powered AP that clips on to the end of Ubiquiti's POE
adapters. They intend it to be used as a local repeater for an AP
mounted off on a pole off on the roof, and as such has dual Ethernet
ports - one with POE passthrough.

It's based around the AR9280 chipset, just like quite a few TP-LINK
devices already supported by OpenWRT. Out of the box, if you try to
flash the firmware for the Ubiquiti AirRouter, it fails.

This is due to a simple magic string mismatch. It expects something
along the lines of: "UBNTAirGW.ar933x.v6.0.0-OpenWrt-r39036"

After changing the magic string, OpenWRT boots fine, but the WiFi
doesn't work. As a quick hack (and since I'm currently unfamiliar with
the correct way of doing things) I went about modifying the existing
entry for the AirRouter in arch/mips/ath79/mach-ubnt-xm.c

All that needed to be done was for the line "ap91_pci_init(ee, NULL);"
to be commented out, and for "ath79_register_wmac(ee, mac1);" to be
added at the end of the function ubnt_airrouter_setup.

With this, the compiled image booted and ran perfectly on the
airGateway, with WiFi. I haven't tested much beyond basic AP
functionality, but it seems stable enough. If you manage to open the
device (for which I had to use a dremel to cut it open...) you'll see
an unsoldered 3.3V serial port that can be used for debugging.

Cheers,
Federico

[1] http://dl.ubnt.com/datasheets/airgateway/airGateway_DS.pdf
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to