Bug 28694

Summary: Give user the choice of witch connection to use
Product: Mageia Reporter: david Cossé <saveurlinux>
Component: RPM PackagesAssignee: Mageia tools maintainers <mageiatools>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Normal CC: ouaurelien
Version: Cauldron   
Target Milestone: Mageia 9   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: drakx-net-2.55-1.mga8 CVE:
Status comment:

Description david Cossé 2021-03-31 19:11:43 CEST
Theme name: Adwaita
Kernel version = 5.10.25-desktop-1.mga8
Distribution=Mageia release 8 (Official) for x86_64
CPU=Intel(R) Core(TM) i7-3632QM CPU @ 2.20GHz

Typically I would like to prioritize ethernet to wifi but auto connect to wifi when the Ethernet link is down.
Comment 1 Aurelien Oudelet 2021-03-31 19:38:17 CEST
Hi, thanks requesting this.

I don't know if this is feasible as drakx_net relies on ifup scripts.
I believe such functionality could be done by NetworkManager.

Meanwhile, assigning to Mageia Tools maintainers.

Target Milestone: --- => Mageia 9
Version: 8 => Cauldron
Assignee: bugsquad => mageiatools
CC: (none) => ouaurelien

Comment 2 Thomas Backlund 2021-03-31 20:37:24 CEST
that should already be working...

ethernet connections get lower metric than wifi, so even with both connections active / connecte, it will prioritize the ethernet for traffic...
Comment 3 david Cossé 2021-04-01 11:29:50 CEST
(In reply to Thomas Backlund from comment #2)
> that should already be working...
> 
> ethernet connections get lower metric than wifi, so even with both
> connections active / connecte, it will prioritize the ethernet for traffic...

metric is 10 for ethernet 30 for wifi but:

Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic Metric Ref    Use Iface
default         Freebox-Server. 0.0.0.0         UG    0      0        0 wlp3s0
link-local      0.0.0.0         255.255.0.0     U     1002   0        0 enp2s0f0
link-local      0.0.0.0         255.255.0.0     U     1003   0        0 wlp3s0
172.17.0.0      0.0.0.0         255.255.0.0     U     0      0        0 docker0
172.18.0.0      0.0.0.0         255.255.0.0     U     0      0        0 br-fc21ca8d6635
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 wlp3s0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 enp2s0f0
Comment 4 david Cossé 2021-04-08 17:04:03 CEST
An other problem that I've got now, I'm using docker and this one create many networks. This network are now all visible into the nm-applet (about 30) and switch off wifi to use ethernet connect me to a docker network.
- nm-applet should not display the docker's ones
- it should be able to do automatic switch from wifi to Ethernet physical card

Changing metrics does not have effect.

About drakx-net, I'm wondering what is it for "Allow UI to manage NetworkManager" as NetworkManager is not installed by default, am'I false ?
Comment 5 david Cossé 2021-04-09 00:10:17 CEST
andurstand "Allow interface to be controlled by Network Manager" and not "Allow UI to manage NetworkManager"