Script to autologin portal when offline wih UGS40
Hello,
I have a UGS40 connected to public internet with a portal to activated internet with a code.
Is it possibel to create a script what opens a url (if possible every 5 minutes)
when the device is offline?
0
All Replies
-
Hi @Tjeerd13,
Can you share more information about the scenario/Application?0 -
The USG40 is in a challet/cottage on a holiday park.
There is a lan connection in the challet, to activate the internet whe have to enter a code on a webportal. (Also for the WiFi on the holiday park.) Instead of entering the code we can also use the URL: https://aplogin.com/?code=ABCDE123&url=https://somewebsite.com&ip=192.168.10.12
On random times whe need te reactivate the connection to gain acces again to the internet. (We also use the internet to remote control the Heating system).
What we would like:
If the WAN1 is offline. (As example no ping response from www.google.com) the UGS has to call the url https://aplogin.com/?code=ABCDE123&url=https://zyxel.com&ip=192.168.10.55 every 5 minutes.
What we think is great?
Modify the url in the script: https://aplogin.com/?code=ABCDE123&url=https://zyxel.com&ip=192.168.10.12
But instead of ip 192.168.10.12 we would use the WAN adres as variable .
https://aplogin.com/?code=ABCDE123&url=https://zyxel.com&ip="Wan1 IP"
0 -
The USG40 is in a challet/cottage on a holiday park.
There is a lan connection in the challet, to activate the internet whe have to enter a code on a webportal. (Also for the WiFi on the holiday park.) Instead of entering the code we can also use the URL: https://aplogin.com/?code=ABCDE123&url=https://somewebsite.com&ip=192.168.10.12
On random times whe need te reactivate the connection to gain acces again to the internet. (We also use the internet to remote control the Heating system).
What we would like:
If the WAN1 is offline. (As example no ping response from www.google.com) the UGS has to call the url https://aplogin.com/?code=ABCDE123&url=https://zyxel.com&ip=192.168.10.55 every 5 minutes.
What we think is great?
Modify the url in the script: https://aplogin.com/?code=ABCDE123&url=https://zyxel.com&ip=192.168.10.12
But instead of ip 192.168.10.12 we would use the WAN adres as variable .
https://aplogin.com/?code=ABCDE123&url=https://zyxel.com&ip="Wan1 IP"
0 -
Hi @Tjeerd13,
Its' not support at current design. GW script related CLI is mainly for Zyxel shell command.
It's unable to perform a script to call a URL.0
Categories
- All Categories
- 415 Beta Program
- 2.5K Nebula
- 152 Nebula Ideas
- 103 Nebula Status and Incidents
- 5.8K Security
- 297 USG FLEX H Series
- 282 Security Ideas
- 1.5K Switch
- 77 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.5K Consumer Product
- 254 Service & License
- 396 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 87 About Community
- 76 Security Highlight