Hi,
I found an error in the GL.iNET API documentation : API documentation
To configure the WAN interface, the routeur require 2 dns but in documentation there are just 1 dns parameter.
If I test with just dns parameter, the router send : {"msg":"dns missing","code":-5}
To don’t have this error I need to give dns1 and dns2 and not dns
Like this : curl --header "Authorization:[Token]" https://192.168.8.1/cgi-bin/api/wan/access/set -d "proto=static&ipaddr=10.0.0.3&gateway=10.0.0.1&netmask=255.255.255.0&dns1=10.0.0.1&dns2=1.1.1.1"
I have the GL-MIFI.
Thanks
Mickaël Descamps