在Kubuntu8.04中无线网络已经的到了改善,但是一些无线网卡对于某些用户仍然存在一些问题。如果你目前没有无线网卡,请访问https://help.ubuntu.com/community/WifiDocs/WirelessCardsSupported查看可支持的硬件.
如果您的无线网卡检测得到,KNetworkManager会有一个目录列出您的无线设备,然后您可以尝试点击系统托盘图标并选择您的无线网络来连接。如果您能够通过网页浏览器来浏览的话,那么您成功的连接上了因特网。
通过KNetworkManager,你只需点击系统托盘中的应用程序图标,并选择你想要连接的无线网络。当你点击允许加密的网络时,将会出现一个pop-up对话框来输入该信息。输入后,该信息就被保存在KWallet工具里。将来你就可以通过输入KWallet密码来连接到该网络。
Open up Konqueror, and try to browse to http://www.ubuntu.com. If this worked, you have a fully working internet connection.
如果以上都不起作用,打开Konsole( → → )键入ping gateway_ip_address
(用你的网络网关的IP地址替换‘gateway_ip_address’。网关地址通常是 192.168.1.1, 但也会因你所在的网络而异)。如果你能Ping通网关,问题可能就是DNS设置不正确。如果你不能Ping通网关,你可能还不具备一个有效的互联网连接。
KInfoCenter: ( → → ) A KDE utility that provides information about your computer system. Once KInfoCenter is opened, select PCI from the left hand window. This will display all of the PCI information about your system. Scroll down until you see Network controller:. This will provide information about your wireless adapter.
Command line: ( → → ) 。这会打开Konsole并提供您一个终端或者说命令行界面,一旦您在命令行下输入lspci
并按下 Enter 键,Network controller:这一行将会显示出您无线网络适配器的信息
It is recommended that you use another connection source to the Internet and read through the many topics for wireless connections. The following are just a couple locations to review.
自2.6.17版的内核就开始对Broadcom无线设备提供支持,这意味着一部分 Broadcom 设备没有被包含在内,然而,仍然有一些设备不能被支持,如果您的 Broadcom 无线设备没有工作,那么您有两种选择:bcm43xx-fwcutter或者NdisWrapper。
bcm43xx-fwcutter实用工具只有很小一部分设备可以实际运行,要查看当前支持的设备,请回顾http://bcm43xx.berlios.de/?go=devices。如果您的设备没有被支持,那么建议您使用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
格式,使用 或者点击文件从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并重新装载程序,当重新装载完毕,再测试下您的网络连接。
自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 ( → → ) 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.
Now that you have the driver files extracted, navigate with
Konsole to the directory with the driver files. Next
you will use the bcm43xx-fwcutter utility to install
the drivers. To do so, at the prompt type sudo bcm43xx-fwcutter -w
/lib/firmware/$(uname -r) bcwl5.sys
. You may receive a couple of
warnings which are nothing to worry about. If it didn't work, it will provide
an error that states either driver isn't supported or the driver is to old. If
this is the case, you would repeat this step using one of the drivers from the
list in the README.gz
file shown above. If you continue to
have issues, connect to the Internet with another source and review the
following sites:
If you continue to have issues with loading the drivers, then you may need to use the NdisWrapper utility.
Now if you went through the driver installation without any major errors or
issues, the next step would be to load the new module you created in the
previous step. At the command line type sudo modprobe
bcm43xx
and press Enter. To see if the module
loaded and is working, at the prompt type iwconfig
and
press Enter. If it works it should return the name of the
interface as ethX where X is the number of the device. In
most cases it may be eth1 if you have a
CAT-5 Ethernet device already installed and configured. Also
to test and see if your device can scan, at the command prompt type
sudo iwlist ethX scan
and press Enter.
Don't worry if it reports no networks found as your
connection may still be working. Test and see if you can connect to your
network and the Internet. If everything has worked then you will want to add
the module so it will load at boot. To do so, at the command prompt type
sudo sh -c "echo bcm43xx >> /etc/modules"
and press
Enter.