WiFi
上一页
下一页

WiFi

Wireless networking has gotten better with Kubuntu 9.04, however there are still problems for users who do not have a card supported natively. If you have not purchased a wireless card yet, please take a look at the supported hardware at https://help.ubuntu.com/community/WifiDocs/WirelessCardsSupported.

我怎样…

检查我的无线网卡是否在工作?

如果您的无线网卡检测得到,KNetworkManager会有一个目录列出您的无线设备,然后您可以尝试点击系统托盘图标并选择您的无线网络来连接。如果您能够通过网页浏览器来浏览的话,那么您成功的连接上了因特网。

.。。配置加密 如WEPWPA

通过KNetworkManager,你只需点击系统托盘中的应用程序图标,并选择你想要连接的无线网络。当你点击允许加密的网络时,将会出现一个pop-up对话框来输入该信息。输入后,该信息就被保存在KWallet工具里。将来你就可以通过输入KWallet密码来连接到该网络。

...检查一下我是否有网络连接?

打开Konqueror,试着浏览下http://www.ubuntu.com. 如果可行,您的网络连接已经完全的开始工作了。

If the above did not work, open up Konsole (Application LauncherSystemTerminal (Konsole)) and type ping gateway_ip_address (substitude gateway_ip_address by the ip address of your gateway. This address is usually 192.168.1.1, but may vary depending on the nature of your network). If you are able to ping your gateway, then the DNS on your computer is not working correctly. If you are not able to ping the gateway, then you do not have a proper internet connection.

确定系统使用什么无线网卡?

Command line: (Application LauncherSystemTerminal (Konsole)) This will open up Konsole providing you with a terminal or the command line. Once you are sitting at the command prompt simply type lspci and press the Enter key. Locate the Network controller: line as this will provide information about your wireless adapter.

要获得关于我的无线连接的帮助吗?

推荐您使用其他连接方式连接因特网并阅读无线网络连接的相关主题,下面是一些用于查看的地址:

让我的Broadcom无线网络适配器工作吗?

自2.6.17版的内核就开始对Broadcom无线设备提供支持,这意味着一部分 Broadcom 设备没有被包含在内,然而,仍然有一些设备不能被支持,如果您的 Broadcom 无线设备没有工作,那么您有两种选择:bcm43xx-fwcutter或者NdisWrapper

bcm43xx-fwcutter实用工具只有很小一部分设备可以实际运行,要查看当前支持的设备,请回顾http://bcm43xx.berlios.de/?go=devices。如果您的设备没有被支持,那么建议您使用NdisWrapper 使用工具,要获得设置NdisWrapper实用工具的信息,请查看“NdisWrapper”一节

NdisWrapper

增强型命令行

NdisWrapper的配置是增强型命令行。当前还没有图形界面客户羰来帮助进行配置。尽管是命令行导向的,但是命令也是比较容易理解的。

硬件平台

本方法只适用于Intel 及 AMD平台的用户,使用老一些的 iBooks 和Powerbooks的用户不能使用此方法,然而,基于Intel 的MacBooks 用应该能够使用本方法。

NdisWrapper被认为是适合所有Linux的,它很大比例的支持不被其他实用工具支持的无线网络适配器,使用Adept安装ndiswrapper 。如果您对安装的过程不熟悉,建议您查看下文档Adding Applications

一旦您安装了NdisWrapper,请指定Windows驱动无论是在一张CD 上或是因特网,Windows XP 的驱动是首选。Windows 2000 的驱动同样也工作得很好,一旦您在CD上或是因特网上找到了驱动,将它们复制在您系统的本地文件夹里,您的驱动大概会有driver.zip 或者 driver.exe 两种文件,如果是.zip 格式,使用right 或者点击文件从pop-up 目录选择Extract ;如果文件是.exe 格式,那么安装 cabextract 实用工具并打开Konsole,移动到当前文件夹,当您移动到了贮存.exe文件的文件夹,输入 cabextract filename.exe.这会提取或者解压文件到您所在的文件夹,驱动将是.inf 格式,然后您要做的就是输入sudo ndiswrapper -i filename.inf 并按下Enter键。如果成功的话,您应该不会收到任何错误信息,这个命令已经在NdisWrapper 组件装载并安装了驱动。要查看这些驱动是否在工作,只要输入sudo modprobe ndiswrapper并按下Enter。测试下看看您是否连接到了网络。

如果所有步骤进展顺利,最后一步是默认装载NdisWrapper模式。在命令行里输入sudo sh -c "echo ndiswrapper >> /etc/modules" and press Enter就可以。在系统引导的时候,它将会自动启动。

如果一切都没有那么顺利,那么问题可能不在于NdisWrapper而可能是KNetworkManager.,要看KNetworkManager是不是真的问题所在,只要点击系统托盘图标并选择Quit。 一旦KNetworkManager关闭,回到命令行并输入sudo modprobe -r ndiswrapper && sudo modprobendiswrapper 并按下Enter。这会卸载NdisWrapper并重新装载程序,当重新装载完毕,再测试下您的网络连接。

Broadcom

自6.10 (Edgy Eft) 发行版,内核就包含了一些使用 bcm43xx-fwcutter 实用工具支持驱动的Broadcom 网卡,目前,没有支持那么多的网卡,不过进展仍在继续,要查看您的网卡是否被支持,请查看列表http://bcm43xx.berlios.de/?go=devices。如果您的网卡不再其中,那么请到 “NdisWrapper”一节.

首先,你需要做的是安装bcm43xx-fwcutter应用设备。若想得到更多信息,请参照Adding Applications章节。

Once you have bcm43xx-fwcutter installed you can read through a list of links to various drivers for your Broadcom device. To do this open up Konsole (Application LauncherSystemTerminal (Konsole)) and type at the prompt zless /usr/share/doc/bcm43xx-fwcutter/README.gz and press Enter. You have the choice of picking a driver from that list, driver CD, or manufacturer's website. The file you are interested in using is the bcwl5.sys file. If you have the drivers in a .zip format, unzip the files to a local directory. If the drivers are in a .exe format, you will need to install Cabextract. With Cabextract, at the command line locate the directory where you downloaded or copied the file to. Once there type at the prompt cabextract filename.exe and press Enter. This will extract the file into the directory you are in.

现在把驱动文件解压,并通过Konsole使用终端进入驱动文件所在的目录,然后使用bcm43xx-fwcutter 来安装驱动。要执行安装,在终端里执行sudo bcm43xx-fwcutter -w /lib/firmware/$(uname -r) bcwl5.sys. 你将会看到两个无关紧要的警告。如果这样做没有奏效,程序将会给出错误信息,以指明是你的驱动程序不支持你的硬件或者是驱动程序版本太老。如果是由于这些原因,你应该使用在README.gz 中列出的驱动进行试验。如果仍然存在问题,就连接到通过其他方式连接到互联网,查看下面的网页:

如果你还是存在安装驱动的问题,那你可能需要NdisWrapper

如果你顺利的进行完了驱动程序的安装,现一步则是启用您前面所创建的模块。在终端中输入sudo modprobe bcm43xx 并按下 Enter键。要查看模块是否被加载并运行请输入命令iwconfig 并按 Enter键。如果一切正常,它会返回一个界面名称,类似于ethX,其中的 X 是设备序号。如果你的系统中已经有一个安装并配置好的CAT-5网络设备,多数情况下会返回ieth1。同时测试你的设备是否可以扫描,在终端中输入sudo iwlist ethX scan 并按 Enter键。如果报告 no networks found请不要担心,您的连接很可能还在正常工作。检测一下你是否可以连接到局域网或互联网。如果一切正常,接下来你应该将模块添加到启动项中。要完成这项工作,在终端中输入sudo sh -c "echo bcm43xx >> /etc/modules" 并按下 Enter键。

上一页
下一页
起始页