-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fritzbox-7530/7520: utilize lan1 as wan, others as lan #3312
Conversation
The change isn't that dsa is introduced for the device, the change is that ports can be split thanks to dsa or something like that. Also i don't see the point in gatekeeping the migration for specific devices. If |
With
and the following coede, I also think it is fine to do this generally for all devices :) Though I understand that @grische wanted to reduce the impact of the PR :) |
I'm opposed to adding special cases conveying a opinionated default roleset of the port assignment. In the end, this adds further complexity. The user itself can re-role these DSA ports now and I'd rather like to see this configuration possibility in the Web-UI instead of configuring whatever an individual feels well suited differing from the OpenWrt default. |
3784d24
to
f49f90f
Compare
@blocktrron I understand that it is not ideal that we deviate from OpenWRT here, but we have done so in the past and users are used to it: Out of habit, many (of at least our) users just come and plug their uplink into LAN1 and are then wondering why there is no client network on LAN2. Even worse, they might enable Mesh (on WAN) and then bridge the Mesh and Client networks accidentally. While I think the suggestion to be able to fully configure ports separately is a nice idea, I would treat this independently and focus in this PR on easy-of-use (or "good defaults") for our users. |
The commit message "gluon-core: fix undefined lan role after migration" is inaccurate - it is not undefined, it just defaults to the I agree with @grische that this should be merged - Gluon's device checklist explicitly states that we should differ from OpenWrt's defaults for such devices. |
With the switch to DSA on this board, we can now utilize the ports better, by splitting them according to their usage Signed-off-by: Florian Maurer <[email protected]>
when a device is migrated from a single WAN/LAN configuration to a multi-port configuration (e.g. using DSA), set the same role on all ports and not just the new WAN port.
f49f90f
to
27fe1ed
Compare
@neocturne thanks, I changed the commit message to be more generic |
That's part of the point: You can't reconfigure singular ports in the Web-UI since it's a bridge and mkg's PR hasn't been merged, yet. Regardless I support the change. And getting MKG's PR finished up and merged would benefit users a lot. |
I would rather get this PR through as is and handle other devices afterward if needed in a separate PR. |
This is a new version of #3118 that includes a uci migration path for devices that were configured pre-DSA.
cc @maurerle