None at this time.
|Model||Version||Supported Current Rel||Firmware OpenWrt Install URL||Firmware OpenWrt Upgrade URL||Firmware OEM Stock URL|
Please read the article flash.layout for a better understanding. It contains a couple of explanations. Then let's have a quick view at flash layout of this particular device:
|GL.iNet GL-MT300N V2 Flash Layout|
Note the “art” partition with the SoC specific Wifi data.
Note: It can happen that the browser cache does conflict with the new loaded firmware. This can be avoided by browsing to: http://192.168.1.1/index.html?index. By adding ?index it asked the browser not to load from cache.
Note: tftp upgrade requires connecting to the Serial port, and pressing
'spacebar' during boot to access the U-Boot command line.
If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. There are two command line methods for upgrading:
Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.
cd /tmp wget https://downloads.openwrt.org/snapshots/targets/ramips/mt76x8/openwrt-ramips-mt76x8-gl-mt300n-v2-squashfs-sysupgrade.bin sysupgrade /tmp/openwrt-ramips-mt76x8-gl-mt300n-v2-squashfs-sysupgrade.bin
sysupgrade does not support this router, use
cd /tmp wget https://downloads.openwrt.org/snapshots/targets/ramips/mt76x8/openwrt-ramips-mt76x8-gl-mt300n-v2-squashfs-sysupgrade.bin mtd write /tmp/openwrt-ramips-mt76x8-gl-mt300n-v2-squashfs-sysupgrade.bin linux && reboot
The U-Boot bootloader has a web interface to update the firmware. To use the web interface, you need to connect to the LAN port, and your computer's ethernet port set to 192.168.1.2/24. To start the web interface:
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.
The default OEM network configuration is:
|Interface Name||Description||Default configuration|
|br-lan||LAN & WiFi||192.168.8.1/24|
|vlan1 (eth0.1)||LAN port||None|
|vlan2 (eth0.2)||WAN port||DHCP|
Port number 0 is labeled WAN on the unit, port 1 is labeled LAN. Ports 2-5 are not present. Port 6 (CPU) is the internal connection to the router itself. vlan1 = eth0.1, vlan2 = eth0.2 and so on.
→ hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.
Please fill in real values for this device, then remove the EXAMPLEs
The GL.iNet GL-MT300N V2 has the following buttons:
|EXAMPLE Secure Easy Setup||ses|
|EXAMPLE No buttons at all.||-|
Each MT300N V2 is assigned a Dynamic DNS address unique to your device.
Use a pry tool in the notch indicated. There are clips all round, see below;
Note the white post on the cover that holds the PCB steady. Ensure the cover is replaced with the correct orientation.
→The port.serial port on the MT300N V2 comes with the headers factory fitted.
How to connect to the Serial Port of this specific device:
It can be seen between the Ethernet switch (yellow) and PCB port at the bottom of the board and is labelled “TX,RX and GND”.
| Serial connection parameters|
for GL.iNet GL-MT300N V1
The MT300N V2 has general purpose GPIO pins broken out. Note, the headers at the to of the board. These headers are not factory fitted and will need to be fitted manually.
|No label||0||Controls power to the USB A port, export GPIO 0 and set its value 0/1 to control|
|WPS_PBC||2||Shared with WPS button according to docs, however this button appears not to exist|
|RST_PBC||1||Shared with Reset Button|
|LINK3||43||Shared with toggle switch on side of device|
Not really a Mod, but the board comes with support for a PoE add-on board which can be obtained from GLI.
The datasheet with pinouts for the PoE daughter-board can be found; Datasheet
The 3 way toggle switch comes from the factory with the right-hand third of the plastic part filled, GLI claims this is to prevent confusion over the 3 way toggle, but to keep the feature available when required, decided not to remove the 3-way switch. The photograph above shows a modified MT300N V2 to allow 3 way toggling. In the image, the switch is at the centre position.
The MT300N V2 implements a GPIO switch driver, using the scripts below, the switch position can be determined from shell script and acted upon.
The switch uses GPIOs 42 and 43 and can be access by exporting them as inputs. The values correspond to the switch positions as follows.
|Position||GPIO 42||GPIO 43|
Where X indicates a “Don't Care” state.
The scripts receive both a button ID in the form “BTN_X” and an action such as “pressed” or “unpressed”.
Space for additional notes, links to forum threads or other resources.