Understanding wifi hardware balancing

I have two wifi cards, a very slow one 2,4GHz internal (wlo1) and a faster external one 5GHz (wlan0).

Initially I detected that my connection were always slow, so I created a secondary connection specifying the cards for each one and the priorities. I can´t find any improvement however. I must blacklist the internal card in order to get an improvement.

I know I can do some bonding, but for some reason that doesn´t work. The bonding always defaults to the slower card.

Is there any way to properly configure the networking for this laptop? I want to still use both cards to improve the connection stability.

$ ip link show                                                                                                                         ✔ 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp1s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 30:e1:71:8d:26:68 brd ff:ff:ff:ff:ff:ff
    altname enx30e1718d2668
3: wlo1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
    link/ether 58:00:e3:88:ff:a7 brd ff:ff:ff:ff:ff:ff
    altname wlp2s0
    altname wlx5800e388ffa7
5: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 74:19:f8:19:db:58 brd ff:ff:ff:ff:ff:ff
    altname wlx7419f819db58

$ nmcli dev status                                                                                                                     ✔ 
DEVICE         TYPE      STATE                  CONNECTION     
wlo1           wifi      connecté               Freebox-C71EA8 
wlan0          wifi      connecté               Freebox-C71EA8 
lo             loopback  connecté (en externe)  lo             
p2p-dev-wlan0  wifi-p2p  déconnecté             --             
p2p-dev-wlo1   wifi-p2p  déconnecté             --             
enp1s0         ethernet  indisponible           --   

I think you need special software for this, such as Speedify. It’s in the AUR. It’s not cost-free, I guess.

Does wlan0 drop out often?

If not then just use that.


Otherwise perhaps this will help.

I tried the bonding, but when placed both at the same time as slaves, the bond just prioritizes the slow one. For now I just blacklist the slow one and use the fast one.

The wiki says you can configure a preferred interface. If you’ve already done that correctly then perhaps the interface isn’t available at some point so it falls back to the one that is. If that’s the case then a delay may help. :man_shrugging: