000";
:local password "A60s123";
:local gwid "WAG-D7-MTR";
:local wlanid "MTRMTR00229-N/TLK-CI-59869:BONE@[Link]";
:local sessionid "0400FFFF7803B466-60B31042";
:local ip [:pick [:ip address get [:ip addres find interface=wlan1] address] 0
([:len [:ip address get [:ip addres find interface=wlan1] address]]-3) ];
:local mac [/interface wireless get [ find default-name=wlan1 ] mac-address];
:tool fetch mode=https http-header-field="Content-Type: application/x-www-form-
urlencoded; charset=UTF-8,User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36,Referer: [Link]
gw_id=$gwid&client_mac=$mac&wlan=$wlan&sessionid=$sessionid&redirect=http://
[Link]/generate_204" http-method=post http-
data="username=$username&password=$password"
url="[Link]
ipc=$ip&gw_id=$gwid&mac=$mac&username=$username&password=$password&redirect=&wlan=$
wlanid";