User Tools

Site Tools


doc:appunti:hardware:gl_mt300n_v2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
doc:appunti:hardware:gl_mt300n_v2 [2023/09/11 08:47] – [Starting OpenVPN] niccolodoc:appunti:hardware:gl_mt300n_v2 [2023/09/11 10:38] niccolo
Line 1: Line 1:
-====== GL-iNet MT-300N-V2 ======+====== GL-iNet GL-MT-300N-V2 ======
  
 {{gl-mt300n-v2.png?direct&240|GL-MT300N-V2}} {{gl-mt300n-v2.png?direct&240|GL-MT300N-V2}}
Line 28: Line 28:
 </file> </file>
  
-As of September 2023 they are no longer in service, so we are unable to update or install new packages.+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:
  
 +<file>
 +src/gz lede_core http://downloads.openwrt.org/releases/17.01.7/targets/ramips/mt7628/packages
 +src/gz lede_base http://downloads.openwrt.org/releases/17.01.7/packages/mipsel_24kc/base
 +src/gz lede_luci http://downloads.openwrt.org/releases/17.01.7/packages/mipsel_24kc/luci
 +src/gz lede_packages http://downloads.openwrt.org/releases/17.01.7/packages/mipsel_24kc/packages
 +src/gz lede_routing http://downloads.openwrt.org/releases/17.01.7/packages/mipsel_24kc/routing
 +src/gz lede_telephony http://downloads.openwrt.org/releases/17.01.7/packages/mipsel_24kc/telephony
 +</file>
 ===== Installing a new package ===== ===== Installing a new package =====
  
Line 40: Line 48:
 opkg update opkg update
 opkg list opkg list
 +</code>
 +
 +E.g. to manage the OpenVPN connection through the LuCI web interface, install the following two packages:
 +
 +<code>
 +opkg install luci-app-openvpn
 +opkg install luci-i18n-openvpn-en
 </code> </code>
  
Line 51: Line 66:
 /etc/init.d/openvpn start /etc/init.d/openvpn start
 </code> </code>
 +
 +The usual OpenVPN configuration files can be placed into the **/etc/openvpn/** directory. You can instruct OpenVPN to start the configuration by adding a section into **/etc/config/openvpn** (beware that the **hyphen** is allowd into OpenVPN configuration file, but it is **forbidden** into the OpenWRT name): 
 +
 +<file>
 +config openvpn 'my_openpvpn'
 +        option enabled '1'
 +        option config '/etc/openvpn/my-openvpn.conf'
 +</file>
  
 If you want to be more sure that OpenVPN will start, enable it also into the GL-iNet custom configuration: If you want to be more sure that OpenVPN will start, enable it also into the GL-iNet custom configuration:
doc/appunti/hardware/gl_mt300n_v2.txt · Last modified: 2023/09/11 10:39 by niccolo