Wifi in FreeBSD Live USB

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











up vote
1
down vote

favorite












After using Linux for quite some time now I want to try out FreeBSD. I created a bootable USB stick and want to play around a bit in the live CD mode. The first problem I encounter is that I don't know how to get the wifi to work.



Running sysctl net.wlan.devices yields an empty net.wlan.devices:.



I guess this means that the module for my wifi-adapter is not loaded? Most of the stuff I find to enable wifi requires changing some configs and rebooting but I guess that's not that easy on a live USB.



Now my question is: How do I enable wifi? How do I know which module I need to load?



I am using a Thinkpad L480 (which is not listed on the laptops page). Is free BSD even compatible with it?










share|improve this question





















  • Does dmesg -a give some hints ?
    – fugitive
    Sep 5 at 10:54














up vote
1
down vote

favorite












After using Linux for quite some time now I want to try out FreeBSD. I created a bootable USB stick and want to play around a bit in the live CD mode. The first problem I encounter is that I don't know how to get the wifi to work.



Running sysctl net.wlan.devices yields an empty net.wlan.devices:.



I guess this means that the module for my wifi-adapter is not loaded? Most of the stuff I find to enable wifi requires changing some configs and rebooting but I guess that's not that easy on a live USB.



Now my question is: How do I enable wifi? How do I know which module I need to load?



I am using a Thinkpad L480 (which is not listed on the laptops page). Is free BSD even compatible with it?










share|improve this question





















  • Does dmesg -a give some hints ?
    – fugitive
    Sep 5 at 10:54












up vote
1
down vote

favorite









up vote
1
down vote

favorite











After using Linux for quite some time now I want to try out FreeBSD. I created a bootable USB stick and want to play around a bit in the live CD mode. The first problem I encounter is that I don't know how to get the wifi to work.



Running sysctl net.wlan.devices yields an empty net.wlan.devices:.



I guess this means that the module for my wifi-adapter is not loaded? Most of the stuff I find to enable wifi requires changing some configs and rebooting but I guess that's not that easy on a live USB.



Now my question is: How do I enable wifi? How do I know which module I need to load?



I am using a Thinkpad L480 (which is not listed on the laptops page). Is free BSD even compatible with it?










share|improve this question













After using Linux for quite some time now I want to try out FreeBSD. I created a bootable USB stick and want to play around a bit in the live CD mode. The first problem I encounter is that I don't know how to get the wifi to work.



Running sysctl net.wlan.devices yields an empty net.wlan.devices:.



I guess this means that the module for my wifi-adapter is not loaded? Most of the stuff I find to enable wifi requires changing some configs and rebooting but I guess that's not that easy on a live USB.



Now my question is: How do I enable wifi? How do I know which module I need to load?



I am using a Thinkpad L480 (which is not listed on the laptops page). Is free BSD even compatible with it?







wifi freebsd thinkpad






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 5 at 10:49









danielspaniol

1174




1174











  • Does dmesg -a give some hints ?
    – fugitive
    Sep 5 at 10:54
















  • Does dmesg -a give some hints ?
    – fugitive
    Sep 5 at 10:54















Does dmesg -a give some hints ?
– fugitive
Sep 5 at 10:54




Does dmesg -a give some hints ?
– fugitive
Sep 5 at 10:54










2 Answers
2






active

oldest

votes

















up vote
2
down vote



accepted










According to ThinkPad L480 Tech Specs, it features Intel® Dual Band 8265 Wireless AC (2 x 2) wifi adapter, which should be supported by iwm driver.



You should be able to load driver and firmware at runtime without rebooting:



kldload if_iwm
kldload iwm8265fw


Check if they loaded successfully with kldstat. If modules aren't listed I guess you are out of luck until someone adds support for your card. If they are, read on.



The rest is nicely explained in Wireless Networking chapter of FreeBSD Handbook, here are exact lines you need:



ifconfig wlan0 create wlandev iwm0
ifconfig wlan0 up scan


You should be able to see list of wifi networks:



ifconfig wlan0 list scan


You will need to create /etc/wpa_supplicant.conf (assuming your wifi network is RSN/WPA2):



network=
ssid="yournetwork"
psk="yournetworkpass"



Append the following to the /etc/rc.conf:



wlans_ath0="wlan0"
ifconfig_wlan0="WPA DHCP"


Bring up the interface:



service netif restart


...and you should be good to go.






share|improve this answer





























    up vote
    1
    down vote













    Try: kldload if_iwm



    This loads the Intel 8000 series wifi driver






    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',
      convertImagesToLinks: false,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      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%2f466986%2fwifi-in-freebsd-live-usb%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      2
      down vote



      accepted










      According to ThinkPad L480 Tech Specs, it features Intel® Dual Band 8265 Wireless AC (2 x 2) wifi adapter, which should be supported by iwm driver.



      You should be able to load driver and firmware at runtime without rebooting:



      kldload if_iwm
      kldload iwm8265fw


      Check if they loaded successfully with kldstat. If modules aren't listed I guess you are out of luck until someone adds support for your card. If they are, read on.



      The rest is nicely explained in Wireless Networking chapter of FreeBSD Handbook, here are exact lines you need:



      ifconfig wlan0 create wlandev iwm0
      ifconfig wlan0 up scan


      You should be able to see list of wifi networks:



      ifconfig wlan0 list scan


      You will need to create /etc/wpa_supplicant.conf (assuming your wifi network is RSN/WPA2):



      network=
      ssid="yournetwork"
      psk="yournetworkpass"



      Append the following to the /etc/rc.conf:



      wlans_ath0="wlan0"
      ifconfig_wlan0="WPA DHCP"


      Bring up the interface:



      service netif restart


      ...and you should be good to go.






      share|improve this answer


























        up vote
        2
        down vote



        accepted










        According to ThinkPad L480 Tech Specs, it features Intel® Dual Band 8265 Wireless AC (2 x 2) wifi adapter, which should be supported by iwm driver.



        You should be able to load driver and firmware at runtime without rebooting:



        kldload if_iwm
        kldload iwm8265fw


        Check if they loaded successfully with kldstat. If modules aren't listed I guess you are out of luck until someone adds support for your card. If they are, read on.



        The rest is nicely explained in Wireless Networking chapter of FreeBSD Handbook, here are exact lines you need:



        ifconfig wlan0 create wlandev iwm0
        ifconfig wlan0 up scan


        You should be able to see list of wifi networks:



        ifconfig wlan0 list scan


        You will need to create /etc/wpa_supplicant.conf (assuming your wifi network is RSN/WPA2):



        network=
        ssid="yournetwork"
        psk="yournetworkpass"



        Append the following to the /etc/rc.conf:



        wlans_ath0="wlan0"
        ifconfig_wlan0="WPA DHCP"


        Bring up the interface:



        service netif restart


        ...and you should be good to go.






        share|improve this answer
























          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          According to ThinkPad L480 Tech Specs, it features Intel® Dual Band 8265 Wireless AC (2 x 2) wifi adapter, which should be supported by iwm driver.



          You should be able to load driver and firmware at runtime without rebooting:



          kldload if_iwm
          kldload iwm8265fw


          Check if they loaded successfully with kldstat. If modules aren't listed I guess you are out of luck until someone adds support for your card. If they are, read on.



          The rest is nicely explained in Wireless Networking chapter of FreeBSD Handbook, here are exact lines you need:



          ifconfig wlan0 create wlandev iwm0
          ifconfig wlan0 up scan


          You should be able to see list of wifi networks:



          ifconfig wlan0 list scan


          You will need to create /etc/wpa_supplicant.conf (assuming your wifi network is RSN/WPA2):



          network=
          ssid="yournetwork"
          psk="yournetworkpass"



          Append the following to the /etc/rc.conf:



          wlans_ath0="wlan0"
          ifconfig_wlan0="WPA DHCP"


          Bring up the interface:



          service netif restart


          ...and you should be good to go.






          share|improve this answer














          According to ThinkPad L480 Tech Specs, it features Intel® Dual Band 8265 Wireless AC (2 x 2) wifi adapter, which should be supported by iwm driver.



          You should be able to load driver and firmware at runtime without rebooting:



          kldload if_iwm
          kldload iwm8265fw


          Check if they loaded successfully with kldstat. If modules aren't listed I guess you are out of luck until someone adds support for your card. If they are, read on.



          The rest is nicely explained in Wireless Networking chapter of FreeBSD Handbook, here are exact lines you need:



          ifconfig wlan0 create wlandev iwm0
          ifconfig wlan0 up scan


          You should be able to see list of wifi networks:



          ifconfig wlan0 list scan


          You will need to create /etc/wpa_supplicant.conf (assuming your wifi network is RSN/WPA2):



          network=
          ssid="yournetwork"
          psk="yournetworkpass"



          Append the following to the /etc/rc.conf:



          wlans_ath0="wlan0"
          ifconfig_wlan0="WPA DHCP"


          Bring up the interface:



          service netif restart


          ...and you should be good to go.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Sep 6 at 19:52









          GAD3R

          23k164896




          23k164896










          answered Sep 6 at 19:46









          pacija

          362




          362






















              up vote
              1
              down vote













              Try: kldload if_iwm



              This loads the Intel 8000 series wifi driver






              share|improve this answer
























                up vote
                1
                down vote













                Try: kldload if_iwm



                This loads the Intel 8000 series wifi driver






                share|improve this answer






















                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  Try: kldload if_iwm



                  This loads the Intel 8000 series wifi driver






                  share|improve this answer












                  Try: kldload if_iwm



                  This loads the Intel 8000 series wifi driver







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Sep 6 at 0:22









                  Allan Jude

                  67436




                  67436



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f466986%2fwifi-in-freebsd-live-usb%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      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