ConnMan: prefer ethernet to wireless

Forum Forums General Tips and Tricks ConnMan: prefer ethernet to wireless

  • This topic has 1 reply, 2 voices, and was last updated Mar 14-8:24 pm by olsztyn.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #79074
    Member
    blur13

      Hi!

      Was reading up on Connman on Arch wiki and found the following really useful:

      “By default ConnMan does not prefer ethernet over wireless, which can lead to it deciding to stick with a slow wireless network even when ethernet is available. You can tell connman to prefer ethernet adding the following to /etc/connman/main.conf:

      [General]
      PreferredTechnologies=ethernet,wifi
      Exclusive connection
      ConnMan allows you to be connected to both ethernet and wireless at the same time. This can be useful as it allows programs that established a connection over wifi to stay connected even after you connect to ethernet. But some people prefer to have only a single unambiguous connection active at a time. That behavior can be activated by adding the following to /etc/connman/main.conf:

      [General]
      SingleConnectedTechnology=true”

      Source: https://wiki.archlinux.org/title/ConnMan#Prefer_ethernet_to_wireless

      This has been bugging me. Say I’m downloading some large file and insert a Cat5 cable to use a much faster wired connection. Connman keeps using the slower wireless connection. I had to restart the computer to get it to use eth0. Now it behaves as I would expect, it switches over to the wired connection and abandons the wireless one. Maybe this tip can help someone else.

      #79076
      Member
      olsztyn
        Helpful
        Up
        0
        ::

        General]
        PreferredTechnologies=ethernet,wifi

        Great find… I was not aware of such Connman behavior.
        Thanks and Regards…

        Live antiX Boot Options (Previously posted by Xecure):
        https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.