doc:appunti:hardware:gl_mt300n_v2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:hardware:gl_mt300n_v2 [2023/09/11 09:52] – niccolo | doc:appunti:hardware:gl_mt300n_v2 [2023/09/11 12:39] (current) – niccolo | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== GL-iNet MT-300N-V2 ====== | + | ====== GL-iNet |
{{gl-mt300n-v2.png? | {{gl-mt300n-v2.png? | ||
{{gl-mt300n-v2_pinout.jpg? | {{gl-mt300n-v2_pinout.jpg? | ||
- | ^ GL.iNet Firmware | + | ^ GL.iNet Firmware |
^ Kernel | ^ Kernel | ||
^ OpenWrt | ^ OpenWrt | ||
Line 12: | Line 12: | ||
^ Total Flash Storage | ^ Total Flash Storage | ||
^ Free Flash Storage | ^ Free Flash Storage | ||
+ | |||
+ | |||
+ | ===== Change repository ===== | ||
+ | |||
+ | The default repositories are set in file **/ | ||
+ | |||
+ | < | ||
+ | src/gz lede_core http:// | ||
+ | src/gz lede_base http:// | ||
+ | src/gz lede_luci http:// | ||
+ | src/gz lede_packages http:// | ||
+ | src/gz lede_routing http:// | ||
+ | src/gz lede_telephony http:// | ||
+ | src/gz lede_shadowsocks http:// | ||
+ | </ | ||
+ | |||
+ | As of September 2023 they are no longer in service, so we are unable to update or install new packages. A dirty hack can be to change the repository URLs with the following: | ||
+ | |||
+ | < | ||
+ | src/gz lede_core http:// | ||
+ | src/gz lede_base http:// | ||
+ | src/gz lede_luci http:// | ||
+ | src/gz lede_packages http:// | ||
+ | src/gz lede_routing http:// | ||
+ | src/gz lede_telephony http:// | ||
+ | </ | ||
+ | ===== Installing a new package ===== | ||
+ | |||
+ | < | ||
+ | opkg list-installed | ||
+ | </ | ||
+ | |||
+ | |||
+ | < | ||
+ | opkg update | ||
+ | opkg list | ||
+ | </ | ||
+ | |||
+ | E.g. to manage the OpenVPN connection through the LuCI web interface, install the following two packages: | ||
+ | |||
+ | < | ||
+ | opkg install luci-app-openvpn | ||
+ | opkg install luci-i18n-openvpn-en | ||
+ | </ | ||
+ | |||
+ | ===== Starting OpenVPN ===== | ||
+ | |||
+ | **GL-iNet** added a custom service called **startvpn** which badly interacts witht the default OpenWRT **openvpn** service. If you don't want to interact with the simplified GL-iNet web interface, simply disable the **startvpn** service and manage only the OpenWRT default options: | ||
+ | |||
+ | < | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | The usual OpenVPN configuration files can be placed into the **/ | ||
+ | |||
+ | < | ||
+ | config openvpn ' | ||
+ | option enabled ' | ||
+ | option config '/ | ||
+ | </ | ||
+ | |||
+ | If you want to be more sure that OpenVPN will start, enable it also into the GL-iNet custom configuration: | ||
+ | |||
+ | < | ||
+ | uci set glconfig.openvpn.enable=1 | ||
+ | uci commit glconfig | ||
+ | </ | ||
+ | |||
+ | Verify that the option was saved into the **/ | ||
+ | |||
+ | < | ||
+ | uci get glconfig.openvpn.enable | ||
+ | </ | ||
+ |
doc/appunti/hardware/gl_mt300n_v2.1694418728.txt.gz · Last modified: 2023/09/11 09:52 by niccolo