AR150

From SOWNWiki
Jump to: navigation, search
GL.iNet AR150
GL.iNet AR150
Model AR150
Maker GL.iNet
System on Chip Atheros AR9331
RAM 64MiB0.0625 GiB
65,536 KiB
6.103516e-5 TiB
Flash 16MiB0.0156 GiB
16,384 KiB
1.525879e-5 TiB
Wireless 802.11b/g/n (2.4GHz only)
Ethernet 2 x 100mbits/s (WAN and LAN)
Power 1.0A @ 5VDC (USB micro)
FCC ID 2AFIWGL-AR-150
OpenWRT page https://wiki.openwrt.org/toh/gl-inet/gl-ar150
Status supported

The GL iNet AR150 is a (very) hackable OpenWRT router.

It runs Barrier Breaker by default, but should be possible to get Designated Driver on it fairly easily

Gaining Console Access

Console access is on UDP port 6666. There is a script to do this.

To get into the bootloader, press and hold the reset button for 10 seconds at startup.

In actual fact there are 3 modes:

  • Hold reset for 5 seconds - Factory reset
  • Hold reset for 8 seconds - Serial console
  • Hold reset for 10 seconds - Network console

Flashing the node

Building OpenWRT for these is not as easy as it should be - there's some magic configuration options that are required.... Our OpenWRT configuration is in the file .config-ar150 in the git repository at [1].

Once you have a successful build, you will need to flash it with the AR150 Flash Script. This can be done by doing the following:

1. Copy and paste the AR150 Flash Script to ar150-flash on your local filesystem (ideally on Linux). Python will need to be installed on your operating system.

2. Download the firmware image you want to flash. SOWN's latest firmware image can be downloaded here.

3. Bring up the wired interface on your computer on the IP address 192.168.1.2 with a subnet mask of 255.255.255.0.

4. Plug in a network cable between your computer and the node.

5. Run the ar150-flash script, using the command below, substituting the variables shown in capitals:

PYTHON_PATH/python ar150-flash FIRMWARE_IMAGE.bin

6. Hold down the reset button and plug in the power lead to the node.

7. Wait for the ar150-flash script to display "Starting HTTPD..." and then release the reset button.

8. Wait for the ar150-flash script to display "==== NEXT NODE PLEASE! ====", then unplug the node.

Next time the node is booted it should send a node setup request. This may take several hours for a SOWN admin to see and approve. Once approved the node should become full setup in around 10-15 minutes, at this point you should see the (by default) eduroam SSID.

LED Codes

Normal Boot

  1. Right hand light turns on red for less than a second
  2. Left-hand green light comes on: Node is loading SOWN firmware
  3. Left-hand green light flashing consistently: Node is trying to connect to the local network.
  4. Left-hand green light generally on but flashing intermittently: Node is connected to the local network. Intermittent flashing indicates network traffic.
  5. Left-hand and middle green lights are on and right-hand light flashing consistently orange: Node is connected to local network and SOWN network. Wi-Fi SSID is in the process of being brought up.
  6. Left-hand and middle green lights are on and right-hand light is general on and orange but sometimes flashes intermittently: Node is connected to local network and SOWN network and Wi-Fi SSID is up. Intermittent flashing indicates network traffic over the Wi-Fi interface.

Holding Down Reset Button on Boot

  1. Left-hand green light on and right hand light flashing red: Node is booting but reset button is held down.
  2. Left-hand and middle green lights are on and right hand light flashing red: Node has booted into factory reset mode. There is no point letting go now, as SOWN firmware does not have a factory reset option.
  3. Left-hand green light is on and right hand light still flashing red: Node has activated the serial console. Again, unless you have taken the node apart and populated the serial console, there is no point letting go of the reset button now.
  4. Left-hand and middle green lights are on and right-hand light is off:' Node has activated the network console. Once in this mode, follow the instructions above.

Error codes

  • Left-hand and middle green lights are on but right-hand light is off: Node is connected to the SOWN network but the Wi-Fi SSID is down. This may be due to the node being over its usage cap. This can be checked here. Alternatively, the node may have its reset button stuck in. Try rebooting the node. If you see the lights flash in the pattern described in the "Holding Down Reset Button on Boot", then try releasing the reset button pressing it several things with something pointy (e.g. a cocktail stick).
  • Left hand green light is on: If the light intermittently flashes, the in is connected to the local network but not the SOWN network. This may be a lack of Internet connectivity or there could be a problem on the SOWN network. If there is Internet connectivity, give the node 10-15 minutes, for any issues with the SOWN network to be resolved. Otherwise, after this time try rebooting the node.
... more about "AR150"
Atheros AR9331 +
2 x 100mbits/s (WAN and LAN) +
2AFIWGL-AR-150 +
0.0156 GiB (16 MiB, 16,384 KiB, 1.525879e-5 TiB) +
GL.iNet +
0.0625 GiB (64 MiB, 65,536 KiB, 6.103516e-5 TiB) +
AR150 +
1.0A @ 5VDC (USB micro) +
supported +
802.11b/g/n (2.4GHz only) +