在OpenSuSE Linux 11上安装Realtek无线卡
我已经使用MedionAkoyaE1222上网本大约一年了,但我仍然认为这是一台很棒的小型机器。最近,我决定从Ubuntu换到另一个Linux发行版,并在最终选择OpenSuSE之前尝试了Fedora,JoliOS,PuppyLinux。我唯一的问题是弄清楚如何使无线网卡正常工作。
我在跟踪这些信息时遇到了一些麻烦,因此我想将其放在此处以供将来参考,也可以用于寻求相同信息的其他任何人。这主要是针对我的上网本和特定的发行版,但可能会帮助遇到类似问题的其他人。
您需要做的第一件事是确定您的系统是否可以实际看到无线网卡。这可以使用lspci命令来完成,在我的SuSE版本中,需要直接从其在sbin目录中的位置调用该命令。
/sbin/lspci
这将打印出与您的机器连接的不同设备的大列表。如果需要,可以添加-v标志以获取有关每个设备的更多信息,但是默认行为足以满足我的需求。此列表中应该是您的无线网卡的记录。这是我的Medion上网本上两个网卡(有线和无线)的条目。
01:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0) 03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller (rev 10)
由于这是Realtek无线适配器,因此我们需要下载正确的驱动程序并进行安装。快速的Google搜索会找到包含所需Linux驱动程序的以下页面。您需要使用正确的驱动程序来匹配正确的卡版本。以我为例,我下载了RTL8191SE驱动程序,该驱动程序可以解决问题。
RTL8191SE驱动程序
下载并解压缩文件后,我们可以移至解压缩目录并安装驱动程序。该驱动程序已准备好进行编译和安装,但是系统可能没有所需的工具来允许您执行此操作。如果键入Linux的“make”命令,并且收到“找不到命令”响应,则需要安装所需的软件包。通过输入以下命令,您可以准备好所需的软件包,以制作和安装驱动程序。
sudo zypper install automake make linux-kernel-headers kernel-desktop-devel kernel-syms gcc
系统准备就绪后,您可以通过运行以下命令来制作和安装驱动程序(在每个命令后按Enter)。
sudo su make make install exit
sudosu命令使您进入超级用户模式,该模式使您可以运行makeandmakeinstall来构建和安装驱动程序,而不会遇到权限问题。然后,exit命令将处于超级用户模式。重新启动后,您应该发现您的网络现在包含您的无线卡信息,从而可以连接到您选择的网络。