como instalar netis WF2123 USB WiFi no Ubuntu 16.04.2 LTS x64?

0

Eu não posso usar o adaptador "netis Wf2123" ( link ).

Meu sistema operacional:

Cat / etc / lsb-release
DISTRIB_ID = Ubuntu
DISTRIB_RELEASE = 16.04
DISTRIB_CODENAME = xenial
DISTRIB_DESCRIPTION = "Ubuntu 16.04.2 LTS"

Uname -a
Linux KB4051 4.4.0-79-generic # 100-Ubuntu SMP Wed May 17 19:58:14 UTC 2017 x86_64 x86_64 x86_64 GNU / Linux

O driver para o dispositivo baixado do site do fabricante "netis WF2123 Driver for Linux, 2017-02-21"

Na compilação, recebo a seguinte mensagem:

Root @ KB4051: /tmp/drv.wlan.canon/rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042# make
Make ARCH = x86_64 CROSS_COMPILE = -C /lib/modules/4.4.0-79-generic/build M = / tmp / drv.wlan.canon / rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042 modules
Make [1]: entering the directory "/usr/src/linux-headers-4.4.0-79-generic"
  CC [M] /tmp/drv.wlan.canon/rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042/core/rtw_cmd.o
  CC [M] /tmp/drv.wlan.canon/rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042/core/rtw_security.o
  CC [M] /tmp/drv.wlan.canon/rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042/core/rtw_debug.o
/tmp/drv.wlan.canon/rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042/core/rtw_debug.c: In function 'dump_drv_version':
/tmp/drv.wlan.canon/rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042/core/rtw_debug.c:71:64: error: macro "__DATE__" might prevent reproducible builds [-Werror = date-time]
  DBG_871X_SEL_NL (sel, "build time:% s% s \ n", __DATE__, __TIME__);
                                                                ^
/tmp/drv.wlan.canon/rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042/core/rtw_debug.c:71:64: error: macro "__TIME__" might prevent reproducible builds [-Werror = date-time]
/tmp/drv.wlan.canon/rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042/core/rtw_debug.c:71:64: error: macro "__DATE__" might prevent reproducible builds [-Werror = date-time]
/tmp/drv.wlan.canon/rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042/core/rtw_debug.c:71:64: error: macro "__TIME__" might prevent reproducible builds [-Werror = date-time]
/tmp/drv.wlan.canon/rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042/core/rtw_debug.c:71:64: error: macro "__DATE__" might prevent reproducible builds [-Werror = date-time]
/tmp/drv.wlan.canon/rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042/core/rtw_debug.c:71:64: error: macro "__TIME__" might prevent reproducible builds [-Werror = date-time]
Cc1: some warnings being treated as errors
Scripts / Makefile.build: 258: runtime recipe error for the target "/tmp/drv.wlan.canon/rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042/core/rtw_debug.o"
Make [2]: *** [/tmp/drv.wlan.canon/rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042/core/rtw_debug.o] Error 1
Makefile: 1420: failed to execute the recipe for the target "_module_ / tmp / drv.wlan.canon / rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042"
Make [1]: *** [_module_ / tmp / drv.wlan.canon / rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042] Error 2
Make [1]: exit the directory "/usr/src/linux-headers-4.4.0-79-generic"
Makefile: 1686: failed to execute the recipe for the purpose of the "modules"
Make: *** [modules] Error 2
Root @ KB4051: /tmp/drv.wlan.canon/rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042#

lsusb

Barramento 003 Dispositivo 007: ID 0bda: 0811 Realtek Semiconductor Corp.

como corrigir?

Eu sou um iniciante, ao responder, por favor, forneça mais detalhes.

    
por K. Oleh 18.06.2017 / 12:21

1 resposta

0

Este driver precisa ser corrigido. Eu tenho um rtl8192EU no meu PPA com um patch, mas não tem o seu dispositivo. Não posso adicionar agora.

Você pode consertar você mesmo.

Abra Makefile no diretório do driver e adicione lá

EXTRA_CFLAGS += -Wno-date-time

após as linhas EXTRA_CFLAGS existentes. Isso resolverá o problema de construção.

    
por Pilot6 18.06.2017 / 13:02