Differences between revisions 106 and 107
Revision 106 as of 2009-01-08 17:16:57
Size: 11630
Editor: GeoffSimmons
Comment: Add atmel_cs and atmel_pci help pages.
Revision 107 as of 2009-01-09 15:55:49
Size: 11910
Editor: GeoffSimmons
Comment: Add rt61pci help page, attempt at rephrasing English intro, minor amendments.
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
||<tablestyle="width: 100%;" style="border: 0px hidden">~-Translation(s): [:fr/WiFi:Français]-~ ||<style="text-align: right; border: 0px hidden"> (!) [:/Discussion:Discussion]refer|| ||<tablestyle="width: 100%;" style="border: 0px hidden">~-Translation(s): [:fr/WiFi:Français]-~ ||<style="text-align: right; border: 0px hidden"> (!) [:/Discussion:Discussion]||
Line 5: Line 5:
||<style="border: 0px hidden">~+ attachment:Portal/IDB/logo_portal.png Welcome on ["Debian"] '''Wi'''reless '''Fi'''delity+~ || ||<style="border: 0px hidden">~+ attachment:Portal/IDB/logo_portal.png Welcome to ["Debian"] '''Wi'''reless '''Fi'''delity+~ ||
Line 8: Line 8:
attachment:Portal/IDB/icon-wifi-32x32.png This portal deals with the hardware installation of Wi-Fi cards in general. The installation of a card is essentially two steps that are installing the driver (also called the driver or module), and setting up your WiFi network.

Be aware that a WiFi base are operating on an electronic chip called Chipset. We can find the same chip in several different cards. Consequently, the pilot manages this chipset will be the same for all these cards Wifi.

A WiFi interface is an Ethernet interface that also gives access to the configuration parameters peculiar to the Wi-Fi. These parameters are controlled using the ["iwconfig"] program.
attachment:Portal/IDB/icon-wifi-32x32.png This portal deals with the installation and configuration of WiFi devices. Device installation is essentially a two-part process: 1) installing the driver (also called a module) and 2) setting up your WiFi interface.

A WiFi device operates on an electronic chip called a "chipset". We can find the same chipset in several different devices. Consequently, the driver/module for one chipset will work for all wireless devices using that chipset.

A WiFi interface is an Ethernet interface which also provides WiFi-specific configuration parameters. These parameters are controlled using the ["iwconfig"] program.
Line 61: Line 61:
||rt2500 ||!RaLink RT2500 chipsets|| ||["rt2500"] ||? || ||rt2500 ||Ralink RT2500 chipsets|| ||["rt2500"] ||? ||
||rt61pci ||Ralink chipsets (RT2501/2561, RT2600/RT2661)|| ||["rt61pci"] || X-( ||
Line 82: Line 83:
||rt73 || Asus WL-167g v2 ||0b05:1723 ||["WiFi/rt73"] || X-( ||
||rtl8187 ||["rtl8187"] ||? ||? ||? ||
||rt73[[BR]]rt73usb ||Ralink chipsets (RT2501USB/RT2571W) ||? ||["WiFi/rt73"] || X-( ||
||rtl8180 ||Realtek chipsets (RTL8180, RTL8185) ||? ||["rtl818x"] || {OK} ||
||rtl8187 ||Realtek chipsets (RTL8187, RTL8187B) ||? ||["rtl818x"] || {OK} ||
Line 100: Line 102:
||prism54 ||Prism GT [[BR]] Netgear WG511 [[BR]] D-Links DWL-g650 ||["DebFrWifi/prism54"] ||? ||
Line 101: Line 104:
||rt61pci ||Ralink chipsets (RT2501/2561, RT2600/RT2661) ||["rt61pci"] || X-( ||
Line 104: Line 108:
||prism54 ||Prism GT [[BR]] Netgear WG511 [[BR]] D-Links DWL-g650 ||["DebFrWifi/prism54"] ||? ||

Translation(s): [:fr/WiFi:Français]

(!) [:/Discussion:Discussion]

?BR

http://www.debian.org/logos/openlogo-nd-50.png http://www.debian.org/Pics/debian.png

attachment:Portal/IDB/logo_portal.png Welcome to ["Debian"] Wireless Fidelity


attachment:Portal/IDB/icon-wifi-32x32.png This portal deals with the installation and configuration of WiFi devices. Device installation is essentially a two-part process: 1) installing the driver (also called a module) and 2) setting up your WiFi interface.

A WiFi device operates on an electronic chip called a "chipset". We can find the same chipset in several different devices. Consequently, the driver/module for one chipset will work for all wireless devices using that chipset.

A WiFi interface is an Ethernet interface which also provides WiFi-specific configuration parameters. These parameters are controlled using the ["iwconfig"] program.

inline:Portal/IDB/official-doc.png

[http://www.debian.org/doc/manuals/reference/ch-gateway www.debian.org/doc/manuals/reference/ch-gateway] - Debian Reference Networking Chapter

  • ?TableOfContents(3)

Tools prerequisites

  • wireless-tools, tools for manipulating Linux Wireless Extensions (installed by default on Desktop & Laptop installation)

  • For system with GUI: NetworkManager (installed by default on Gnome-Desktop & Laptop installation)

  • wpasupplicant, client support for ["WPA"] and WPA2 networks

Install Driver

Before you buy, you would check the list of hardware with Linux driver (or check for the Linux logo in the box of the WiFi card).

This section presents a list of WiFi cards sorted by manufacturer. It will show you the documentation page of the chip and thus its pilot. We recommend that you retrieve information identifying material.

This list consists of two elements: the device name and the hardware ID. The list is categorized alphabetically by the manufacturer's name and the name of your card.

See [http://cateee.net/lkddb/ the Linux Kernel Driver DataBase] for hardware and protocols know by the Linux ["Kernel"]

PCI Cards

This information is derived from command:

lspci -nn

See ["HowToIdentifyADevice/PCI"] for more information

module name

Device name(s)

ID

help page

free ([#legend ?])

airo

["airo"]

?

arlan

["arlan"]

?

ath_pci

Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)

168c:0013

[:WiFi/ath_pci:ath_pci]

X-(

ath_pci

Netgear WG311T

[:WiFi/ath_pci:ath_pci]

X-(

atmel_pci

Atmel at76c506 chipset

["atmel pci"]

X-(

b43

Broadcom Wireless (kernels >= 2.6.24)

["bcm43xx"]

X-(

bcm43xx

Broadcom Wireless (4311,4312,4318)

["bcm43xx"]

X-(

hermes

["orinoco"]

?

hostap

[http://w1.fi/ hostap]

?

hostap_pci

[http://w1.fi/ hostap pci]

?

hostap_plx

[http://w1.fi/ hostap plx]

?

ipw2100

Intel Pro wireless 2100

similar to ["ipw2200"]

X-(

ipw2200

Intel Pro wireless 2200 ?BRIntel Pro wireless 2915

["ipw2200"]

X-(

ipw3945

Intel Pro wireless

["ipw3945"]

X-(

iwl3945 ?BR iwl4965

Intel Pro wireless 3945 ?BR Intel wireless 4965

["iwlwifi"]

X-(

iwlagn

Intel Wireless WiFi Link 5100 ?BR Intel PRO/Wireless 5300 AGN ?BR Intel PRO/Wireless 5350 AGN

["iwlagn"]

X-(

orinoco

[http://orinoco.nongnu.org/ orinoco]

(./)

orinoco_nortel

[http://orinoco.nongnu.org/ orinoco]

?

orinoco_pci

[http://orinoco.nongnu.org/ orinoco]

?

orinoco_plx

[http://orinoco.nongnu.org/ orinoco]

?

orinoco_tmd

[http://orinoco.nongnu.org/ orinoco]

?

rt2500

Ralink RT2500 chipsets

["rt2500"]

?

rt61pci

Ralink chipsets (RT2501/2561, RT2600/RT2661)

["rt61pci"]

X-(

strip

["strip"]

?

wavelan

["wavelan"]

?

?Anchor(legend) Legend :?BR {OK} = OK ; {X} Unsupported(No Driver) ; /!\ = Error (Couldn't get it working); [?] Unknown, Not Test ; [-] Not-applicable ?BR {i} = Configuration Required; X-( = Only works with a proprietary driver

  • An extended list of PCI-IDs to kernel-module mapping is available at ["DeviceDatabase/PCI"].

USB Cards

This information is derived from command:

lsusb

See ["HowToIdentifyADevice/USB"] for more information

module name

Device name(s)

ID

help page

free ([#legend ?])

at76_usb

Atmel chipsets (at76c503, at76c505, at76c505a)

?

["at76_usb"]

X-(

prism2_usb

Netgear MA111

?

?

?

rndis_wlan

Broadcom 4320 chipset

?

["bcm43xx"]

{OK}

rt73?BRrt73usb

Ralink chipsets (RT2501USB/RT2571W)

?

["WiFi/rt73"]

X-(

rtl8180

Realtek chipsets (RTL8180, RTL8185)

?

["rtl818x"]

{OK}

rtl8187

Realtek chipsets (RTL8187, RTL8187B)

?

["rtl818x"]

{OK}

usb8xxx

["libertas/usb8xxx"]

?

?

?

zd1201

ZyDAS ZD1201 chipset

?

["zd1201"]

X-(

zd1211rw

ZyDAS ZD1211/1211B and Atheros AR5007UG chipsets

?

["zd1211rw"]

X-(

  • An extended list of USB-IDs to kernel-module mapping is available at ["DeviceDatabase/USB"].

PCMCIA Cards

See ["HowToIdentifyADevice/PCMCIA"] for more information

module name

Device name(s)

help page

free ([#legend ?])

airo_cs

[:airo#cs:airo_cs]

?

atmel_cs

Atmel chipsets (at76c502x, at76c504x)

["atmel_cs"]

X-(

hostap_cs

["hostap cs"]

?

netwave_cs

["netwave cs"]

?

orinoco_cs

Compac WL110

["orinoco"]

?

prism54

Prism GT ?BR Netgear WG511 ?BR D-Links DWL-g650

["DebFrWifi/prism54"]

?

ray_cs

["ray cs"]

?

rt61pci

Ralink chipsets (RT2501/2561, RT2600/RT2661)

["rt61pci"]

X-(

spectrum_cs

["spectrum/cs"]

?

wavelan_cs

["wavelan/cs"]

?

wl3501_cs

["wl3501/cs"]

?

Routers

module name

Device name(s)

help page

free ([#legend ?])

[http://www.airlink101.com/support/files/AR525W_GPL_v1.0.38_20051222.tgz source code]

["Linksys WRT54GC"]

[http://en.wikipedia.org/wiki/Linksys_WRT54G_series Wikipedia]; [http://www.wrtrouters.com/router/wrt54gc/ it isn't similar to the WRT54G]; The WRT54GC is based on the Sercomm IP806SM reference design [http://elliottback.com/wp/archives/2005/12/10/the-linksys-54gc-dead-on-arrival-twice/ the same chipset as the current Linksys WTY54G] the [http://linuxdevices.com/news/NS7186776945.html Airlink101 AR315W], Alloy WRT2454AP, and Hawking HWR54G. You also can use NdisWrapper

X-(

?Anchor(configure)

Setting your WiFi device

Identify your network

  • Network Name
    • Parameter security
    • ["WPA"]
    • Mode: Access Point / ad-hoc

Configure Interface: Managed mode

NetworkManager is a user-friendly program to control network interfaces. It's especially useful for WiFi. (it's available for ["Gnome"] and ["KDE"]).

Otherwise, you can use /etc/network/interfaces. here's a sample fragment of :

  • # WiFi card section
    auto eth0
    iface eth0 inet dhcp
    wpa-ssid WANADOO-1418
    wpa-psk xxxxxxxxxxxxxxxxxxxxx

See also /usr/share/doc/wireless-tools/README.Debian and [http://svn.debian.org/wsvn/pkg-wpa/wpasupplicant/trunk/debian/README.modes?op=file&rev=0&sc=0 README.Modes] (["WPA"]) for other examples.

Configure Interface: Ad-hoc mode

You have no Access Point and want to connect 2 PCs directly. Image 2 PC: calling hostA et hostB.

Wifi: Configure Wifi on your 2 PC:

  • iwconfig ath0 mode Ad-hoc
    iwconfig ath0 essid MYNETWORK

Control on your 2 PC:

  • iwlist ath0 scanning
    ath0      Scan completed :
              Cell 01 - Address: 02:0F:B5:4F:74:ED
                        ESSID:"MYNETWORK"
                        Mode:Ad-Hoc
                        Frequency:2.412 GHz (Channel 1)
                        Quality=42/70  Signal level=-53 dBm  Noise level=-95 dBm
                        Encryption key:off
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                                  9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                                  48 Mb/s; 54 Mb/s
                        Extra:bcn_int=100

IP: Configure IP on your hostA

  • ifconfig ath0 192.168.1.1 netmask 255.255.255.0

Configure IP on your hostB

  • ifconfig ath0 192.168.1.2 netmask 255.255.255.0

Control on your hostB:

  • ping 192.168.1.1
    PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
    64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.073 ms
    64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.061 ms
    64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.062 ms
    64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=0.063 ms
    
    --- 192.168.1.1 ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3001ms
    rtt min/avg/max/mdev = 0.061/0.064/0.073/0.010 ms

Using Network Manager

You can also configure wifi using Network Manager. To invoke Network Manager use nm-applet

Check the proper functioning

Resources

  • ["ifconfig"]
  • ["iwconfig"]
  • NdisWrapper - use Windows drivers under Debian/Linux.

  • ["Internet Connection Sharing"]
  • ["Network"]

External Links


CategoryPortal CategoryNetwork