You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was originally noticed when the linksys_whw03 and linksys_whw03v2 were added to the firmware build, but their config files were missing the ifname assignment that other images get.
The wifi data sent to ops comes from two places: iw and uci (which configures by /etc/config/wireless). Previously the interface names parsed from both these commands were standard, but with these new routers that is no longer the case- and that disconnect was the cause of this issue.
What we need now is a way to either assign the same name to each interface on both programs or find a way for rita to conflate the two, as right now iw parses interfaces with names like 'phy0-ap0' but uci parses that same interface as 'radio0'.
Some example outputs:
LR-14, Beta21RC17, linksys_whw03 which has some (apparently default- interfaces are unlisted) info for wifi devices, but does populate uci settings with named radios as radio0,1,2:
(note: this router does not have the ifname field set in etc/config/wireless. so how is it getting the radio names to ops?)
LR-36, Beta21RC20, linksys_whw03v2 this one has the iw interfaces with their info populated but does not show any data gleaned from uci. this is expected after the original fix:
and, a test case: LR-18, Beta21RC20, linksys_whw03v2 was in the same state as LR-36. After manually adding an ifname to each wifi-iface in /etc/config/wireless and running wifi reload, both the uci and iw data is shown under the new names (wlanX):
The idea here is to fix this without needing a sysupgrade, which means if we go the route of adding this ifname to each router's config it must be done by rita auto detecting its absence. More testing tbd as I mess with other config settings and their outputs.
The text was updated successfully, but these errors were encountered:
This issue was originally noticed when the linksys_whw03 and linksys_whw03v2 were added to the firmware build, but their config files were missing the ifname assignment that other images get.
The wifi data sent to ops comes from two places: iw and uci (which configures by /etc/config/wireless). Previously the interface names parsed from both these commands were standard, but with these new routers that is no longer the case- and that disconnect was the cause of this issue.
What we need now is a way to either assign the same name to each interface on both programs or find a way for rita to conflate the two, as right now iw parses interfaces with names like 'phy0-ap0' but uci parses that same interface as 'radio0'.
Some example outputs:
LR-14, Beta21RC17, linksys_whw03 which has some (apparently default- interfaces are unlisted) info for wifi devices, but does populate uci settings with named radios as radio0,1,2:
(note: this router does not have the ifname field set in etc/config/wireless. so how is it getting the radio names to ops?)
LR-36, Beta21RC20, linksys_whw03v2 this one has the iw interfaces with their info populated but does not show any data gleaned from uci. this is expected after the original fix:
and, a test case: LR-18, Beta21RC20, linksys_whw03v2 was in the same state as LR-36. After manually adding an ifname to each wifi-iface in /etc/config/wireless and running wifi reload, both the uci and iw data is shown under the new names (wlanX):
The idea here is to fix this without needing a sysupgrade, which means if we go the route of adding this ifname to each router's config it must be done by rita auto detecting its absence. More testing tbd as I mess with other config settings and their outputs.
The text was updated successfully, but these errors were encountered: