On the Internet, I found a script that allows to automatically maintain permanent authorization in WISP mode when connecting to the hotspot (mikrotik standart: login / password). BUT I was not able to correctly run it on the GL-MT300N v1 even just for execution, not to mention the startup at boot.
LUCI Startup string: sh /usr/bin/login-hs.sh yj627p jxbvhp &The original code and the corrected by me one and the same error:
BusyBox v1.24.1 (2016-09-08 17:43:22 HKT) built-in shell (ash)
O P E N W R T W I R E L E S S F R E E D O M
-ash: /usr/bin/login-hs.sh: not found
root@GL-MT300N:~# sh /usr/bin/login-hs.sh
: not foundgin-hs.sh: line 2:
: not foundgin-hs.sh: line 10:
: not foundgin-hs.sh: line 22:
: not foundgin-hs.sh: line 29:
: not foundgin-hs.sh: line 30:
: not foundgin-hs.sh: line 31:
: not foundgin-hs.sh: line 32:
/usr/bin/login-hs.sh: line 232: syntax error: unexpected “done” (expecting "then ")
As it seems to me in the environment of the use of something that is not configured, but I could not make out in connection with which I ask you to help.
I think that if we manage to adapt the script, it will be very much in demand not only by me.
If there are any questions about mikrotik (very popular in Europe and Russia), I will try to answer to the best of my competence.
While for authorization I use this link in the browser http://192.168.13.1/login?&username=yj627p&password=jxbvhp
It also works on the MT300N according to the syntax of wget and curl.