새로 구입 한 저 구성 노트북에 Windows 10 (듀얼 부팅)과 함께 최신 Xubuntu 18.04 LTS 를 설치 했습니다. 설치의 모든 것이 잘 작동했지만 Wi-Fi가 작동하지 않습니다. 가끔 (드물게) Wi-Fi 라우터에 연결할 수 있었지만 네트워크 강도가 너무 많습니다. 내 노트북은 wifi 용 realtek 드라이버 (RTL8723BU 일 수 있음 )를 사용합니다. Windows 10 시스템에서 잘 작동합니다. inxi -Fxz 명령에서 네트워크 카드가 어떻게 든 설치되지 않았 음을 발견했습니다. Xumuntu에서 나는 이제 완전히 인터넷이 없습니다. 여기에이 랩톱에 유선 LAN 옵션이 없음을 추가하고 싶습니다.
이 Wi-Fi / 네트워크 카드 문제를 어떻게 수정 / 해결할 수 있습니까 ??
다음은 inxi -Fxz 의 출력입니다.
boundule@BUDDY:~$ inxi -Fxz
System: Host: BUDDY Kernel: 4.15.0-30-generic x86_64 bits: 64 gcc: 7.3.0 Desktop: Xfce 4.12.3 (Gtk 2.24.31)
Distro: Ubuntu 18.04.1 LTS
Machine: Device: laptop System: Walton product: Prelude R1 serial: N/A
Mobo: N/A model: N/A serial: N/A
UEFI: American Megatrends v: WH-BI-14-Y116AR120-105-C date: 03/13/2018
CPU: Dual core Intel Celeron N3350 (-MCP-) arch: N/A cache: 1024 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 4377
clock speeds: max: 2400 MHz 1: 869 MHz 2: 861 MHz
Graphics: Card: Intel Device 5a85 bus-ID: 00:02.0
Display Server: x11 (X.Org 1.19.6 ) drivers: modesetting (unloaded: fbdev,vesa)
Resolution: [email protected]
OpenGL: renderer: Mesa DRI Intel HD Graphics 500 (Broxton 2x6)
version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio: Card Intel Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster
driver: snd_hda_intel bus-ID: 00:0e.0
Sound: Advanced Linux Sound Architecture v: k4.15.0-30-generic
Network: Card: Failed to Detect Network Card!
Drives: HDD Total Size: 1008.2GB (1.2% used)
ID-1: /dev/sda model: HGST_HTS541010B7 size: 1000.2GB
ID-2: USB /dev/sdb model: Transcend_8GB size: 8.0GB
Partition: ID-1: / size: 19G used: 4.6G (27%) fs: ext4 dev: /dev/sda7
ID-2: /home size: 35G used: 51M (1%) fs: ext4 dev: /dev/sda9
ID-3: swap-1 size: 6.14GB used: 0.00GB (0%) fs: swap dev: /dev/sda8
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 49.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 166 Uptime: 37 min Memory: 397.8/3778.5MB Init: systemd runlevel: 5 Gcc sys: 7.3.0
Client: Shell (bash 4.4.191) inxi: 2.3.56
다음은 lspci 의 출력입니다 . lsusb
00:00.0 Host bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Host Bridge (rev 0b)
00:00.1 Signal processing controller: Intel Corporation Device 5a8c (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Device 5a85 (rev 0b)
00:0e.0 Audio device: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster (rev 0b)
00:0f.0 Communication controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Trusted Execution Engine (rev 0b)
00:12.0 SATA controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SATA AHCI Controller (rev 0b)
00:15.0 USB controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series USB xHCI (rev 0b)
00:16.0 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #1 (rev 0b)
00:16.1 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #2 (rev 0b)
00:16.2 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #3 (rev 0b)
00:16.3 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #4 (rev 0b)
00:17.0 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #5 (rev 0b)
00:17.1 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #6 (rev 0b)
00:17.2 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #7 (rev 0b)
00:17.3 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #8 (rev 0b)
00:18.0 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller #1 (rev 0b)
00:18.1 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller #2 (rev 0b)
00:18.2 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller #3 (rev 0b)
00:18.3 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller #4 (rev 0b)
00:19.0 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller #1 (rev 0b)
00:19.1 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller #2 (rev 0b)
00:19.2 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller #3 (rev 0b)
00:1c.0 SD Host controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series eMMC Controller (rev 0b)
00:1f.0 ISA bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Low Pin Count Interface (rev 0b)
00:1f.1 SMBus: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SMBus Controller (rev 0b)
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 058f:5608 Alcor Micro Corp.
Bus 001 Device 004: ID 0bda:b720 Realtek Semiconductor Corp.
Bus 001 Device 003: ID 09da:c10a A4Tech Co., Ltd.
Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 006: ID 058f:6387 Alcor Micro Corp. Flash Drive
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
다음은 USB 장치 의 출력입니다. | awk '/ b720 /'RS =
T: Bus=01 Lev=01 Prnt=01 Port=06 Cnt=04 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0bda ProdID=b720 Rev=02.00
S: Manufacturer=Realtek
S: Product=802.11n WLAN Adapter
S: SerialNumber=00e04c000001
C: #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
I: If#= 2 Alt= 0 #EPs= 6 Cls=ff(vend.) Sub=ff Prot=ff Driver=rtl8xxxu
명령 및 재부팅 후에도 문제가 여전히 존재합니다.
boundule@BUDDY:~$ sudo apt install build-essential dkms
[sudo] password for boundule:
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
build-essential set to manually installed.
Suggested packages:
menu
The following packages will be upgraded:
dkms
1 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
Need to get 68.0 kB of archives.
After this operation, 19.5 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://bd.archive.ubuntu.com/ubuntu bionic-updates/main amd64 dkms all 2.3-3ubuntu9.2 [68.0 kB]
Fetched 68.0 kB in 3s (19.6 kB/s)
(Reading database ... 185574 files and directories currently installed.)
Preparing to unpack .../dkms_2.3-3ubuntu9.2_all.deb ...
Unpacking dkms (2.3-3ubuntu9.2) over (2.2.0.3-2ubuntu11) ...
Setting up dkms (2.3-3ubuntu9.2) ...
Installing new version of config file /etc/dkms/framework.conf ...
Installing new version of config file /etc/dkms/template-dkms-mkdeb/debian/control ...
Installing new version of config file /etc/kernel/prerm.d/dkms ...
Processing triggers for man-db (2.8.3-2) ...
boundule@BUDDY:~$ git clone https://github.com/lwfinger/rtl8723bu.git
Cloning into 'rtl8723bu'...
remote: Counting objects: 2438, done.
remote: Total 2438 (delta 0), reused 0 (delta 0), pack-reused 2438
Receiving objects: 100% (2438/2438), 7.41 MiB | 63.00 KiB/s, done.
Resolving deltas: 100% (1960/1960), done.
boundule@BUDDY:~$ cd rtl8723bu
boundule@BUDDY:~/rtl8723bu$ source dkms.conf
boundule@BUDDY:~/rtl8723bu$ sudo mkdir /usr/src/$PACKAGE_NAME-$PACKAGE_VERSION
boundule@BUDDY:~/rtl8723bu$ sudo cp -r core hal include os_dep platform dkms.conf Makefile rtl8723b_fw.bin /usr/src/$PACKAGE_NAME-$PACKAGE_VERSION
boundule@BUDDY:~/rtl8723bu$ sudo dkms add $PACKAGE_NAME/$PACKAGE_VERSION
Creating symlink /var/lib/dkms/rtl8723bu/4.3.6.11_12942.20141204_BTCOEX20140507-4E40/source ->
/usr/src/rtl8723bu-4.3.6.11_12942.20141204_BTCOEX20140507-4E40
DKMS: add completed.
boundule@BUDDY:~/rtl8723bu$ sudo dkms autoinstall $PACKAGE_NAME/$PACKAGE_VERSION
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j2 KERNELRELEASE=4.15.0-30-generic -C /lib/modules/4.15.0-30-generic/build M=/var/lib/dkms/rtl8723bu/4.3.6.11_12942.20141204_BTCOEX20140507-4E40/build..........................
Signing module:
Generating a new Secure Boot signing key:
Generating a 2048 bit RSA private key
...............................................+++
...........+++
writing new private key to '/var/lib/shim-signed/mok/MOK.priv'
-----
- /var/lib/dkms/rtl8723bu/4.3.6.11_12942.20141204_BTCOEX20140507-4E40/4.15.0-30-generic/x86_64/module/rtl8723bu.ko
Secure Boot not enabled on this system.
cleaning build area...
DKMS: build completed.
rtl8723bu.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.15.0-30-generic/updates/dkms/
depmod......
DKMS: install completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j2 KERNELRELEASE=4.15.0-30-generic -C /lib/modules/4.15.0-30-generic/build M=/var/lib/dkms/rtlwifi-new/0.10/build....(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/rtlwifi-new-dkms.0.crash'
Error! Bad return status for module build on kernel: 4.15.0-30-generic (x86_64)
Consult /var/lib/dkms/rtlwifi-new/0.10/build/make.log for more information.
boundule@BUDDY:~/rtl8723bu$
chili555 및 기타 다른 소스의 도움으로 심층 분석 후 내 문제는 다음과 같은 방법으로 해결되었습니다.
1 단계 :
sudo apt install build-essential dkms
sudo apt install git
git clone https://github.com/lwfinger/rtl8723bu.git
sudo apt install libelf-dev
2 단계 :
sudo -i
echo blacklist rtl8xxxu >> /etc/modprobe.d/blacklist.conf
exit
이를 통해 이전 드라이버가 내 장치에 사용되지 않았습니다. 제 경우에는 문제가있는 드라이버가 rtl8xxxu였습니다. 그래서 블랙리스트에 올렸습니다.
3 단계 : 이제 새 드라이버의 메이크 파일에서 한 줄을 비활성화했습니다.이 해킹이 없으면 무선 칩셋의 두 인스턴스가 네트워크 관리자에 표시 되었기 때문입니다 (chili555의 Edit 3처럼).
cd rtl8723bu
nano Makefile
21 행으로 이동하여 다음 행을 변경하십시오.
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
주석 처리하려면 다음과 같이하십시오.
#EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
텍스트 편집기를 저장 (Ctrl + o 다음에 Enter)하고 종료 (Ctrl + x)합니다.
4 단계 : 이제 드라이버를 빌드하고 설치합니다.
source dkms.conf
sudo mkdir /usr/src/$PACKAGE_NAME-$PACKAGE_VERSION
sudo cp -r core hal include os_dep platform dkms.conf Makefile rtl8723b_fw.bin /usr/src/$PACKAGE_NAME-$PACKAGE_VERSION
sudo dkms add $PACKAGE_NAME/$PACKAGE_VERSION
sudo dkms autoinstall $PACKAGE_NAME/$PACKAGE_VERSION
5 단계 : 마지막으로 다음 명령으로 컴파일 된 모듈을 설치합니다.
make
sudo make install
컴퓨터를 재부팅하십시오.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다