Internet Sharing with 2 Wifi Adapters

Forum Forums New users New Users and General Questions Internet Sharing with 2 Wifi Adapters

  • This topic has 8 replies, 4 voices, and was last updated Jul 31-2:05 pm by Xecure.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #39591
    Anonymous

      Hi,

      Just installed antiX 19 on my PC. I have a built-in wifi adapter as well as a USB wifi dongle in my PC. I want to be connected to wifi through the dongle, while using the built-in wifi to create a wifi hotspot. While this was extremely easy to do on Ubuntu: https://www.ubuntubuzz.com/2019/02/ubuntu-budgie-1804-internet-sharing-wifi-to-wifi-with-2-adapters.html I can’t find any way to do it on antiX. Any ideas?

      #39592
      Member
      Xecure
        Helpful
        Up
        0
        ::

        antiX uses connman as the network assistant. If you want to try with connman:
        https://www.antixforum.com/forums/topic/best-way-to-set-up-wifi-hotspot-on-antix-19-2/

        If you want an almost identical method as you describe, install networkmanager and remove connman.

        If connman gives you trouble, then install networkmanager, as you originally wanted to:
        sudo apt install network-manager-gnome resolvconf
        Once installed, remove connman.
        sudo apt purge connman cmst

        remove cmst -m & from startup and add instead
        nm-applet &
        Reboot
        Now, network-manager should be available from the systemtray.

        antiX Live system enthusiast.
        General Live Boot Parameters for antiX.

        #39605
        Member
        olsztyn
          Helpful
          Up
          0
          ::

          If you want an almost identical method as you describe, install networkmanager and remove connman.

          Network Manager has hotspot function built in. Since ubuntu is using network Manager then it should be equally simple to set it up under antiX as well.
          For the hotspot purpose and some other functionality I replaced Connman with Network Manager in most of my antiX instances yesterday and I see the hospot function but did not have the time yet to test it extensively, so I only assume it works as designed at this point.

          Previously I mentioned that Network Manager appeared to use about 20M more memory. However now I see that after removing Connman the memory usage is just about the same as before, so I was wrong with that observation.

          • This reply was modified 2 years, 9 months ago by olsztyn.

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

          #39613
          Anonymous
            Helpful
            Up
            0
            ::

            Ok, I removed connman and installed NetworkManager. Its detecting the wifi connections on both of the adapters and lets me connect, but the internet doesn’t work.

            #39625
            Forum Admin
            anticapitalista
              Helpful
              Up
              0
              ::

              Are you using antiX-19 or the latest antiX-19.2? antiX-19 had issues with networking.

              https://antixlinux.com/connman-not-connecting/

              • This reply was modified 2 years, 9 months ago by anticapitalista. Reason: fix typos

              Philosophers have interpreted the world in many ways; the point is to change it.

              antiX with runit - leaner and meaner.

              #39626
              Member
              Xecure
                Helpful
                Up
                0
                ::

                Ok, I removed connman and installed NetworkManager. Its detecting the wifi connections on both of the adapters and lets me connect, but the internet doesn’t work.

                You need /etc/resolv.conf to symlink /run/resolvconf/resolv.conf
                You can do in a terminal:

                sudo rm /etc/resolv.conf
                sudo ln -s /etc/resolvconf/run/resolv.conf /etc/resolv.conf

                To fix it.
                Let us know if this fixes the internet connection issue. If it doesn’t we will try helping you figure this out.

                antiX Live system enthusiast.
                General Live Boot Parameters for antiX.

                #39643
                Anonymous
                  Helpful
                  Up
                  0
                  ::

                  Are you using antiX-19 or the latest antiX-19.2? antiX-19 had issues with networking.

                  https://antixlinux.com/connman-not-connecting/

                  I’m using 19.2

                  #39644
                  Anonymous
                    Helpful
                    Up
                    0
                    ::

                    No luck with the symlink. Still shows that it’s connected but the internet doesn’t work.

                    #39651
                    Member
                    Xecure
                      Helpful
                      Up
                      0
                      ::

                      No luck with the symlink. Still shows that it’s connected but the internet doesn’t work.

                      Just today I tested out on a clean live 19.2 base release to replace connman with networkmanager and it worked for me.
                      Make sure to test first without any firewall.
                      If you want some help troubleshooting, paste the output for these commands:

                      cat /etc/network/interfaces
                      dpkg -l | grep 'connman\|cmst\|network-manager\|resolvconf'
                      ls -l /etc/ | grep resolv.conf
                      inxi -nxxxz
                      cat /etc/sysctl.conf | grep "ipv6.conf"
                      ping -c 3 8.8.8.8
                      ping -c 3 google.com

                      We can start with this. Paste the output to a file and then copy/paste it or upload it from a computer with internet connection.

                      antiX Live system enthusiast.
                      General Live Boot Parameters for antiX.

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