installing usb wifi dongle


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.
16.04 wireless realtek
add a comment |Â
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.
16.04 wireless realtek
What does the dongle show up as underlspci
?
â 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
add a comment |Â
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.
16.04 wireless realtek
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
16.04 wireless realtek
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 underlspci
?
â 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
add a comment |Â
What does the dongle show up as underlspci
?
â 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
add a comment |Â
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>
add a comment |Â
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>
add a comment |Â
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>
add a comment |Â
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>
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>
edited Aug 26 at 11:05
answered Jul 30 at 10:41


Dheeraj M Pai
1065
1065
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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