Wireless networking has gotten better with Kubuntu 7.10, 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.
Používáte-li KNetworkManager, jednoduše kliknete na ikonu aplikace v oznamovací oblasti a vyberete si bezdrátovou síť, ke které se chcete připojit. Pokud zvolíte síť vyžadující šifrování, zobrazí se dialogové okno pro jeho nastavení. Jakmile tyto informace zadáte, uloží se v aplikaci KWallet. To vám umožní připojit se k vybrané síti okamžitě po zadání hesla 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 being correctly. If you are not able to ping the gateway,
then you donot 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 „Broadcom“ and for configuring your device with NdisWrapper utility please see „NdisWrapper“.
Konfigurace NdisWrapper vyžaduje použití příkazové řádky. V současné době není k dispozici žádné grafické rozhraní, i přesto je však nastavení jednoduše proveditelné i pomocí příkazové řádky.
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.
Jestliže je všechno v pořádku, posledním krokem bude nastavit spuštění modulu NdisWrapper. Napište sudo sh -c "echo ndiswrapper >> /etc/modules"
a stiskněte Enter. Tím se po spuštění počítače automaticky aktivuje NdisWrapper.
Pokud nebylo všechno úplně v pořádku, problém nemusí být v NdisWrapper, ale možná spíše v KNetworkManager. Abyste se přesvědčili, zda je chyba v KNetworkManager, klikněte na ikonu v oznamovací části panelu a vyberte Ukončit. Jakmile se KNetworkManager ukončí, vraťte se do příkazové řádky, zadejte sudo modprobe -r ndiswrapper && sudo modprobe
ndiswrapper
a stiskněte Enter. Tím ukončíte a znovu nahrajete NdisWrapper. Poté znovu otestujte připojení k síti nebo internetu.
Od verze 6.10 (Edgy Eft) podporuje jádro některé karty Broadcom díky utilitě bcm43xx-fwcutter. V současnosti není množství podporovaných karet příliš velké, nicméně vývoj nadále pokračuje. Abyste zjistili, jestli je vaše karta podporovaná, prosím zkontrolujte seznam na http://bcm43xx.berlios.de/?go=devices. Pokud vaše karta v seznamu chybí, použijte návod „NdisWrapper“.
Abyste mohli začít, nejprve si nainstalujte bcm43xx-fwcutter. Více informací o instalaci dodatečných aplikací naleznete v oddílu Přidávání aplikací.
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.
Jakmile jste rozbalili soubor s ovladači, přepněte se v Konsoli do adresáře s rozbalenými soubory. Pak použijte bcm43xx-fwcutter k jejich instalaci, tím že v příkazové řádce zadáte příkaz sudo bcm43xx-fwcutter -w
/lib/firmware/$(uname -r) bcwl5.sys
. Může se stát, že se zobrazí pár varování, ale s tím si nemusíte dělat starosti. Pokud dojde k nějaké chybě, bude to tím, že buď není ovladač podporován, nebo je příliš starý. V tomto případě zopakujte výše uvedený krok výběru ovladačů ze seznamu v souboru README.gz
. Jestliže se i s dalšími pokusy budou vyskytovat stejné problémy, připojte se k internetu a podívejte se na následující adresy:
. Pokud se vám instalace ovladačů nebude nadále dařit, bude zřejmě nutné použít NdisWrapper.
Jestliže se během instalace ovladačů nevyskytly žádné větší problémy, dalším krokem bude nahrát nový modul vytvořený v předchozím kroku. V příkazové řádce zapište sudo modprobe
bcm43xx
a stiskněte Enter. Abyste se přesvědčili, že je modul nahraný a funkční, napište iwconfig
a stiskněte Enter. Pokud vše funguje, měl by se zobrazit název zařízení ethX, kde písmeno X označuje číslo zařízení. Ve většině případů bude označeno názvem eth1, pokud máte ethernetový adaptér CAT-5 již nainstalovaný a nastavený. Chcete-li zkontrolovat, zda vaše zařízení umí prohledávat dostupné sítě, napište na příkazové řádce sudo iwlist ethX scan
a stiskněte Enter. Nedělejte si starosti, zobrazí-li se zpráva no networks found (nebyly nalezeny žádné sítě), protože i tak může být vaše připojení funkční. Ověřte, můžete-li se připojit k síti nebo internetu. Pokud je vše v pořádku, budete chtít nastavit, aby se tento modul automaticky nahrál při spuštění počítače. V příkazovém řádku napište sudo sh -c "echo bcm43xx >> /etc/modules"
a stiskněte Enter.