-
Notifications
You must be signed in to change notification settings - Fork 76
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
Allow user to change network interface prioprity #1836
Allow user to change network interface prioprity #1836
Conversation
Does the wireless interface appear on the Ethernet menu after this change? |
No, there's a new endpoint for all interfaces now. |
5c55bfa
to
66b0783
Compare
…nterfaces Signed-off-by: Patrick José Pereira <[email protected]>
9c83f6b
to
22c6032
Compare
22c6032
to
651fa52
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some observations:
- Sometimes "Apply" does nothing to the route metrics.
- When "Apply" works, it always changes the value of the routes (maybe not all routes), even if the order is kept the same.
- Sometimes the order of the list is changed to the inverse of what is applied: I switch wlan0 to the second, then if I open the dialogue again, it's the first.
- The colors are very confusing to me, I have to think a lot to mentally keep track of what's happening when I've switched the position of two items. I recommend not using different colors, as the meaning should be the same as the written position. I think my little brain just expects the colors to mean each interface, not each position.
- Ipv6 metrics are not following Ipv4 metrics changes.
7c5a910
to
3f29107
Compare
…rface Signed-off-by: Patrick José Pereira <[email protected]>
…rnetTrayMenu Signed-off-by: Patrick José Pereira <[email protected]>
Signed-off-by: Patrick José Pereira <[email protected]>
Signed-off-by: Patrick José Pereira <[email protected]>
Signed-off-by: Patrick José Pereira <[email protected]>
Signed-off-by: Patrick José Pereira <[email protected]>
Signed-off-by: Patrick José Pereira <[email protected]>
…mation Signed-off-by: Patrick José Pereira <[email protected]>
Signed-off-by: Patrick José Pereira <[email protected]>
55e43a6
to
3f5be61
Compare
…riority Signed-off-by: Patrick José Pereira <[email protected]>
Signed-off-by: Patrick José Pereira <[email protected]>
3f5be61
to
e38cc51
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the previous observations, only one is still unfixed:
- Ipv6 metrics are not following Ipv4 metrics changes.
It should be working now, isn't it ? |
nope, Ipv6 metrics are kept unchanged :( |
I believe that is a problem with the ifmetric and not with this implementation, since we do not support IPv6 around our code base and this already fix the main issue, it should not be a holder. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the previous observations, only one is still unfixed:
- Ipv6 metrics are not following Ipv4 metrics changes.
It should be working now, isn't it ?
nope, Ipv6 metrics are kept unchanged :(
I believe that is a problem with the ifmetric and not with this implementation, since we do not support IPv6 around our code base and this already fix the main issue, it should not be a holder.
I see, then just so we are aware, #1539 might not be solved for all the cases.
Just to be clear, the metrics changes can be done using |
And there's this fork, apparently with ipv6 support. |
Adds a globe icon to show that internet access is available:
The same icon can be used to control network interface priority.
So.. The problem is that network priority is done by network route and not network and that makes things more confuse to show to the user.
So, a single interface can have multiple destinations with different priorities.
We could do the same thing as ifmetric and change the network priority for all routes.
Is that correct ? How should we display the order based on the original version ?
In the end I'm changing the priority of the entire interface to the highest value + 1;
Fix #1539
Fix #1057