安装deepin15.6后,搜不到任何无线网络
Tofloor
poster avatar
qinoq
deepin
2018-07-16 21:09
Author
电脑是惠普暗影精灵3,装了deepin15.6双系统,进入系统后有无线网卡但是搜不到任何网络:无线网卡是t8822be,
我重新下载了一个无线网卡驱动,但是make的时候直接报错:


qinoq@qinoqPC:~/Downloads/rtlwifi-next$ make
make -C /lib/modules/4.15.0-21deepin-generic/build M=/home/qinoq/Downloads/rtlwifi-next modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-21deepin-generic'
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
  CC [M]  /home/qinoq/Downloads/rtlwifi-next/base.o
/home/qinoq/Downloads/rtlwifi-next/base.c: In function ‘_rtl_init_deferred_work’:
/home/qinoq/Downloads/rtlwifi-next/base.c:460:2: error: implicit declaration of function ‘setup_timer’; did you mean ‘sk_stop_timer’? [-Werror=implicit-function-declaration]
  setup_timer(&rtlpriv->works.watchdog_timer,
  ^~~~~~~~~~~
  sk_stop_timer
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/qinoq/Downloads/rtlwifi-next/base.o' failed
make[2]: *** [/home/qinoq/Downloads/rtlwifi-next/base.o] Error 1
Makefile:1552: recipe for target '_module_/home/qinoq/Downloads/rtlwifi-next' failed
make[1]: *** [_module_/home/qinoq/Downloads/rtlwifi-next] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-21deepin-generic'
Makefile:100: recipe for target 'all' failed
make: *** [all] Error 2



上不了网了,怎么办呀

Reply Favorite View the author
All Replies
avatar
qinoq
deepin
2018-07-16 21:36
#1
原来15.5还可以自己安装无线网卡驱动,现在15.6make就报错,自带的又搜不到网络,谁能解决一下,这是 lspci-v的显示:
04:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b822
        Subsystem: Hewlett-Packard Company Device 831b
        Flags: bus master, fast devsel, latency 0, IRQ 138
        I/O ports at b000 [size=256]
        Memory at dfd00000 (64-bit, non-prefetchable) [size=64K]
        Capabilities:
        Kernel driver in use: r8822be
        Kernel modules: r8822be, wl
Reply View the author
avatar
qinoq
deepin
2018-07-18 18:52
#2
?顶顶顶
Reply View the author
avatar
deepinuser17
deepin
2018-07-18 21:16
#3
https://askubuntu.com/questions/921483/no-network-device-after-installing-ubuntu-16-04

试试安装新的驱动程序:

sudo apt-get install git build-essential
git clone https://github.com/rtlwifi-linux/rtlwifi-next.git
cd rtlwifi-next
make
sudo make install
echo "options rtl8822be ips=N" | sudo tee /etc/modprobe.d/rtl8822be.conf
Reply View the author
avatar
tmacy
deepin
2018-07-18 21:41
#4
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"

这句话能看懂么?可以试试看
Reply View the author
avatar
justforlxz
deepin
2018-07-18 21:55
#5
https://bbs.deepin.org/post/166284
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfu ...

安装libelf-dev这个包
Reply View the author
avatar
166******24
deepin
2018-07-21 20:24
#6
https://bbs.deepin.org/post/166284
安装libelf-dev这个包

那个,请问这个怎么安装啊,第一次接触Linux,希望大神指点
Reply View the author
avatar
風銜霜
deepin
2018-07-21 21:51
#7
先那网线连上路由器然后直接试试下面两条?
sudo apt-get install  libelf-dev libelf-devel
sudo apt-get install  libelf-dev elfutils-libelf-devel
Reply View the author
avatar
LBo
deepin
2018-08-13 08:07
#8
  • 复制 rtl8822befw.bin
       sudo cp rtlwifi-next/firmware/rtlwifi/rtl8822befw.bin /lib/firmware/rtlwifi/

  • 重新加载模块
      sudo modprobe -r r8822be
      sudo modprobe r8822be

这里是有详细的
https://blog.csdn.net/u010372269/article/details/81604153
Reply View the author
avatar
166******24
deepin
2018-08-15 20:48
#9
https://bbs.deepin.org/post/167024#2楼主也可以看一下这个方法,我当时也是和楼主一样的情况,驱动即使重装了也没用,希望这能有所帮助
Reply View the author
avatar
yanbowen
deepin
Community Developer
2018-08-15 21:11
#10
Reply View the author