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
- 384 Beta Program
- 2.1K Nebula
- 117 Nebula Ideas
- 80 Nebula Status and Incidents
- 5.1K Security
- 78 USG FLEX H Series
- 247 Security Ideas
- 1.3K Switch
- 69 Switch Ideas
- 907 WirelessLAN
- 34 WLAN Ideas
- 5.9K Consumer Product
- 209 Service & License
- 335 News and Release
- 71 Security Advisories
- 21 Education Center
- 5 [Campaign] Zyxel Network Detective
- 1.9K FAQ
- 898 Nebula FAQ
- 415 Security FAQ
- 234 Switch FAQ
- 205 WirelessLAN FAQ
- 46 Consumer Product FAQ
- 137 Service & License FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 73 About Community
- 62 Security Highlight