Narzędzia użytkownika

Narzędzia witryny


pl:compatible_cards

To jest stara wersja strony!


Poradnik: Czy moja karta bezprzewodowa jest kompatybilna?

Wersja: 1.07 17 maja 2009
Autor: darkAudax

Wstęp

Często zadawanym pytaniem jest „Mam taką i taką kartę bezprzewodową, czy jest ona kompatybilna z Aircrack-ng?” lub „Jaką kartę powinienem kupić?”, a także „Czy moja karta wspiera packet injection?” i podobne. Poradnik ten ma za zadanie odpowiedzieć na te pytania.

Znalezienie odpowiedzi na te pytania wymaga też współpracy z Twojej strony. Nie jest to tak proste, jak zgłoszenie swojej wątpliwości na forum i czekanie na odpowiedź. Jeśli nie odrobisz swojej pracy domowej, nie zostanie Ci zaoferowana żadna pomoc. Z drugiej strony, jeśli odrobiłeś ją poprawnie, ludzie bardzo chętnie Ci pomogą.

Jeśli dopiero planujesz kupno karty bezprzewodowej, najłatwiej po prostu wybrać jedną z listy kompatybilnych kart. Jeśli wiesz już, jaką zamierzasz kupić (bądź już jakąś masz) to możesz użyć tego poradnika aby dowiedzieć się, czy jest ona kompatybilna.

Inna sprawa jest taka, że istnieje bardzo wiele kart, których jeszcze nie ma na liście kompatybilnych. Jeśli udało Ci się uruchomić aircrack'a jakąś kartą, proszę, abyś umieścił odpowiedniego posta na forum. Jest to jedyny sposób w jaki możemy powiększać tą listę. W swoim poście umieść informację o producencie, modelu, wersji karty (jeśli takowa istnieje - bardzo ważne szczególnie przy kartach firmy Linksys), chipset karty oraz użytych sterownikach.

Zajmijmy się jednak naszym zadaniem. Kroki w celu jego wykonania będą następujące :

  1. Określenie własnych wymagań i oczekiwań
  2. Wykrycie podstawowych właściwości karty
  3. Odkrycie chipsetu karty
  4. Zweryfikowanie możliwości chipsetu
  5. Określenie potrzebnych sterowników i ewentualnych modyfikacji
  6. Wybór karty

Określenie własnych wymagań i oczekiwań

Na początku musisz zdecydować, czy chcesz tylko zbierać pakiety, czy chcesz mieć także możliwość ich wstrzykiwania. Ważne jest, aby zdawać sobie sprawę, że Windows aktualnie potrafi tylko zbierać pakiety, które już są w sieci. Nie jest on w stanie ich w jakikolwiek sposób wstrzykiwać. Jest to jednym z podstawowych ograniczeń. O wiele mniej kart jest także kompatybilnych z tym systemem.

W zależności od karty i jej chipsetu, Linux umożliwia zarówno zbieranie pakietów, jak też ich wstrzykiwanie.

Powinieneś teraz już wiedzieć :

  • którego systemu operacyjnego zamierzasz używać
  • jaki typ sprzętu jest dla Ciebie wygodniejszy (PCI, PCMCIA, USB, itp.)
  • których możliwości potrzebujesz (nasłuchiwanie, wstrzykiwanie)

Rzeczy te będą wyznacznikami w dalszej części poradnika.

Wykrycie podstawowych właściwości karty

Z kartą bezprzewodową zawsze związanych jest dwóch producentów. Jeden z nich zajmuje się produkcją faktycznej karty. Przykładami takich producentów są takie firmy, jak na przykład Netgear, Ubiquiti, Linksys czy D-Link. Poza tymi istnieje oczywiście wiele innych.

Drugim producentem jest ten, który zajmuje się produkcją chipsetu znajdującego się wewnątrz karty. Jest to - jeśli chodzi o karty bezprzewodowe - ważniejszy z producentów. Niestety, czasami bardzo trudno do niego dojść. Dzieje się tak dlatego, że producenci kart nie zawsze chcą ujawniać, czego używają wewnątrz swoich produktów. Dla naszych celów jednak, poznanie producenta chipsetu jest najważniejsze, jako że daje nam możliwość dowiedzenia się, na jakich systemach operacyjnych chipset ten jest najlepiej wspierany, jakich sterowników potrzebuje i jakie ewentualne ograniczenia związane są z jego używaniem.

Bardzo ważnym jest uświadomienie sobie różnicy między tymi dwoma producentami. Sama informacja dotycząca producenta i modelu naszej karty nie jest wystarczająca, aby iść dalej. Czego naprawdę musimy się dowiedzieć to producent chipsetu (i jego model). Następny krok opisuje, jak dowiedzieć się, jaki chipset znajduje się w środku Twojej karty.

Odkrycie chipsetu karty

Jest to najtrudniejsza część poradnika. Powiem z miejsca, że - aby osiągnąć sukces - tutaj musisz się naprawdę postarać. Jeśli Twoja karta znajduje się na liście kompatybilnych kart, to już wszystko wiesz i tą sekcję możesz pominąć.

Jeśli jednak tak nie jest, musisz dojść do tego, jaki chipset znajduje się w Twojej karcie. Można to osiągnąć na kilka różnych sposobów :

  • Przeszukaj Internet wpisując w wyszukiwarkach „<model karty> chipset” lub „<model karty> linux”. Całkiem często w ten sposób można znaleźć informacje na temat chipsetu, którego używa karta wraz z doświadczeniami innych ludzi. Jest to najłatwiejszy i z reguły najbardziej efektywny sposób szukania chipsetu karty. Sprawdź jednak parę wyników wyszukiwania aby upewnić się, że są one spójne.
  • Przeszukaj forum
  • Możesz także zerknąć na nazwy sterowników w Windowsie, czasami zawierają one producenta i model chipsetu.
  • Sprawdź stronę producenta karty. Niektórzy zamieszczają informację na temat chipsetu danej karty.
  • Na niektórych kartach PCI chipset jest fizycznie widoczny. Poszukaj producenta takiego jak Atheros, Texas Instruments, bądź innych. Czasami na chipsecie widoczny jest też jego model.
  • Wszystkie urządzenia bezprzewodowe sprzedawane w Stanach Zjednoczonych muszą być zatwierdzone przez FCC. Te same urządzenia są z reguły sprzedawane na całym świecie. Jeśli zostały one zatwierdzone, to muszą mieć na swojej płycie numer identyfikacyjny FCC. Jeśli masz ten numer, możesz po prostu użyć wyszukiwarki FCC ID aby znaleźć szczegółowe informacje o urządzeniu. Wyszukiwanie to zwróci Ci producenta, model karty oraz bardzo często producenta i model chipsetu.

Oto lista innych źródeł, które mogą być pomocne w określaniu chipsetu Twojej karty :

Card manufacturers add to the confusion by keeping the same card model number yet changing the chipset inside them. This is where you will hear the term „card revision” or „card version”. D-Link seems to do this a lot. So first determine if this applies to your card. The version is typically found stamped on the card and located near the serial number or MAC addess. See this D-Link page for an example of the same card with different revisions.

So when you are determining the chipset for your card, make sure to include the revision/version when doing a search. For example, search for „DWL-G650 C1 chipset” and not just „DWL-G650”. The revision/version is extremely important.

If you are running linux, there are a variety of methods to obtain card information and possibly determine the chipset. Here are some methods:

  • The „dmesg” command can quite often contain detailed messages indicating what card was detected and the chipset.
  • If the card is an ISA card, you are usually out of luck.
  • If the card is a PCI card, you need to use the command „lspci -nn” to display the card identification strings. In some cases, such as on cards with Broadcom chipsets, this alone can reveal the chipset. The „-nn” should cause the PCI ID to be displayed. An example of what a PCI ID looks like is „168c:0013” for an Atheros chipset card. Once you have the PCI ID, there are many Internet sites to do lookups. Some sites are http://pciids.sourceforge.net/ or http://www.pcidatabase.com/. You can find other lookup sites by search for „PCI ID”. As well, the kernel modules required and in use are displayed. This can be very helpful in identifying the chipset.
  • If the hardware is a USB dongle, you need to use the command „lsusb” to display the dongle identification strings. In some case, „lsusb” doesn't work (for example if usbfs is not mounted), and you can get the identification strings from the kernel log using „dmesg” (or in /var/log/messages).
  • If the card is a Cardbus card (32 bits Pcmcia), and if you are using a relatively new kernel (2.4.X or above) with the kernel Pcmcia subsystem, you need to use the command „lspci -nn” to display the card identification strings. If the card is a Cardbus card (32 bits Pcmcia), and if you are using an older kernel with the standalone Pcmcia subsystem, you need to use the command „cardctl ident” display the card identification strings. Try both and see what comes out.
  • If the card is a true Pcmcia card (16 bits), and if you are using kernel 2.6.14 or later, you need to use the command „pccardctl ident” to display the card identification strings. If the card is a true Pcmcia card (16 bits), and if you are using an older kernel, you need to use the command „cardctl ident” display the card identification strings. Note that cardmgr will also write some identification strings in the message logs (/var/log/daemon.log) that may be different from the real card identification strings.
  • The „lsmod” command can be used to see the loaded modules. If the wireless card was auto-detected then you can sometimes work backwards based on the loaded modules to determine the chipset.

Even if you are running Windows, you can boot from a live distro and use the linux techniques above.

In a Windows environment, try hardware analysis tools such HWiNFO to obtain the chipset information.

If you are unable to determine which chipset your card has, then you are out of luck. Your options are to purchase a card from the compatible list or to research and identify a card which matches your criteria then purchase it.

Once you know the chipset, then proceed to the next step.

Verify the chipset capabilities

Using the Compatibily Section determine what features the chipset provides for the particular operating system that you will be using.

If this matches your requirements, great. If not, the consider using another operating system or using a different card.

If your prime operating system is Windows, and you like the linux features, consider using a live linux distro. This way you have the best of both worlds.

Proceed to the next step of determining the drivers and patches required.

Determine the drivers and patches required

Using the Drivers Section you can now determine the drivers required for your chipset and your operating system. The web site has links to the software required.

For linux, generally, you need to patch the drivers in order to get the advanced features such as monitor mode and injection capability. Most patches can be found here. Remember you will need to have the kernel headers and, in some cases, the kernel sources on your system prior to compiling the drivers.

This tutorial will not be providing detailed instructions on how to patch your system.

If you don't have the skills or experience to patch your system, consider using a live linux distro such as BackTrack which already has all the patched drivers.

Select a card

Conversely, if you know what chipset provides the features you want, you can use the Compatible card list to find a card that uses that particular chipset.

As well, this tutorial will have given you the knowledge to determine if a particular card you are considering purchasing will provide you the features you want.

pl/compatible_cards.1250038720.txt.gz · ostatnio zmienione: 2009/08/12 02:58 przez xavery