Câu hỏi tương tự trước đây ở đây: Ubuntu không nhận Bộ điều hợp Wifi
Đã trả lời với hướng dẫn Terminal để biên dịch trình điều khiển.
Tôi làm theo các hướng dẫn đó [dán ở cuối câu hỏi này] và mọi thứ có vẻ ổn cho đến khi tôi thực hiện hướng dẫn "thực hiện" và sau đó tôi nhận được đầu ra sau từ thiết bị đầu cuối.
tạo ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.11.0-27-generic/build M=/home/arch/Downloads/linux-wifi-88x2bu-driver modules
make[1]: Nhập thư mục '/usr/src/linux-headers-5.11.0-27-generic'
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_cmd.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_security.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_debug.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_io.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_ioctl_query.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_ioctl_set.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_ieee80211.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_mlme.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_mlme_ext.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_mi.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_wlan_util.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_vht.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_pwrctrl.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_rf.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_recv.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_sta_mgt.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_ap.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/mesh/rtw_mesh.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/mesh/rtw_mesh_pathtbl.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/mesh/rtw_mesh_hwmp.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_xmit.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_p2p.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_rson.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_tdls.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_br_ext.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_iol.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_sreset.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_btcoex_wifionly.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_btcoex.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_beamforming.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_odm.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_rm.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/rtw_rm_fsm.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/core/efuse/rtw_efuse.o
CC [M] /home/arch/Downloads/linux-wifi-88x2bu-driver/os_dep/osdep_service.o
/home/arch/Downloads/linux-wifi-88x2bu-driver/os_dep/osdep_service.c: Trong chức năng âisFileReadableâ:
/home/arch/Downloads/linux-wifi-88x2bu-driver/os_dep/osdep_service.c:2189:11: lỗi: khai báo hàm âget_fsâ; ý bạn là âget_saâ? [-Werror=implicit-function-khai báo]
2189 | oldfs = get_fs();
| ^~~~~~~
| get_sa
/home/arch/Downloads/linux-wifi-88x2bu-driver/os_dep/osdep_service.c:2189:11: lỗi: các loại không tương thích khi gán cho loại âmm_segment_tâ {aka âstruct <anonymous>â } từ loại âintâ
/home/arch/Downloads/linux-wifi-88x2bu-driver/os_dep/osdep_service.c:2190:3: error: khai báo hàm âset_fsâ; ý bạn là âsget_fcâ? [-Werror=implicit-function-khai báo]
2190 | set_fs(KERNEL_DS);
| ^~~~~~~
| sget_fc
/home/arch/Downloads/linux-wifi-88x2bu-driver/os_dep/osdep_service.c:2190:10: error: âKERNEL_DSâ không được khai báo (lần đầu sử dụng chức năng này); ý bạn là âKERNFS_NSâ?
2190 | set_fs(KERNEL_DS);
| ^~~~~~~~~~
| KERNFS_NS
/home/arch/Downloads/linux-wifi-88x2bu-driver/os_dep/osdep_service.c:2190:10: lưu ý: mỗi mã định danh không được khai báo chỉ được báo cáo một lần cho mỗi chức năng mà nó xuất hiện trong
/home/arch/Downloads/linux-wifi-88x2bu-driver/os_dep/osdep_service.c: Trong chức năng âretriveFromFileâ:
/home/arch/Downloads/linux-wifi-88x2bu-driver/os_dep/osdep_service.c:2227:12: lỗi: các loại không tương thích khi gán cho loại âmm_segment_tâ {aka âstruct <anonymous>â } từ loại âintâ
2227 | oldfs = get_fs();
| ^~~~~~~
/home/arch/Downloads/linux-wifi-88x2bu-driver/os_dep/osdep_service.c:2228:11: lỗi: âKERNEL_DSâ không được khai báo (lần đầu sử dụng chức năng này); ý bạn là âKERNFS_NSâ?
2228 | set_fs(KERNEL_DS);
| ^~~~~~~~~~
| KERNFS_NS
/home/arch/Downloads/linux-wifi-88x2bu-driver/os_dep/osdep_service.c: Trong chức năng âstoreToFileâ:
/home/arch/Downloads/linux-wifi-88x2bu-driver/os_dep/osdep_service.c:2262:12: lỗi: các loại không tương thích khi gán cho loại âmm_segment_tâ {aka âstruct <anonymous>â } từ loại âintâ
2262 | oldfs = get_fs();
| ^~~~~~~
/home/arch/Downloads/linux-wifi-88x2bu-driver/os_dep/osdep_service.c:2263:11: error: âKERNEL_DSâ không được khai báo (lần đầu sử dụng chức năng này); ý bạn là âKERNFS_NSâ?
2263 | set_fs(KERNEL_DS);
| ^~~~~~~~~~
| KERNFS_NS
cc1: tất cả các cảnh báo được coi là lỗi
make[2]: *** [scripts/Makefile.build:287: /home/arch/Downloads/linux-wifi-88x2bu-driver/os_dep/osdep_service.o] Lỗi 1
make[1]: *** [Makefile:1848: /home/arch/Downloads/linux-wifi-88x2bu-driver] Lỗi 2
make[1]: Rời khỏi thư mục '/usr/src/linux-headers-5.11.0-27-generic'
thực hiện: *** [Makefile:1999: modules] Lỗi 2
arch@bird:~/Downloads/linux-wifi-88x2bu-driver$
Thêm thông tin...
Máy tính của tôi là "ASUS TUF Gaming A15 TUF506QE-MS74 15.6" Laptop Computer Platinum Collection"
Ubuntu 20.04.3 LTS chưa nhận ra Bluetooth hoặc WiFi. (Cài đặt khoảng 2 tuần trước)
Bluetooth hiện hoạt động bằng USB Dongle cũ mà tôi có xung quanh.
Cài đặt Ubuntu rất khó. Tôi chấp nhận biến mất Bluetooth và WiFi như một thứ có thể được sửa trong một số bản cập nhật trong tương lai. biết sao?
Sử dụng trình điều khiển thay thế cho trình điều khiển Nvideoa đang đóng băng máy tính của tôi. Điều này đang được sử dụng: "Sử dụng máy chủ X.org X - Trình điều khiển hiển thị Nouveau từ Xserver-xorg-video-nouveau (mã nguồn mở)"
Câu trả lời tôi làm việc là:
Thiết bị WiFi cụ thể này sử dụng chipset Archer T4U, cần có
trình điều khiển đặc biệt để hoạt động. Điều này cần phải được tổng hợp từ nguồn trên
máy của bạn. May mắn thay, nó không quá khó. Đây là cách:
Mở Terminal (Nếu chưa mở)
Cài đặt một số điều kiện tiên quyết:
$ sudo apt cài đặt git linux-headers-generic build-essential
Sao chép kho lưu trữ Git vào thư mục Tải xuống của bạn (hoặc bất kỳ thư mục nào khác, nhưng Tải xuống vẫn ổn trong trường hợp này):
$ cd ~/Tải xuống
$ git clone https://github.com/nyetwurk/linux-wifi-88x2bu-driver
Biên dịch và cài đặt trình điều khiển:
$ cd trình điều khiển linux-wifi-88x2bu
$ làm
$ sudo thực hiện cài đặt
$ Sudo modprobe 88x2bu
Tại thời điểm này, Ubuntu sẽ chọn thiết bị WiFi và cho phép bạn
kết nối với mạng. Nếu không, khởi động lại có thể theo thứ tự.
Hi vọng điêu nay co ich.