You can use this function to set an insecure password in your Unitymedia router's WiFi settings.
-
-
Save leolabs/7e49877463e362233c48e959b947afbe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setWifiInsecure(ssid, password) { | |
ajaxSet({ | |
"fun":301,"wlBandMode2g":"1","wlBandMode5g":"1", | |
"wlSsid2g":ssid,"wlSsid5g":ssid,"wlBandwidth2g":"1", | |
"wlBandwidth5g":"2","wlTxMode2g":"1","wlTxMode5g":"14", | |
"wlMCastRate2g":"1","wlMCastRate5g":"1","wlHiden2g":"2", | |
"wlHiden5g":"2","wlCoexistence":"1","wlPSkey2g":password, | |
"wlPSkey5g":password,"wlTxrate2g":"0","wlTxrate5g":"0","wlRekey2g":"0", | |
"wlRekey5g":"0","wlChannel2g":"6","wlChannel5g":"116","wlSecurity2g":4,"wlSecurity5g":4,"wlWpaalg2g":2,"wlWpaalg5g":2}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment