Finding and setting up wifi in FreeBSD 12.0

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












3














I have a Lenovo Ideapad 100S 14'' IBR-14'' Intel Celeron CPU N3060 @ 1.60GHz, 32GB SSD, 4GB RAM, but I am both at a loss what wifi I have there, as there are several different generations, and how to find which driver I have to use in FreeBSD.



How to go about it?










share|improve this question




























    3














    I have a Lenovo Ideapad 100S 14'' IBR-14'' Intel Celeron CPU N3060 @ 1.60GHz, 32GB SSD, 4GB RAM, but I am both at a loss what wifi I have there, as there are several different generations, and how to find which driver I have to use in FreeBSD.



    How to go about it?










    share|improve this question


























      3












      3








      3


      1





      I have a Lenovo Ideapad 100S 14'' IBR-14'' Intel Celeron CPU N3060 @ 1.60GHz, 32GB SSD, 4GB RAM, but I am both at a loss what wifi I have there, as there are several different generations, and how to find which driver I have to use in FreeBSD.



      How to go about it?










      share|improve this question















      I have a Lenovo Ideapad 100S 14'' IBR-14'' Intel Celeron CPU N3060 @ 1.60GHz, 32GB SSD, 4GB RAM, but I am both at a loss what wifi I have there, as there are several different generations, and how to find which driver I have to use in FreeBSD.



      How to go about it?







      wifi freebsd






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 26 '18 at 15:06







      Rui F Ribeiro

















      asked Apr 23 '17 at 20:31









      Rui F RibeiroRui F Ribeiro

      39.3k1479131




      39.3k1479131




















          1 Answer
          1






          active

          oldest

          votes


















          3














          To find what kernel wifi the driver to use, do:



          $sysctl net.wlan.devices 
          net.wlan.devices: iwm0


          So we know now we have to use iwm0.



          You can also find the corresponding hardware doing:



          $ pciconf -lv iwm0
          iwm0@pci0:2:0:0: class=0x028000 card=0x82708086 chip=0x08b48086 rev=0x93 hdr=0x00
          vendor = 'Intel Corporation'
          device = 'Wireless 3160'
          class = network


          So now we know it is a model with an Intel Wireless AC, and the iwm0; which are very good news, as this model was sold to me as capable of doing bgn, and not 802.11n AC.



          While in the past the Intel 3160AC driver had to be compiled, nowadays, it is already supported by the default kernel.



          Now to set it up, we will load the module, the firmware and the supported wifi authentication protocols in /etc/rc.conf:



          legal.intel.license_ack=1
          if_iwm_load="YES"
          iwm3160fw_load="YES"
          wlan_wep_load="YES"
          wlan_ccmp_load="YES"
          wlan_tkip_load="YES"


          Also in /etc/rc.conf, will define the wpa_supplicant, DHCP client, activate the interface and define the country as PT for it to transmit in a stronger frequency more appropriate for my country:



          wpa_supplicant_enable="YES"
          synchronous_dhclient="YES"
          wlans_iwm0="wlan0"
          create_args_wlan0="country PT"


          Now search for wpa_config and install it:



          #pkg search wpa_config
          wpa_gui-2.6 Qt-based frontend for wpa_supplicant
          wpa_supplicant-2.6 Supplicant (client) for WPA/802.1x protocols
          #pkg install wpa_gui wpa_supplicant


          Edit now /etc/wpa_supplicant.conf:



          ctrl_interface=/var/run/wpa_supplicant

          network=
          ssid="my_ssid"
          priority=146
          scan_ssid=1
          psk="wifipassword"



          Upon restarting, you can see the lines, or later with dmesg.



          iwm0: hw rev 0x160, fw ver 17.352738.0, address f4:06:69:xx:xx:xx
          wlan0: Ethernet address: f4:06:69:xx:xx:xx
          iwm0: iwm_update_edca: called
          iwm0: iwm_update_edca: called
          wlan0: link state changed to UP


          We have now wifi connectivity, IP address and Internet connectivity.



          $ ifconfig wlan0
          wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
          ether f4:06:69:xx:xx:xx
          inet 192.168.1.9 netmask 0xffffff00 broadcast 192.168.1.255
          nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
          media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
          status: associated
          ssid xxxx channel 13 (2472 MHz 11g) bssid 30:b5:c2:xx:xx:xx
          regdomain ETSI country PT authmode WPA2/802.11i privacy ON
          deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 bmiss 10
          scanvalid 60 protmode CTS wme roaming MANUAL
          groups: wlan


          Finally for configuring it graphically, you can use wpa_gui ; if using Lumina you can also install pcbsd-utils to have the wifi icon on the tray.



          To list for the available SSIDs in the command line do:



          #ifconfig wlan0 list scan
          SSID/MESH ID BSSID CHAN RATE S:N INT CAPS
          MEO-1608CD c4:ea:1d:16:08:cd 1 54M -87:-96 100 EP RSN HTCAP WPS WPA WME
          MEO-WiFi c6:ea:1d:16:08:ce 1 54M -89:-96 100 ES HTCAP WME
          Vodafone-11... 9c:97:26:11:ad:10 1 54M -70:-96 100 EP RSN HTCAP WPS WPA WME
          NOS-14F0 f0:f2:49:99:14:f8 12 54M -88:-96 100 EPS WPS HTCAP WPA RSN WME BSSLOAD
          NOS_WIFI_Fon bc:4d:fb:53:65:d9 12 54M -88:-96 100 ES HTCAP WME BSSLOAD
          xxxx 30:b5:c2:xx:xx:xx 13 54M -44:-96 100 EPS RSN HTCAP WME
          xxxxx 30:b5:c2:xx:xx:xx 36 54M -50:-96 100 EP RSN HTCAP VHTCAP VHTOPMODE WME
          MEO-A8E087-5G e2:b9:e5:a8:e0:87 60 54M -78:-96 100 EP RSN HTCAP VHTCAP VHTOPMODE VHTPWRENV WPS WPA WME
          oLi oNe 2c:9d:1e:d3:22:c0 124 54M -75:-96 98 EP RSN BSSLOAD HTCAP VHTCAP VHTOPMODE VHTPWRENV WPS WPA WME


          Further reading: FreeBSD Handbok 30.3. Wireless Networking






          share|improve this answer






















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f360819%2ffinding-and-setting-up-wifi-in-freebsd-12-0%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            3














            To find what kernel wifi the driver to use, do:



            $sysctl net.wlan.devices 
            net.wlan.devices: iwm0


            So we know now we have to use iwm0.



            You can also find the corresponding hardware doing:



            $ pciconf -lv iwm0
            iwm0@pci0:2:0:0: class=0x028000 card=0x82708086 chip=0x08b48086 rev=0x93 hdr=0x00
            vendor = 'Intel Corporation'
            device = 'Wireless 3160'
            class = network


            So now we know it is a model with an Intel Wireless AC, and the iwm0; which are very good news, as this model was sold to me as capable of doing bgn, and not 802.11n AC.



            While in the past the Intel 3160AC driver had to be compiled, nowadays, it is already supported by the default kernel.



            Now to set it up, we will load the module, the firmware and the supported wifi authentication protocols in /etc/rc.conf:



            legal.intel.license_ack=1
            if_iwm_load="YES"
            iwm3160fw_load="YES"
            wlan_wep_load="YES"
            wlan_ccmp_load="YES"
            wlan_tkip_load="YES"


            Also in /etc/rc.conf, will define the wpa_supplicant, DHCP client, activate the interface and define the country as PT for it to transmit in a stronger frequency more appropriate for my country:



            wpa_supplicant_enable="YES"
            synchronous_dhclient="YES"
            wlans_iwm0="wlan0"
            create_args_wlan0="country PT"


            Now search for wpa_config and install it:



            #pkg search wpa_config
            wpa_gui-2.6 Qt-based frontend for wpa_supplicant
            wpa_supplicant-2.6 Supplicant (client) for WPA/802.1x protocols
            #pkg install wpa_gui wpa_supplicant


            Edit now /etc/wpa_supplicant.conf:



            ctrl_interface=/var/run/wpa_supplicant

            network=
            ssid="my_ssid"
            priority=146
            scan_ssid=1
            psk="wifipassword"



            Upon restarting, you can see the lines, or later with dmesg.



            iwm0: hw rev 0x160, fw ver 17.352738.0, address f4:06:69:xx:xx:xx
            wlan0: Ethernet address: f4:06:69:xx:xx:xx
            iwm0: iwm_update_edca: called
            iwm0: iwm_update_edca: called
            wlan0: link state changed to UP


            We have now wifi connectivity, IP address and Internet connectivity.



            $ ifconfig wlan0
            wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
            ether f4:06:69:xx:xx:xx
            inet 192.168.1.9 netmask 0xffffff00 broadcast 192.168.1.255
            nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
            media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
            status: associated
            ssid xxxx channel 13 (2472 MHz 11g) bssid 30:b5:c2:xx:xx:xx
            regdomain ETSI country PT authmode WPA2/802.11i privacy ON
            deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 bmiss 10
            scanvalid 60 protmode CTS wme roaming MANUAL
            groups: wlan


            Finally for configuring it graphically, you can use wpa_gui ; if using Lumina you can also install pcbsd-utils to have the wifi icon on the tray.



            To list for the available SSIDs in the command line do:



            #ifconfig wlan0 list scan
            SSID/MESH ID BSSID CHAN RATE S:N INT CAPS
            MEO-1608CD c4:ea:1d:16:08:cd 1 54M -87:-96 100 EP RSN HTCAP WPS WPA WME
            MEO-WiFi c6:ea:1d:16:08:ce 1 54M -89:-96 100 ES HTCAP WME
            Vodafone-11... 9c:97:26:11:ad:10 1 54M -70:-96 100 EP RSN HTCAP WPS WPA WME
            NOS-14F0 f0:f2:49:99:14:f8 12 54M -88:-96 100 EPS WPS HTCAP WPA RSN WME BSSLOAD
            NOS_WIFI_Fon bc:4d:fb:53:65:d9 12 54M -88:-96 100 ES HTCAP WME BSSLOAD
            xxxx 30:b5:c2:xx:xx:xx 13 54M -44:-96 100 EPS RSN HTCAP WME
            xxxxx 30:b5:c2:xx:xx:xx 36 54M -50:-96 100 EP RSN HTCAP VHTCAP VHTOPMODE WME
            MEO-A8E087-5G e2:b9:e5:a8:e0:87 60 54M -78:-96 100 EP RSN HTCAP VHTCAP VHTOPMODE VHTPWRENV WPS WPA WME
            oLi oNe 2c:9d:1e:d3:22:c0 124 54M -75:-96 98 EP RSN BSSLOAD HTCAP VHTCAP VHTOPMODE VHTPWRENV WPS WPA WME


            Further reading: FreeBSD Handbok 30.3. Wireless Networking






            share|improve this answer



























              3














              To find what kernel wifi the driver to use, do:



              $sysctl net.wlan.devices 
              net.wlan.devices: iwm0


              So we know now we have to use iwm0.



              You can also find the corresponding hardware doing:



              $ pciconf -lv iwm0
              iwm0@pci0:2:0:0: class=0x028000 card=0x82708086 chip=0x08b48086 rev=0x93 hdr=0x00
              vendor = 'Intel Corporation'
              device = 'Wireless 3160'
              class = network


              So now we know it is a model with an Intel Wireless AC, and the iwm0; which are very good news, as this model was sold to me as capable of doing bgn, and not 802.11n AC.



              While in the past the Intel 3160AC driver had to be compiled, nowadays, it is already supported by the default kernel.



              Now to set it up, we will load the module, the firmware and the supported wifi authentication protocols in /etc/rc.conf:



              legal.intel.license_ack=1
              if_iwm_load="YES"
              iwm3160fw_load="YES"
              wlan_wep_load="YES"
              wlan_ccmp_load="YES"
              wlan_tkip_load="YES"


              Also in /etc/rc.conf, will define the wpa_supplicant, DHCP client, activate the interface and define the country as PT for it to transmit in a stronger frequency more appropriate for my country:



              wpa_supplicant_enable="YES"
              synchronous_dhclient="YES"
              wlans_iwm0="wlan0"
              create_args_wlan0="country PT"


              Now search for wpa_config and install it:



              #pkg search wpa_config
              wpa_gui-2.6 Qt-based frontend for wpa_supplicant
              wpa_supplicant-2.6 Supplicant (client) for WPA/802.1x protocols
              #pkg install wpa_gui wpa_supplicant


              Edit now /etc/wpa_supplicant.conf:



              ctrl_interface=/var/run/wpa_supplicant

              network=
              ssid="my_ssid"
              priority=146
              scan_ssid=1
              psk="wifipassword"



              Upon restarting, you can see the lines, or later with dmesg.



              iwm0: hw rev 0x160, fw ver 17.352738.0, address f4:06:69:xx:xx:xx
              wlan0: Ethernet address: f4:06:69:xx:xx:xx
              iwm0: iwm_update_edca: called
              iwm0: iwm_update_edca: called
              wlan0: link state changed to UP


              We have now wifi connectivity, IP address and Internet connectivity.



              $ ifconfig wlan0
              wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
              ether f4:06:69:xx:xx:xx
              inet 192.168.1.9 netmask 0xffffff00 broadcast 192.168.1.255
              nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
              media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
              status: associated
              ssid xxxx channel 13 (2472 MHz 11g) bssid 30:b5:c2:xx:xx:xx
              regdomain ETSI country PT authmode WPA2/802.11i privacy ON
              deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 bmiss 10
              scanvalid 60 protmode CTS wme roaming MANUAL
              groups: wlan


              Finally for configuring it graphically, you can use wpa_gui ; if using Lumina you can also install pcbsd-utils to have the wifi icon on the tray.



              To list for the available SSIDs in the command line do:



              #ifconfig wlan0 list scan
              SSID/MESH ID BSSID CHAN RATE S:N INT CAPS
              MEO-1608CD c4:ea:1d:16:08:cd 1 54M -87:-96 100 EP RSN HTCAP WPS WPA WME
              MEO-WiFi c6:ea:1d:16:08:ce 1 54M -89:-96 100 ES HTCAP WME
              Vodafone-11... 9c:97:26:11:ad:10 1 54M -70:-96 100 EP RSN HTCAP WPS WPA WME
              NOS-14F0 f0:f2:49:99:14:f8 12 54M -88:-96 100 EPS WPS HTCAP WPA RSN WME BSSLOAD
              NOS_WIFI_Fon bc:4d:fb:53:65:d9 12 54M -88:-96 100 ES HTCAP WME BSSLOAD
              xxxx 30:b5:c2:xx:xx:xx 13 54M -44:-96 100 EPS RSN HTCAP WME
              xxxxx 30:b5:c2:xx:xx:xx 36 54M -50:-96 100 EP RSN HTCAP VHTCAP VHTOPMODE WME
              MEO-A8E087-5G e2:b9:e5:a8:e0:87 60 54M -78:-96 100 EP RSN HTCAP VHTCAP VHTOPMODE VHTPWRENV WPS WPA WME
              oLi oNe 2c:9d:1e:d3:22:c0 124 54M -75:-96 98 EP RSN BSSLOAD HTCAP VHTCAP VHTOPMODE VHTPWRENV WPS WPA WME


              Further reading: FreeBSD Handbok 30.3. Wireless Networking






              share|improve this answer

























                3












                3








                3






                To find what kernel wifi the driver to use, do:



                $sysctl net.wlan.devices 
                net.wlan.devices: iwm0


                So we know now we have to use iwm0.



                You can also find the corresponding hardware doing:



                $ pciconf -lv iwm0
                iwm0@pci0:2:0:0: class=0x028000 card=0x82708086 chip=0x08b48086 rev=0x93 hdr=0x00
                vendor = 'Intel Corporation'
                device = 'Wireless 3160'
                class = network


                So now we know it is a model with an Intel Wireless AC, and the iwm0; which are very good news, as this model was sold to me as capable of doing bgn, and not 802.11n AC.



                While in the past the Intel 3160AC driver had to be compiled, nowadays, it is already supported by the default kernel.



                Now to set it up, we will load the module, the firmware and the supported wifi authentication protocols in /etc/rc.conf:



                legal.intel.license_ack=1
                if_iwm_load="YES"
                iwm3160fw_load="YES"
                wlan_wep_load="YES"
                wlan_ccmp_load="YES"
                wlan_tkip_load="YES"


                Also in /etc/rc.conf, will define the wpa_supplicant, DHCP client, activate the interface and define the country as PT for it to transmit in a stronger frequency more appropriate for my country:



                wpa_supplicant_enable="YES"
                synchronous_dhclient="YES"
                wlans_iwm0="wlan0"
                create_args_wlan0="country PT"


                Now search for wpa_config and install it:



                #pkg search wpa_config
                wpa_gui-2.6 Qt-based frontend for wpa_supplicant
                wpa_supplicant-2.6 Supplicant (client) for WPA/802.1x protocols
                #pkg install wpa_gui wpa_supplicant


                Edit now /etc/wpa_supplicant.conf:



                ctrl_interface=/var/run/wpa_supplicant

                network=
                ssid="my_ssid"
                priority=146
                scan_ssid=1
                psk="wifipassword"



                Upon restarting, you can see the lines, or later with dmesg.



                iwm0: hw rev 0x160, fw ver 17.352738.0, address f4:06:69:xx:xx:xx
                wlan0: Ethernet address: f4:06:69:xx:xx:xx
                iwm0: iwm_update_edca: called
                iwm0: iwm_update_edca: called
                wlan0: link state changed to UP


                We have now wifi connectivity, IP address and Internet connectivity.



                $ ifconfig wlan0
                wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
                ether f4:06:69:xx:xx:xx
                inet 192.168.1.9 netmask 0xffffff00 broadcast 192.168.1.255
                nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
                media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
                status: associated
                ssid xxxx channel 13 (2472 MHz 11g) bssid 30:b5:c2:xx:xx:xx
                regdomain ETSI country PT authmode WPA2/802.11i privacy ON
                deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 bmiss 10
                scanvalid 60 protmode CTS wme roaming MANUAL
                groups: wlan


                Finally for configuring it graphically, you can use wpa_gui ; if using Lumina you can also install pcbsd-utils to have the wifi icon on the tray.



                To list for the available SSIDs in the command line do:



                #ifconfig wlan0 list scan
                SSID/MESH ID BSSID CHAN RATE S:N INT CAPS
                MEO-1608CD c4:ea:1d:16:08:cd 1 54M -87:-96 100 EP RSN HTCAP WPS WPA WME
                MEO-WiFi c6:ea:1d:16:08:ce 1 54M -89:-96 100 ES HTCAP WME
                Vodafone-11... 9c:97:26:11:ad:10 1 54M -70:-96 100 EP RSN HTCAP WPS WPA WME
                NOS-14F0 f0:f2:49:99:14:f8 12 54M -88:-96 100 EPS WPS HTCAP WPA RSN WME BSSLOAD
                NOS_WIFI_Fon bc:4d:fb:53:65:d9 12 54M -88:-96 100 ES HTCAP WME BSSLOAD
                xxxx 30:b5:c2:xx:xx:xx 13 54M -44:-96 100 EPS RSN HTCAP WME
                xxxxx 30:b5:c2:xx:xx:xx 36 54M -50:-96 100 EP RSN HTCAP VHTCAP VHTOPMODE WME
                MEO-A8E087-5G e2:b9:e5:a8:e0:87 60 54M -78:-96 100 EP RSN HTCAP VHTCAP VHTOPMODE VHTPWRENV WPS WPA WME
                oLi oNe 2c:9d:1e:d3:22:c0 124 54M -75:-96 98 EP RSN BSSLOAD HTCAP VHTCAP VHTOPMODE VHTPWRENV WPS WPA WME


                Further reading: FreeBSD Handbok 30.3. Wireless Networking






                share|improve this answer














                To find what kernel wifi the driver to use, do:



                $sysctl net.wlan.devices 
                net.wlan.devices: iwm0


                So we know now we have to use iwm0.



                You can also find the corresponding hardware doing:



                $ pciconf -lv iwm0
                iwm0@pci0:2:0:0: class=0x028000 card=0x82708086 chip=0x08b48086 rev=0x93 hdr=0x00
                vendor = 'Intel Corporation'
                device = 'Wireless 3160'
                class = network


                So now we know it is a model with an Intel Wireless AC, and the iwm0; which are very good news, as this model was sold to me as capable of doing bgn, and not 802.11n AC.



                While in the past the Intel 3160AC driver had to be compiled, nowadays, it is already supported by the default kernel.



                Now to set it up, we will load the module, the firmware and the supported wifi authentication protocols in /etc/rc.conf:



                legal.intel.license_ack=1
                if_iwm_load="YES"
                iwm3160fw_load="YES"
                wlan_wep_load="YES"
                wlan_ccmp_load="YES"
                wlan_tkip_load="YES"


                Also in /etc/rc.conf, will define the wpa_supplicant, DHCP client, activate the interface and define the country as PT for it to transmit in a stronger frequency more appropriate for my country:



                wpa_supplicant_enable="YES"
                synchronous_dhclient="YES"
                wlans_iwm0="wlan0"
                create_args_wlan0="country PT"


                Now search for wpa_config and install it:



                #pkg search wpa_config
                wpa_gui-2.6 Qt-based frontend for wpa_supplicant
                wpa_supplicant-2.6 Supplicant (client) for WPA/802.1x protocols
                #pkg install wpa_gui wpa_supplicant


                Edit now /etc/wpa_supplicant.conf:



                ctrl_interface=/var/run/wpa_supplicant

                network=
                ssid="my_ssid"
                priority=146
                scan_ssid=1
                psk="wifipassword"



                Upon restarting, you can see the lines, or later with dmesg.



                iwm0: hw rev 0x160, fw ver 17.352738.0, address f4:06:69:xx:xx:xx
                wlan0: Ethernet address: f4:06:69:xx:xx:xx
                iwm0: iwm_update_edca: called
                iwm0: iwm_update_edca: called
                wlan0: link state changed to UP


                We have now wifi connectivity, IP address and Internet connectivity.



                $ ifconfig wlan0
                wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
                ether f4:06:69:xx:xx:xx
                inet 192.168.1.9 netmask 0xffffff00 broadcast 192.168.1.255
                nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
                media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
                status: associated
                ssid xxxx channel 13 (2472 MHz 11g) bssid 30:b5:c2:xx:xx:xx
                regdomain ETSI country PT authmode WPA2/802.11i privacy ON
                deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 bmiss 10
                scanvalid 60 protmode CTS wme roaming MANUAL
                groups: wlan


                Finally for configuring it graphically, you can use wpa_gui ; if using Lumina you can also install pcbsd-utils to have the wifi icon on the tray.



                To list for the available SSIDs in the command line do:



                #ifconfig wlan0 list scan
                SSID/MESH ID BSSID CHAN RATE S:N INT CAPS
                MEO-1608CD c4:ea:1d:16:08:cd 1 54M -87:-96 100 EP RSN HTCAP WPS WPA WME
                MEO-WiFi c6:ea:1d:16:08:ce 1 54M -89:-96 100 ES HTCAP WME
                Vodafone-11... 9c:97:26:11:ad:10 1 54M -70:-96 100 EP RSN HTCAP WPS WPA WME
                NOS-14F0 f0:f2:49:99:14:f8 12 54M -88:-96 100 EPS WPS HTCAP WPA RSN WME BSSLOAD
                NOS_WIFI_Fon bc:4d:fb:53:65:d9 12 54M -88:-96 100 ES HTCAP WME BSSLOAD
                xxxx 30:b5:c2:xx:xx:xx 13 54M -44:-96 100 EPS RSN HTCAP WME
                xxxxx 30:b5:c2:xx:xx:xx 36 54M -50:-96 100 EP RSN HTCAP VHTCAP VHTOPMODE WME
                MEO-A8E087-5G e2:b9:e5:a8:e0:87 60 54M -78:-96 100 EP RSN HTCAP VHTCAP VHTOPMODE VHTPWRENV WPS WPA WME
                oLi oNe 2c:9d:1e:d3:22:c0 124 54M -75:-96 98 EP RSN BSSLOAD HTCAP VHTCAP VHTOPMODE VHTPWRENV WPS WPA WME


                Further reading: FreeBSD Handbok 30.3. Wireless Networking







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 24 '17 at 14:17

























                answered Apr 23 '17 at 20:31









                Rui F RibeiroRui F Ribeiro

                39.3k1479131




                39.3k1479131



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f360819%2ffinding-and-setting-up-wifi-in-freebsd-12-0%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown






                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay