GLiNet GL-MT300N-V2 “Mango” Mini Smart Router – Initial Configuration

I recently found out about and got one of these:

This device is powered via MicroUSB, has a WAN/LAN ports, and can run a wired and wireless network that is connected to the internet via a ethernet cable in the WAN port, another wireless network, or via a “tethered” device connected to the USB-A port.

It comes from the factory with a reskinned old version of OpenWrt. The objective of this post is to document how to replace this with stock OpenWrt and provide an minimal configuration.

Acquire OpenWrt Firmware:

  1. Go to downloads.openwrt.org
  2. Go to the current stable release
  3. “ramips”
  4. “mt76x8”
  5. “glinet_gl-mt300n-v2-squashfs-sysupgrade.bin”
  6. Download the file and make a note of the SHA256 hash
  7. Once downloaded you can verify the hash (on Mac OS it’s “shasum -a 256 <filename> )

Replace Stock Firmware

  1. Take Mango from box
  2. Put Mango “in-line” to your computer such that your computer is connected to the LAN interface and your home network is connected to the WAN interface. Your computer should still be connected to the internet as the stock configuration will work out of the box.
  3. Log into the interface (192.168.8.1)
  4. It will make you select a language and choose a password
  5. Go to the “Upgrade” option on the left and go to the “Local Upgrade” tab
  6. Upload the file you just downloaded by dragging it into the box or browsing to it
  7. Disregard the warnings about unknown firmware
  8. Confirm the SHA256 hash matches
  9. Deselect the “Keep Settings” option
  10. Upgrade
  11. At some point your computer will lose it’s network settings and will be given a new IP address in the 192.168.1.0 range.
  12. Open a new browser window and browse to http://192.168.1.1
  13. Congrats you are now on OpenWrt

Minimal Configuration of OpenWrt

  1. System -> System
    1. General Settings tab
      1. Change the hostname (optional)
      2. Save & Apply
  2. System -> Administration
    1. Router Password tab
      1. Create a Password
      2. Save
    2. SSH Access tab
      1. Interface -> lan
      2. Save & Apply
      3. (I am not an OpenWrt user. But is SSH really accessible to the WAN interface by default? “if unspecified, on all”? Is there a firewall rule in place or something? I might come back to this. There is probably a good reason.)
  3. Network -> Interfaces
    1. Interfaces Tab
    2. Edit the LAN interface
      1. Under the General Settings Tab is where you can change the subnet for your network under the IPv4 address and IPv4 netmask options.
      2. Save
      3. Save & Apply
      4. Open a new browser session and browser to the new IP address (http not https)

Creating a Wireless Network

  1. Network -> Wireless
    1. Edit the “SSID: ” option
    2. Under Interface Configuration
    3. General Setup tab
      1. Change the ESSID to whatever you want
    4. Wireless Security tab
      1. Encryption -> WPA2-PSK
      2. Key -> THISWILLBEYOURWIFIPASSWORD
      3. Save
      4. Save & Apply
      5. (If it still reads as “Wireless is disabled” click “Enable”)

That should be enough to get you off the ground.

Future posts might include

  1. How to get interface to use HTTPS
  2. Use device as VPN Client
  3. Apparently you can chance the behavior of the status LEDs?
  4. What about that switch? Can we change that?
  5. Wait this thing have GPIO pins?
This entry was posted in networking and tagged . Bookmark the permalink.