installing usb wifi dongle

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








up vote
2
down vote

favorite












I'm trying to install a USB wifi dongle under Ubuntu 16.04. It came with linux drivers supposedly compatible with linux 2.6x-4.1x. I tried to install the driver (called RTL88x2BU_WiFi_linux_v5.2.4.1) but I originally received the following error:



.../include/osdep_service.h:355:2: error: implicit declaration of function ‘allow_s
ignal’ [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);


I found somewhere that adding this code to the script "osdep_service.h" prevents the error:



#include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
#include <linux/sched/signal.h>
#endif


But then I get a new error:



.../os_dep/linux/ioctl_cfg80211.c:734:3: error: too many arguments to function ‘cfg80211_roamed’
cfg80211_roamed(padapter->pnetdev


I read somewhere else that removing the #if LINUX... condition from this code would solve the problem:



cfg80211_roamed(padapter -> pnetdev
# if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 39) || defined(COMPAT_KERNEL_RELEASE)
, notify_channel
#endif
, cur_network -> network.MacAddress
, pmlmepriv -> assoc_req + sizeof(struct rtw_ieee80211_hdr_3addr) + 2
, pmlmepriv -> assoc_req_len - sizeof(struct rtw_ieee80211_hdr_3addr) - 2
, pmlmepriv -> assoc_rsp + sizeof(struct rtw_ieee80211_hdr_3addr) + 6
, pmlmepriv -> assoc_rsp_len - sizeof(struct rtw_ieee80211_hdr_3addr) - 6
, GFP_ATOMIC
);


Unfortunately I now have the following error:



.../os_dep/linux/ioctl_cfg80211.c:734:3: error: too many arguments to function ‘cfg80211_roamed’
cfg80211_roamed(padapter->pnetdev


Could someone explain to me how to install this wifi dongle? I'm not very familiar with linux.
Thanks.










share|improve this question























  • What does the dongle show up as under lspci?
    – dsstorefile1
    Mar 22 at 2:10










  • It does not appear. I can see it as 0dba:b812 Realtek Semiconductor Corp. with lsub, but I don't see it with lspci.
    – baca
    Mar 22 at 23:18










  • Can soomeone please answer this!!
    – Dheeraj M Pai
    Jul 30 at 10:40














up vote
2
down vote

favorite












I'm trying to install a USB wifi dongle under Ubuntu 16.04. It came with linux drivers supposedly compatible with linux 2.6x-4.1x. I tried to install the driver (called RTL88x2BU_WiFi_linux_v5.2.4.1) but I originally received the following error:



.../include/osdep_service.h:355:2: error: implicit declaration of function ‘allow_s
ignal’ [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);


I found somewhere that adding this code to the script "osdep_service.h" prevents the error:



#include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
#include <linux/sched/signal.h>
#endif


But then I get a new error:



.../os_dep/linux/ioctl_cfg80211.c:734:3: error: too many arguments to function ‘cfg80211_roamed’
cfg80211_roamed(padapter->pnetdev


I read somewhere else that removing the #if LINUX... condition from this code would solve the problem:



cfg80211_roamed(padapter -> pnetdev
# if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 39) || defined(COMPAT_KERNEL_RELEASE)
, notify_channel
#endif
, cur_network -> network.MacAddress
, pmlmepriv -> assoc_req + sizeof(struct rtw_ieee80211_hdr_3addr) + 2
, pmlmepriv -> assoc_req_len - sizeof(struct rtw_ieee80211_hdr_3addr) - 2
, pmlmepriv -> assoc_rsp + sizeof(struct rtw_ieee80211_hdr_3addr) + 6
, pmlmepriv -> assoc_rsp_len - sizeof(struct rtw_ieee80211_hdr_3addr) - 6
, GFP_ATOMIC
);


Unfortunately I now have the following error:



.../os_dep/linux/ioctl_cfg80211.c:734:3: error: too many arguments to function ‘cfg80211_roamed’
cfg80211_roamed(padapter->pnetdev


Could someone explain to me how to install this wifi dongle? I'm not very familiar with linux.
Thanks.










share|improve this question























  • What does the dongle show up as under lspci?
    – dsstorefile1
    Mar 22 at 2:10










  • It does not appear. I can see it as 0dba:b812 Realtek Semiconductor Corp. with lsub, but I don't see it with lspci.
    – baca
    Mar 22 at 23:18










  • Can soomeone please answer this!!
    – Dheeraj M Pai
    Jul 30 at 10:40












up vote
2
down vote

favorite









up vote
2
down vote

favorite











I'm trying to install a USB wifi dongle under Ubuntu 16.04. It came with linux drivers supposedly compatible with linux 2.6x-4.1x. I tried to install the driver (called RTL88x2BU_WiFi_linux_v5.2.4.1) but I originally received the following error:



.../include/osdep_service.h:355:2: error: implicit declaration of function ‘allow_s
ignal’ [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);


I found somewhere that adding this code to the script "osdep_service.h" prevents the error:



#include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
#include <linux/sched/signal.h>
#endif


But then I get a new error:



.../os_dep/linux/ioctl_cfg80211.c:734:3: error: too many arguments to function ‘cfg80211_roamed’
cfg80211_roamed(padapter->pnetdev


I read somewhere else that removing the #if LINUX... condition from this code would solve the problem:



cfg80211_roamed(padapter -> pnetdev
# if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 39) || defined(COMPAT_KERNEL_RELEASE)
, notify_channel
#endif
, cur_network -> network.MacAddress
, pmlmepriv -> assoc_req + sizeof(struct rtw_ieee80211_hdr_3addr) + 2
, pmlmepriv -> assoc_req_len - sizeof(struct rtw_ieee80211_hdr_3addr) - 2
, pmlmepriv -> assoc_rsp + sizeof(struct rtw_ieee80211_hdr_3addr) + 6
, pmlmepriv -> assoc_rsp_len - sizeof(struct rtw_ieee80211_hdr_3addr) - 6
, GFP_ATOMIC
);


Unfortunately I now have the following error:



.../os_dep/linux/ioctl_cfg80211.c:734:3: error: too many arguments to function ‘cfg80211_roamed’
cfg80211_roamed(padapter->pnetdev


Could someone explain to me how to install this wifi dongle? I'm not very familiar with linux.
Thanks.










share|improve this question















I'm trying to install a USB wifi dongle under Ubuntu 16.04. It came with linux drivers supposedly compatible with linux 2.6x-4.1x. I tried to install the driver (called RTL88x2BU_WiFi_linux_v5.2.4.1) but I originally received the following error:



.../include/osdep_service.h:355:2: error: implicit declaration of function ‘allow_s
ignal’ [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);


I found somewhere that adding this code to the script "osdep_service.h" prevents the error:



#include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
#include <linux/sched/signal.h>
#endif


But then I get a new error:



.../os_dep/linux/ioctl_cfg80211.c:734:3: error: too many arguments to function ‘cfg80211_roamed’
cfg80211_roamed(padapter->pnetdev


I read somewhere else that removing the #if LINUX... condition from this code would solve the problem:



cfg80211_roamed(padapter -> pnetdev
# if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 39) || defined(COMPAT_KERNEL_RELEASE)
, notify_channel
#endif
, cur_network -> network.MacAddress
, pmlmepriv -> assoc_req + sizeof(struct rtw_ieee80211_hdr_3addr) + 2
, pmlmepriv -> assoc_req_len - sizeof(struct rtw_ieee80211_hdr_3addr) - 2
, pmlmepriv -> assoc_rsp + sizeof(struct rtw_ieee80211_hdr_3addr) + 6
, pmlmepriv -> assoc_rsp_len - sizeof(struct rtw_ieee80211_hdr_3addr) - 6
, GFP_ATOMIC
);


Unfortunately I now have the following error:



.../os_dep/linux/ioctl_cfg80211.c:734:3: error: too many arguments to function ‘cfg80211_roamed’
cfg80211_roamed(padapter->pnetdev


Could someone explain to me how to install this wifi dongle? I'm not very familiar with linux.
Thanks.







16.04 wireless realtek






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 22 at 10:15









Drakonoved

7421515




7421515










asked Mar 22 at 2:08









baca

1111




1111











  • What does the dongle show up as under lspci?
    – dsstorefile1
    Mar 22 at 2:10










  • It does not appear. I can see it as 0dba:b812 Realtek Semiconductor Corp. with lsub, but I don't see it with lspci.
    – baca
    Mar 22 at 23:18










  • Can soomeone please answer this!!
    – Dheeraj M Pai
    Jul 30 at 10:40
















  • What does the dongle show up as under lspci?
    – dsstorefile1
    Mar 22 at 2:10










  • It does not appear. I can see it as 0dba:b812 Realtek Semiconductor Corp. with lsub, but I don't see it with lspci.
    – baca
    Mar 22 at 23:18










  • Can soomeone please answer this!!
    – Dheeraj M Pai
    Jul 30 at 10:40















What does the dongle show up as under lspci?
– dsstorefile1
Mar 22 at 2:10




What does the dongle show up as under lspci?
– dsstorefile1
Mar 22 at 2:10












It does not appear. I can see it as 0dba:b812 Realtek Semiconductor Corp. with lsub, but I don't see it with lspci.
– baca
Mar 22 at 23:18




It does not appear. I can see it as 0dba:b812 Realtek Semiconductor Corp. with lsub, but I don't see it with lspci.
– baca
Mar 22 at 23:18












Can soomeone please answer this!!
– Dheeraj M Pai
Jul 30 at 10:40




Can soomeone please answer this!!
– Dheeraj M Pai
Jul 30 at 10:40










1 Answer
1






active

oldest

votes

















up vote
0
down vote













I guess for linux the Wifi Dongle is automatically detected. I use Cana Kit Dongle and it requires no drivers or changes made in WiFi Settings. But recently bought teratec. It doesn't seem to work. I'm not sure about that.



Edit: You need a driver. Download the driver from the internet and run



sudo insmod <driver-file>






share|improve this answer






















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    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: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    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%2faskubuntu.com%2fquestions%2f1018123%2finstalling-usb-wifi-dongle%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    I guess for linux the Wifi Dongle is automatically detected. I use Cana Kit Dongle and it requires no drivers or changes made in WiFi Settings. But recently bought teratec. It doesn't seem to work. I'm not sure about that.



    Edit: You need a driver. Download the driver from the internet and run



    sudo insmod <driver-file>






    share|improve this answer


























      up vote
      0
      down vote













      I guess for linux the Wifi Dongle is automatically detected. I use Cana Kit Dongle and it requires no drivers or changes made in WiFi Settings. But recently bought teratec. It doesn't seem to work. I'm not sure about that.



      Edit: You need a driver. Download the driver from the internet and run



      sudo insmod <driver-file>






      share|improve this answer
























        up vote
        0
        down vote










        up vote
        0
        down vote









        I guess for linux the Wifi Dongle is automatically detected. I use Cana Kit Dongle and it requires no drivers or changes made in WiFi Settings. But recently bought teratec. It doesn't seem to work. I'm not sure about that.



        Edit: You need a driver. Download the driver from the internet and run



        sudo insmod <driver-file>






        share|improve this answer














        I guess for linux the Wifi Dongle is automatically detected. I use Cana Kit Dongle and it requires no drivers or changes made in WiFi Settings. But recently bought teratec. It doesn't seem to work. I'm not sure about that.



        Edit: You need a driver. Download the driver from the internet and run



        sudo insmod <driver-file>







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Aug 26 at 11:05

























        answered Jul 30 at 10:41









        Dheeraj M Pai

        1065




        1065



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1018123%2finstalling-usb-wifi-dongle%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            GRUB: Fatal! inconsistent data read from (0x84) 0+xxxxxx

            `kcmshell` modules relation with `/usr/share/applications`

            How to enroll fingerprints to Ubuntu 17.10 with VFS491