Script to autologin portal when offline wih UGS40
Options
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
- 441 Beta Program
- 2.9K Nebula
- 210 Nebula Ideas
- 127 Nebula Status and Incidents
- 6.4K Security
- 538 USG FLEX H Series
- 340 Security Ideas
- 1.7K Switch
- 84 Switch Ideas
- 1.3K Wireless
- 51 Wireless Ideas
- 6.9K Consumer Product
- 295 Service & License
- 464 News and Release
- 90 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 4.7K FAQ
- 34 Documents
- 86 About Community
- 99 Security Highlight
Freshman Member
Zyxel Employee