无法连接到 Wi-Fi,Lubuntu 18.04

无法连接到 Wi-Fi,Lubuntu 18.04

我正在使用 Lubuntu 18.04。我无法连接到我的 Wi-Fi 网络。一小时前就发生了这种情况。

在我的编辑连接选项中,显示的是我的 Wi-Fi 名称:

沃达丰移动Wifi-51BB

上次活动时间为 1 小时前。

我的启用网络启用 Wi-Fi选项已选中。

但我的笔记本电脑突然无法连接网络。

我的 Wi-Fi 适配器高通创锐讯 QCA9377

我按照第一个答案中给出的说明进行操作askubuntu 问题

sudo make defconfig-ath10k

给我提示:

Generating local configuration database from kernel ... done.
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer   -c -o conf.o conf.c
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer   -c -o zconf.tab.o zconf.tab.c
cc   conf.o zconf.tab.o   -o conf
boolean symbol HWMON tested for 'm'? test forced to 'n'
boolean symbol HWMON tested for 'm'? test forced to 'n'
#
# configuration written to .config
#

sudo make

给我提示:

make[5]: 'conf' is up to date.
boolean symbol HWMON tested for 'm'? test forced to 'n'
boolean symbol HWMON tested for 'm'? test forced to 'n'
#
# configuration written to .config
#
Building backport-include/backport/autoconf.h ... done.
  CC [M]  /home/saptak/backports-20151120/compat/main.o
  LD [M]  /home/saptak/backports-20151120/compat/compat.o
  CC [M]  /home/saptak/backports- 
  20151120/drivers/net/wireless/ath/main.o
  CC [M]  /home/saptak/backports-20151120/drivers/net/wireless/ath/regd.o
/home/saptak/backports-20151120/drivers/net/wireless/ath/regd.c: In function ‘dynamic_country_user_possible’:
/home/saptak/backports-20151120/drivers/net/wireless/ath/regd.c:119:6: error: implicit declaration of function ‘config_enabled’; did you mean ‘x2apic_enabled’? [-Werror=implicit-function-declaration]
  if (config_enabled(CPTCFG_ATH_REG_DYNAMIC_USER_CERT_TESTING))
      ^~~~~~~~~~~~~~
      x2apic_enabled
/home/saptak/backports-20151120/drivers/net/wireless/ath/regd.c:119:21: error: ‘CPTCFG_ATH_REG_DYNAMIC_USER_CERT_TESTING’ undeclared (first use in this function)
  if (config_enabled(CPTCFG_ATH_REG_DYNAMIC_USER_CERT_TESTING))
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/saptak/backports-20151120/drivers/net/wireless/ath/regd.c:119:21: note: each undeclared identifier is reported only once for each function it appears in
/home/saptak/backports-20151120/drivers/net/wireless/ath/regd.c: In function ‘ath_reg_dyn_country_user_allow’:
/home/saptak/backports-20151120/drivers/net/wireless/ath/regd.c:191:22: error: ‘CPTCFG_ATH_REG_DYNAMIC_USER_REG_HINTS’ undeclared (first use in this function)
  if (!config_enabled(CPTCFG_ATH_REG_DYNAMIC_USER_REG_HINTS))
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/saptak/backports-20151120/drivers/net/wireless/ath/regd.o' failed
make[7]: *** [/home/saptak/backports-20151120/drivers/net/wireless/ath/regd.o] Error 1
scripts/Makefile.build:606: recipe for target '/home/saptak/backports-20151120/drivers/net/wireless/ath' failed
make[6]: *** [/home/saptak/backports-20151120/drivers/net/wireless/ath] Error 2
scripts/Makefile.build:606: recipe for target '/home/saptak/backports-20151120/drivers/net/wireless' failed
make[5]: *** [/home/saptak/backports-20151120/drivers/net/wireless] Error 2
Makefile:1552: recipe for target '_module_/home/saptak/backports-20151120' failed
make[4]: *** [_module_/home/saptak/backports-20151120] Error 2
Makefile.build:6: recipe for target 'modules' failed
make[3]: *** [modules] Error 2
Makefile.real:88: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
Makefile:40: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
Makefile:30: recipe for target 'default' failed
make: *** [default] Error 2

相关内容