This device is NOT RECOMMENDED for future use with OpenWrt due to low flash/ram. DO NOT BUY DEVICES WITH 4MB FLASH / 32MB RAM if you intend to flash an up-to-date and secure OpenWrt version (18.06 or later) onto it! See 4/32 warning for details.
1) This device does not have sufficient resources (flash and/or RAM) to provide secure and reliable operation.
This means that even setting a password or changing simple network settings might not be possible any more, rendering the device effectively useless. See OpenWrt on 4/32 devices what you can do now.
2) OpenWrt support for this device will end after 2019.
19.07 will be the last official build for 4/32 devices. After 19.07, no further OpenWrt images will be built for 4/32 devices. See OpenWrt on 4/32 devices what you can do now.
UbiquitiNanoStation 2 hardware compatible, TL-WA5210G need hardware reflash in RedBoot for OpenWrt
Power: passive POE (pairs 4,5+; 7,8 return) 12 to 18 VDC (POE injector included in the package)
The TL-WA5210G comes with a 12V power supply, the internal DC-Converter seems to be realized with a PWM Control Step-Down Converter. This can handle up to 18V. (tested)
Serial: internal (HE-10 connector, 3.3V)
This device is an integrated wifi spot designed to be used outdoor. With TP-Link Firmware, actually, it can act as station, station WDS, client, client wds, bridge wds… There is a dual patch antenna system able to work in vertical or horizontal polarity, or to send RF to an external RP-SMA female or SMA female connector (depending of date of manufacturing) - This feature is software selectable.
Also, hardware partically compatibility with UbiquitiNanoStation 2, diff in Ext_antenna GPIO=1 and LEDS GPIO=2,3,4,7 (NS2 ext_ant=7 and leds=0,1,3,4)
in Ubiquiti classification, for 5210G make unused C0A2 hardware code for support hardware differences from march 2014.
Less than average performance.
There is a hidden menu: http://192.168.1.254/userRpm/NatDebugRpm26525557.htm
In order to upgrade from OpenWrt to a newer version, both the kernel mtd and filesystem mtd must be reflashed. The kernel is likely lzma compressed. If either mtd block isn't big enough, reflashing can not be completed through OpenWrt, but must be done through the RedBoot bootloader.
Recent versions of OpenWrt (8.09.2 and newer) support sysupgrade on this platform. To upgrade, put a combined firmware image into /tmp on the device and flash it using the sysupgrade command as outlined below.
Loading via tftp
This can also be used to upgrade a device if you don't mind loosing your old config.
Ethernet cable connection between PC and WA5210G. A switched connection or a bridged connection seems to work fine.
Network settings of PC: 192.168.1.254/255.255.255.0
TFTP client on PC
NanoStation firmware file from Ubiquiti (not an OpenWrt image)
Turn off the device
Press the reset button
Turn on the device
Release the reset button ~10 seconds (but not longer) after turning the device on. You will know it's ready when the LEDs change.
Ping 192.168.1.20. If it works, you're ready to upload an image, if not, go back to step 1.
tftp the image in binary mode to 192.168.1.20 as 'flash_update'.
tftp> put openwrt-atheros-ubnt2-squashfs.bin flash_update
Sent 1965199 bytes in 28.8 seconds
or in Windows Dos prompt
tftp -i 192.168.1.20 put openwrt-atheros-ubnt2-squashfs.bin flash_update
7. Signal LEDs might be blinking during the upgrade.
7. Wait ~7 minutes before restarting or until the power lights stop their back and forth blinking.
7. Restart. The device should be back to its old configuration (OpenWrt doesn't overwrite or modify the NVRAM settings).
8. telnet to 192.168.1.1 and set a password with
The two internal antennas work more or less automatically, using the driver's “diversity” setting to choose the correct one. Using an external antenna requires manually setting a few things:
sysctl set dev.wifi0.softled 0
gpioctl 7 0
For TopolStation 5210G diff hardware gpio 1 external antenna from NS2
sysctl set dev.wifi0.softled 0
gpioctl 1 0
These can be added to an init file in /etc/rc.d and /etc/init.d
How compile OpenWrt 10.03.1 backfire for TopolStation 5210G
svn co svn://svn.openwrt.org/openwrt/branches/backfire
nano ./feeds.conf.default # not needed
./scripts/feeds update -a
./scripts/feeds install -a -p luci # also ./scripts/feeds search search_word or ./scripts/feeds install name_package
make prereq # show required
# place for patch, if need
Patch for Switching antennas in OpenWrt 10.03.1 backfire
toh/tp-link/tl-wa5210g.txt · Last modified: 2019/02/12 19:10 by tmomas