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.3K Nebula
- 141 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.5K Security
- 216 USG FLEX H Series
- 262 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1K Wireless
- 39 Wireless Ideas
- 6.3K Consumer Product
- 243 Service & License
- 382 News and Release
- 81 Security Advisories
- 27 Education Center
- 8 [Campaign] Zyxel Network Detective
- 3K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight