ties / compal_CH7465LG_py

Python interface for the Ziggo Connect Box/Compal CH7465LG
MIT License
116 stars 19 forks source link

Firmware update to 6.15.30-1p3-1-NOSH breaks guest network feature #31

Closed frimtec closed 3 years ago

frimtec commented 3 years ago

Since the firmware update of the compal modem to 6.15.30-1p3-1-NOSH switching of guest networks is broken. The rest call does not return, and the guest-network settings are corrupted.

frimtec commented 3 years ago

As I implemented the guest-network feature I will take care of the issue.

frimtec commented 3 years ago

The API of fun 308 was changed in the firmware:

In the old firmware, the update of the guest settings was always including separate settings for 2g and 5g radio. Additionally the interface number was required.

fun: 308 {
 wlInterface2g: <NUMBER>
 wlEnable2g: <1|2>
 wlSsid2g: <SSID>
 wlHiden2g: <1|2>
 wlRekey2g: 1
 wlSecurity2g: 8
 wlPSkey2g: <PW>
 wlWpaalg2g: 3
 wlInterface5g: <NUMBER>
 wlEnable5g: <1|2>
 wlSsid5g: <SSID>
 wlHiden5g: <1|2>
 wlRekey5g: 1 
 wlSecurity5g: 8
 wlPSkey5g: <PW>
 wlWpaalg5g: 3
}

The new firmware only accepts one set and applies it to 2g and 5g radio. The selection of the interface number has been removed. The update uses always the interface number 3. Never the less the read API still provides guest interfaces for interface number 1 to 7.

fun: 308 {
 wlEnable: <1|2>
 wlSsid: <SSID>
 wlHiden: <1|2>
 wlRekey: 1
 wlSecurity: 8
 wlPSkey: <PW>
 wlWpaalg: 3
}