Wireless networking has gotten better with Kubuntu 8.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.
If your wireless card has been detected, KNetworkManager will have a menu entry listing your wireless device. You can attempt to connect to your wireless network by clicking on the System Tray icon and selecting your wireless network. If you are able to browse the network with the a web browser, you have successfully connected to the internet.
Với KNetworkManager, bạn chỉ cần nhấn vào biểu tượng của ứng dụng trên khay hệ thống và chọn mạng không dây bạn muốn kết nối. Khi chọn mạng với mã hóa được bật, một hộp thoại sẽ bật lên để bạn nhập thông tin. Sau khi nhập vào, thông tin này sẽ được lưu bởi tiện ích KWallet. Tiện ích này giúp bạn có thể kết nối lại vào mạng trong những lần sau chỉ với một thao tác nhập mật khẩu cho KWallet.
Open up Konqueror, and try to browse to http://www.ubuntu.com. If this worked, you have a fully working internet connection.
If the above did not work, open up 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.
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: ( → → ) 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.
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.
Since kernel version 2.6.17, support for Broadcom wireless devices were included. This means that there are some Broadcom devices that work out of the box, however there are still many that don't. If your Broadcom wireless device isn't working then you have two choices; bcm43xx-fwcutter or NdisWrapper.
With the bcm43xx-fwcutter utility there are only a select few devices that actually work. To see the devices that are currently supported please review http://bcm43xx.berlios.de/?go=devices. If your device is not supported then it is advised that you use the NdisWrapper utility. For information on configuring your device with the bcm43xx-fwcutter utility please see phần “Broadcom” and for configuring your device with NdisWrapper utility please see phần “NdisWrapper”.
Cấu hình cho NdisWrapper đòi hỏi các lệnh nâng cao. Hiện chưa có trình điều khiển đồ họa nào để trợ giúp việc cấu hình này. Dù là chế độ dòng lệnh, các chỉ dẫn sau khá dễ dàng để làm theo.
This method is only supported for users of the Intel and AMD platforms. Users of older iBooks and Powerbooks cannot use this method. However, users of MacBooks (Intel based) should be able to use this method.
NdisWrapper is considered the wireless fix-all for Linux. A great percentage of wireless adapters that are not supported natively or with other utilities are supported with NdisWrapper. Install ndiswrapper by using Adept. If you are uncomfortable with installation practices then it is advised that you review the Adding Applications document.
Once you have installed NdisWrapper,
locate the Windows drivers either on a CD or the
Internet. Drivers for Windows XP are preferred, however Windows 2000 drivers
will usually work just as well. Once you have located the CD or the drivers on
the Internet, copy them to a local folder on your system. In
some instances, you may have your drivers in a driver.zip
or a driver.exe
file. If it the file is in a
.zip
format, unzip the file by either
clicking on the file and selecting
Extract from the pop-up menu. If the file is in a
.exe
format, then install the
cabextract utility and open up
Konsole to navigate the correct directory. Once you
have navigated to the directory storing the .exe
file,
type cabextract filename.exe
. This will extract or
unzip the file to the directory you are in. The driver will be in the
.inf
format, so what you will want to do is type
sudo ndiswrapper -i filename.inf
and press
Enter. If successful you shouldn't receive any errors. This
command has gone ahead and loaded or installed the drivers in the
NdisWrapper module. To see if these drivers worked,
simply type sudo modprobe ndiswrapper
and press
Enter. Test to see if you have a network and/or Internet
connection.
Nếu mọi việc suôn sẻ, bước tiếp theo sẽ là tải module NdisWrapper mặc định. Để thực hiện, gõ lệnh sudo sh -c "echo ndiswrapper >> /etc/modules"
và nhấn Enter. NdisWrapper sẽ tự động được nạp trong mỗi lần khởi động hệ thống.
Nếu vẫn chưa kết nối được, có thể lỗi không do NdisWrapper mà là từ KNetworkManager. Để xem lỗi có xuất phát từ KNetworkManager, nhấn vào biểu tượng của ứng dụng trên khay biểu tượng và chọn Thoát. Sau khi KNetworkManager đã đóng lại, quay lại cửa sổ dòng lệnh và gõ vào sudo modprobe -r ndiswrapper && sudo modprobe
ndiswrapper
và nhấn phím Enter. Lệnh này sẽ gỡ bỏ và sau đó nạp lại NdisWrapper vào bộ nhớ. Sau khi đã nạp lại, kiểm tra kết nối mạng và/hoặc Internet lại lần nữa.
Kể từ phiên bản 6.10 (Edgy Eft), kernel đã thêm vào hỗ trợ cho một số card điều khiển của Broadcom bằng cách dùng tiện ích bcm43xx-fwcutter. Hiện tại chưa có nhiều card được hỗ trợ, tuy nhiên việc phát triển đang được tiếp tục. Để kiểm tra card điều khiển của bạn có được hỗ trợ không, vui lòng xem tại http://bcm43xx.berlios.de/?go=devices. Nếu card của bạn không có trong danh sách,hãy tham khảo tại phần “NdisWrapper”.
Để bắt đầu, điều trước tiên bạn cần phải cài đặt tiện ích bcm43xx-fwcutter. Để có thêm thông tin về cài đặt thêm các ứng dụng, vui lòng tham khảo phần Thêm Ứng dụng.
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.
Sau khi đã giải nén các tập tin chứa trình điều khiển, dùng trình Konsole chuyển đến thư mục chứa các tập tin này. Tiếp đó dùng tiện ích bcm43xx-fwcutter để cài đặt. Để thực hiện, tại dấu nhắc lệnh gõ vào sudo bcm43xx-fwcutter -w
/lib/firmware/$(uname -r) bcwl5.sys
. Bạn có thể nhận được một vài cảnh báo không quan trọng. Nếu không cài đặt được, tiện ích sẽ chỉ ra lỗi là do trình điều khiển không được hỗ trợ hay do đã quá cũ. Trong trường hợp này, bạn cần lặp lại bước này với một trong các trình điều khiển khác từ danh sách liệt kê trong tập tin README.gz
bên trên. Nếu vẫn gặp vấn đề, kết nối vào Internet bằng cách khác và xem lại trong các website sau:
. Nếu vẫn tiếp tục gặp vấn đề nạp trình điều khiển, bạn có thể thử dùng tiện ích NdisWrapper.
Lúc này nếu bạn không còn gặp vấn đề gì trong suốt quá trình cài đặt trình điều khiển, bước tiếp theo sẽ là nạp module mới mà bạn đã tạo ở bước trước đó. Tại dấu nhắc lệnh gõ vào sudo modprobe
bcm43xx
và nhấn Enter. Để kiểm tra xem module đã được nạp và hoạt động, tại dấu nhắc lệnh gõ vào iwconfig
và nhấn Enter. Nếu module hoạt động, lệnh này sẽ trả về tên của giao tiếp có dạng ethX, với X là số của thiết bị. Trong hầu hết trường hợp, đó sẽ là eth1 nếu bạn đã có một thiết bị Ethernet CAT-5 được cài đặt và cấu hình. Để kiểm tra xem thiết bị có thể quét mạng hay không, tại dấu nhắc lệnh gõ vào sudo iwlist ethX scan
và nhấn Enter. Đừng lo lắng nếu lệnh này trả về thông báo không tìm thấy mạng nào vì kết nối của bạn vẫn có thể hoạt động bình thường. Kiểm tra xem bạn có thể kết nối vào mạng và vào Internet không. Nếu mọi thứ đã hoạt động, bạn sẽ muốn module này được nạp ngay trong quá trình khởi động. Để thực hiện, tại dấu nhắc lệnh gõ lệnh sudo sh -c "echo bcm43xx >> /etc/modules"
và nhắc Enter.