Linux Mint: Can't install Archer T2UH usb wifi on kernel 4.8.0

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











up vote
1
down vote

favorite












I bought a TP-link Archer T2UH wifi usb dongle. I am trying to install it on my work computer which has linux mint 18.2 Sofia with kernel 4.8.0.



I successfully installed it on my home comp, which has Mint 18 Sarah with kernel 4.4.0.21 using these instructions:



mkdir ~/src
cd ~/src
git clone https://github.com/Myria-de/mt7610u_wifi_sta_v3002_dpo_20130916.git
make
sudo make install
sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat
sudo reboot


However, when trying the same on my work computer with the newer kernel, it gives an error when running "make":



/home/mikael/src/mt7610u_wifi_sta_v3002_dpo_20130916/include/cfg80211.h:35:49
: error: ‘IEEE80211_NUM_BANDS’ undeclared here (not in a function) struct
ieee80211_supported_band Cfg80211_bands[IEEE80211_NUM_BANDS];


How to fix this?



Mikael







share|improve this question


























    up vote
    1
    down vote

    favorite












    I bought a TP-link Archer T2UH wifi usb dongle. I am trying to install it on my work computer which has linux mint 18.2 Sofia with kernel 4.8.0.



    I successfully installed it on my home comp, which has Mint 18 Sarah with kernel 4.4.0.21 using these instructions:



    mkdir ~/src
    cd ~/src
    git clone https://github.com/Myria-de/mt7610u_wifi_sta_v3002_dpo_20130916.git
    make
    sudo make install
    sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat
    sudo reboot


    However, when trying the same on my work computer with the newer kernel, it gives an error when running "make":



    /home/mikael/src/mt7610u_wifi_sta_v3002_dpo_20130916/include/cfg80211.h:35:49
    : error: ‘IEEE80211_NUM_BANDS’ undeclared here (not in a function) struct
    ieee80211_supported_band Cfg80211_bands[IEEE80211_NUM_BANDS];


    How to fix this?



    Mikael







    share|improve this question
























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I bought a TP-link Archer T2UH wifi usb dongle. I am trying to install it on my work computer which has linux mint 18.2 Sofia with kernel 4.8.0.



      I successfully installed it on my home comp, which has Mint 18 Sarah with kernel 4.4.0.21 using these instructions:



      mkdir ~/src
      cd ~/src
      git clone https://github.com/Myria-de/mt7610u_wifi_sta_v3002_dpo_20130916.git
      make
      sudo make install
      sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat
      sudo reboot


      However, when trying the same on my work computer with the newer kernel, it gives an error when running "make":



      /home/mikael/src/mt7610u_wifi_sta_v3002_dpo_20130916/include/cfg80211.h:35:49
      : error: ‘IEEE80211_NUM_BANDS’ undeclared here (not in a function) struct
      ieee80211_supported_band Cfg80211_bands[IEEE80211_NUM_BANDS];


      How to fix this?



      Mikael







      share|improve this question














      I bought a TP-link Archer T2UH wifi usb dongle. I am trying to install it on my work computer which has linux mint 18.2 Sofia with kernel 4.8.0.



      I successfully installed it on my home comp, which has Mint 18 Sarah with kernel 4.4.0.21 using these instructions:



      mkdir ~/src
      cd ~/src
      git clone https://github.com/Myria-de/mt7610u_wifi_sta_v3002_dpo_20130916.git
      make
      sudo make install
      sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat
      sudo reboot


      However, when trying the same on my work computer with the newer kernel, it gives an error when running "make":



      /home/mikael/src/mt7610u_wifi_sta_v3002_dpo_20130916/include/cfg80211.h:35:49
      : error: ‘IEEE80211_NUM_BANDS’ undeclared here (not in a function) struct
      ieee80211_supported_band Cfg80211_bands[IEEE80211_NUM_BANDS];


      How to fix this?



      Mikael









      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 19 '17 at 8:49









      GAD3R

      22.6k154895




      22.6k154895










      asked Nov 19 '17 at 8:28









      mikael

      62




      62

























          active

          oldest

          votes











          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%2f405563%2flinux-mint-cant-install-archer-t2uh-usb-wifi-on-kernel-4-8-0%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f405563%2flinux-mint-cant-install-archer-t2uh-usb-wifi-on-kernel-4-8-0%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