我正在尝试在 Toshiba Satellite L75D-A7280 上全新安装 13.04 来设置我的 wifi。
我仍然是一个 Linux 新手,所以我可能已经陷入了困境,但我已经走到这一步了:
我已pci.h
按建议进行了编辑,但仍然遇到以下问题make
:
make -C /lib/modules/3.8.0-19-generic/build M=/home/trevor/Downloads/realtek modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-19-generic'
CC [M] /home/trevor/Downloads/realtek/base.o
In file included from /home/trevor/Downloads/realtek/base.c:39:0:
/home/trevor/Downloads/realtek/pci.h:30:1: error: unknown type name ‘fndef’
/home/trevor/Downloads/realtek/pci.h:33:2: error: #endif without #if
In file included from include/linux/pci.h:20:0,
from /home/trevor/Downloads/realtek/pci.h:39,
from /home/trevor/Downloads/realtek/base.c:39:
include/linux/mod_devicetable.h:12:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘typedef’
include/linux/mod_devicetable.h:21:2: error: unknown type name ‘kernel_ulong_t’
include/linux/mod_devicetable.h:36:2: error: unknown type name ‘kernel_ulong_t’
include/linux/mod_devicetable.h:37:33: error: ‘kernel_ulong_t’ undeclared here (not in a function)
include/linux/mod_devicetable.h:37:3: error: requested alignment is not an integer constant
include/linux/mod_devicetable.h:125:2: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
include/linux/mod_devicetable.h:151:2: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
include/linux/mod_devicetable.h:164:2: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
include/linux/mod_devicetable.h:178:2: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
include/linux/mod_devicetable.h:189:2: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
include/linux/mod_devicetable.h:197:2: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
include/linux/mod_devicetable.h:205:2: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
include/linux/mod_devicetable.h:210:2: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
include/linux/mod_devicetable.h:275:2: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
include/linux/mod_devicetable.h:324:2: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
include/linux/mod_devicetable.h:351:2: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
include/linux/mod_devicetable.h:376:2: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
include/linux/mod_devicetable.h:423:2: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
include/linux/mod_devicetable.h:443:2: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
include/linux/mod_devicetable.h:454:2: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
include/linux/mod_devicetable.h:518:2: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
include/linux/mod_devicetable.h:550:2: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
include/linux/mod_devicetable.h:561:2: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
include/linux/mod_devicetable.h:592:2: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
make[2]: *** [/home/trevor/Downloads/realtek/base.o] Error 1
make[1]: *** [_module_/home/trevor/Downloads/realtek] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-19-generic'
make: *** [all] Error 2
我怎样才能让我的无线网络正常工作?
lspci -nnk | grep -iEA3 "(wireless|network)"
05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter [10ec:8179] (rev 01)
Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:0181]
有线连接正常
我很高兴通过有线连接在我的第一台 ubuntu 笔记本上与世界交流。我不知道它使用的是什么驱动程序。13.04 在安装过程中看到了它。
答案1
忘记修补。
从评论#36在LP 错误 #1096989据报道,稳定的 Linux 3.10 内核已获得对您的无线 LAN 设备的支持。是的,这是关于联想 Ideapad 设备,但这并不重要,因为它包含与您拥有的相同的无线 LAN 卡(通过数字 ID 识别)。
安装主线内核的方法如下:如何在没有任何发行版升级的情况下将内核更新到最新的主线版本?并选择 3.10.1 (当前最新的稳定内核):http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.1-saucy/
但实际上,查看此错误报告并在 Ubuntu 稳定版本内核中修复此问题后删除内核。通过自行安装主线内核,您将不会收到任何安全更新。
对于未来的访问者:升级到你在http://kernel.ubuntu.com/~kernel-ppa/mainline