Wifi is soft blocked after each reboot SOLVED

Forum Forums General Software Wifi is soft blocked after each reboot SOLVED

  • This topic has 28 replies, 5 voices, and was last updated Jul 28-7:58 pm by Xecure.
Viewing 14 posts - 16 through 29 (of 29 total)
  • Author
    Posts
  • #63516
    Member
    PFO
      Helpful
      Up
      0
      ::

      OK, commands input – Compaq nx 6110 laptop rebooted – wireless network selected and we get:

      Successfully initialized wpa_supplicant

      rfkill: WLAN software blocked

      How am I doing?

      #63517
      Member
      Xecure
        Helpful
        Up
        0
        ::

        It means that
        connmanctl enable wifi
        didn’t work. Did you get any error when running said command?

        You can unblock wifi with
        rfkill unblock wifi
        But if connman is not disabled from starting (and you haven’t unblocked wifi using connman), then it will block it every reboot.

        Did you follow each command? Was there any error output after each command?

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

        #63518
        Member
        PFO
          Helpful
          Up
          0
          ::

          OK, COMMANDS input – reboot – scan – WLAN sofftware blocked.

          I think I’m almost there!

          #63519
          Member
          Xecure
            Helpful
            Up
            0
            ::

            If you run
            rfkill unblock wifi
            wait 5 seconds, and then run ceni again, it should now connect (without the need for rebooting). See if after connecting to the wifi you can browse the web properly. If not we may have to fix the resolv.conf file in /etc/, but hopefully that is not needed.

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

            #63520
            Member
            PFO
              Helpful
              Up
              0
              ::

              WLAN now unblocked, but no WEB programs – firefox, dillo, etc detect internet.

              #63521
              Member
              Xecure
                Helpful
                Up
                0
                ::

                Try removing resolv.conf and creating anew symlink

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

                restart resolvconf service
                sudo service resolvconf restart
                and then see if your browser now can connect to a website.

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

                #63528
                Member
                PFO
                  Helpful
                  Up
                  0
                  ::

                  Sorry Xecure,

                  ALL lines input under/in ROOT, yet Internet still unavailable to browsers, package manager or updater.

                  Shall I just ‘wipe & reload’ as we used to do with the first +/- 8 vers of WINDOWS?

                  PFO

                  #63529
                  Member
                  Xecure
                    Helpful
                    Up
                    0
                    ::

                    If you can connect to the wireless device but cannot connect the internet it is usually a problem in the /etc/resolv.conf file/symlink.

                    Use a file manager and see if you can find a resolv.conf file in /run/resolvconf/resolv.conf Open it and see if there are DNS lines there. If it is OK, then create a symlink directly to this file for /etc/resolv.conf

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

                    Then try the web browser again.

                    If the file is missing, run this cmmand to see if it recreates the file
                    sudo service resolvconf restart
                    and then retry again to create the symlink.

                    If this still doesn’t work, we will create a static /etc/resolv.conf file and see if you can get internet connection after this.

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

                    #63530
                    Member
                    PFO
                      Helpful
                      Up
                      0
                      ::

                      Also, this is an old WIN XP HP/Compaq nx6110 with a WIFI toggle switch blue=ON orange=OFF

                      Could that possibly be the problem?

                      https://forums.linuxmint.com/viewtopic.php?t=61123

                      PFO

                      #63531
                      Member
                      PFO
                        Helpful
                        Up
                        0
                        ::

                        Error message =

                        cannot remove /etc/resolv.conf: No such file or directory.

                        #63536
                        Member
                        Xecure
                          Helpful
                          Up
                          0
                          ::

                          cannot remove /etc/resolv.conf: No such file or directory.

                          Then you can create the symlink without worry.

                          Did /run/resolvconf/resolv.conf file exist?

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

                          #63660
                          Member
                          PFO
                            Helpful
                            Up
                            0
                            ::

                            Hello Xecure,

                            Sorry, job called. I’m guessing this code line will fix the box
                            Did /run/resolvconf/resolv.conf file exist?

                            I’ll fire it up again tonight.

                            AND many THANX for your excellent help!

                            PFO

                            #63804
                            Member
                            PFO
                              Helpful
                              Up
                              0
                              ::

                              Hello Xecure,

                              Sorry, YES the file exists

                              Did /run/resolvconf/resolv.conf file exist?

                              Awaiting your instructions

                              AND many THANX AGAIN for your excellent help!

                              PFO

                              #63814
                              Member
                              Xecure
                                Helpful
                                Up
                                0
                                ::

                                Sorry, YES the file exists

                                Good. Now you can do

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

                                Even if /etc/resolv.conf doesn’t exist before removing it, ignore the error and create the symlink as specified in the second command.

                                Don’t reboot and try
                                sudo ceni
                                and see if you can connect to your wifi. We are aiming to being able to connect during this session. If it works, but then it stops working after reboot, we will explore an extra solution for it. We first need to confirm that ceni can connect on this same session.
                                If you cannot connect, let me know what error does ceni spit out. We need to know if it can see the Wireless Access point, let you write the password, try to connect, etc.

                                Sorry for the delay.

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

                              Viewing 14 posts - 16 through 29 (of 29 total)
                              • You must be logged in to reply to this topic.