WiFi
Poprzedni
Następny

WiFi

Połączenia bezprzewodowe zostały ulepszone w Kubuntu 8.04, jednakowoż ciągle istnieją użytkownicy posiadający karty, które nie są bezpośrednio wspierane. Jeżeli dopiero planujesz zakup karty bezprzewodowej, przejrzyj proszę listę wspieranych urządzeń na stronie https://help.ubuntu.com/community/WifiDocs/WirelessCardsSupported.

Jak...

...sprawdzić czy moja bezprzewodowa karta sieciowa pracuje?

Jeżeli karta zostanie wykryta, KNetworkManager doda odpowiednią pozycję do swojego menu. Możesz spróbować połączyć się z siecią klikając na ikonie w tacce systemowej i wybierając pożądaną sieć bezprzewodową. Jeżeli możesz przeglądać strony Internetowe, to znaczy że procedura zakończyła się powodzeniem.

...skonfigurować szyfrowanie takie jak WEP, czy WPA

Po prostu kliknij ikonę KNetworkManager w tacce systemowej i wybierz sieć bezprzewodową do której chcesz się podłączyć. Jeżeli wybierzesz sieć szyfrowaną, to wyskoczy odpowiedni dialog z prośbą o wprowadzenie niezbędnych informacji. Po ich wprowadzeniu, dane te będą przechowywane za pomocą narzędzia KWallet (Portfel KDE). Pozwala to na ponowne połączenie się z tą samą siecią w przyszłości poprzez proste wpisanie hasła do programu KWallet.

...sprawdzić czy mam połączenie internetowe?

Otwórz przeglądarkę Konqueror i spróbuj wejść na stronę http://www.ubuntu.com. Jeżeli operacja zakończy się powodzeniem, to połączenie internetowe działa w pełni poprawnie.

Jeżeli jednak nie uda ci się połączyć, otwórz Konsolę (Menu KDESystemKonsola - Program terminala) i wpisz ping adres_ip_bramy (w miejsce adres_ip_bramy wprowadź adres IP bramy sieciowej. Zwykle brama ma adres 192.168.1.1, ale może to być inny adres, zależnie od charakteru sieci do której podłączony jest komputer). Jeżeli brama odpowiada na żądanie ping, to prawdopodobnie występuje problem z ustawieniami serwera DNS (lub z samym serwerem). Jeżeli brama nie odpowiada na żądania ping, to występuje problem z połączeniem sieciowym.

...ustalić model bezprzewodowej karty sieciowej?

Centrum informacyjne: (Menu KDESystemCentrum informacyjne). Jest to narzędzie środowiska KDE, które dostarcza informacji o twoim komputerze. Po otworzeniu Centrum informacyjnego, wybierz w lewym panelu element o nazwie PCI. Spowoduje to wypisanie informacji na temat wszystkich urządzeń PCI. Przewiń informację w prawym panelu do momentu, aż zobaczysz wpis Network controller:. W tej sekcji znajdują się informacje o twojej bezprzewodowej karcie sieciowej.

Przy użyciu wiersza poleceń: (Menu KDESystemKonsola - Program terminala). Spowoduje to otworzenie Konsoli dając możliwość skorzystania z terminala lub wiersza poleceń. Gdy masz już dostęp do wiersza poleceń, po prostu wpisz lspci i naciśnij klawisz Enter. Odnajdź wpis Network controller: - znajdziesz tam informacje o twojej karcie bezprzewodowej.

...uzyskać więcej pomocy na temat połączeń bezprzewodowych?

Zaleca się skorzystać z innego źródła dostępu do Internetu i przeczytanie wielu tematów dotyczących połączeń bezprzewodowych. Poniższa lista zawiera parę pozycji do przejrzenia.

...zmusić moją bezprzewodową kartę marki Broadcom do pracy?

Wsparcie dla bezprzewodowych kart Broadcom jest dołączone w jądrze od wersji 2.6.17. Oznacza to tyle, że większość kart Broadcom powinna zadziałać od razu bez żadnego problemu, jakkolwiek jest kilka takich, które nadal będą sprawiały trudności. Jeżeli twoje bezprzewodowe urządzenie Broadcom nie pracuje poprawnie, to możesz skorzystać z dwóch opcji bcm43xx-fwcutter lub NdisWrapper.

Narzędzie bcm43xx-fwcutter pozwala na wybór niewielkiej liczby urządzeń, które naprawdę działają. Aby zobaczyć listę urządzeń, które są aktualnie wspierane, wejdź na stronę http://bcm43xx.berlios.de/?go=devices. Jeżeli twoje urządzenie nie znajduje się na tej liście, zaleca się skorzystanie z narzędzia NdisWrapper. Aby uzyskać więcej informacji na temat konfigurowania urządzeń z wykorzystaniem bcm43xx-fwcutter przeczytaj sekcję „Broadcom”, a na temat konfigurowania urządzeń z wykorzystaniem NdisWrapper sekcję „NdisWrapper”.

NdisWrapper

Command Line Intensive

Configuration of NdisWrapper is command line intensive. There are currently no graphical clients to aide in this configuration. Even though it is command line oriented, the instructions are easy to follow.

Platformy sprzętowe

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 right 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.

If everything went well then the final step would be to load the NdisWrapper module by default. To do this simple type sudo sh -c "echo ndiswrapper >> /etc/modules" and press Enter. This will automatically start NdisWrapper at boot time.

If everything didn't go so well, the issue may not be with NdisWrapper but possibly with KNetworkManager. To see if in fact that KNetworkManager was at fault, simply click the system tray icon and select Quit. Once KNetworkManager has closed, go back to the command line and type sudo modprobe -r ndiswrapper && sudo modprobe ndiswrapper and press Enter. This will unload NdisWrapper and then reload it. After you have reloaded it, test your network and/or Internet connection again.

Broadcom

Since the 6.10 (Edgy Eft) release, the kernel has included driver support for some Broadcom cards utilizing the bcm43xx-fwcutter utility. Currently there are not that many supported cards, however development continues. To see if your card is supported please review the list at http://bcm43xx.berlios.de/?go=devices. If your card is not included in the list, then refer to „NdisWrapper”.

To get started, the first thing you will need to do is install the bcm43xx-fwcutter utility. For more information on installing extra applications, please refer to the Adding Applications section.

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 (KMenuSystemKonsole - Terminal Program) 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.

Poprzedni
Następny
Spis treści