Differences between revisions 5 and 6
Revision 5 as of 2008-05-07 20:03:33
Size: 1093
Comment:
Revision 6 as of 2008-08-30 19:34:40
Size: 2351
Editor: ?FWendling
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
||<tablestyle="width: 100%;" style="border: 0px hidden">~-Translations: [:WiFi/rt2500:English], [:DebFrWiFi/rt2500:Français]-~||<style="text-align: right;border: 0px hidden"> (!) [:/Discussion:Discussion]|| ||<tablewidth="100%"style="border: 0px hidden ;">~-Translations: [:WiFi/rt2500:English], [:DebFrWiFi/rt2500:Français]-~ ||<style="border: 0px hidden ; text-align: right;"> (!) ["/Discussion"] ||
Line 4: Line 4:
The module "rt2500" driver is provided by the package DebPkg:rt2500-source (An alternate driver, rt2500usb, is available in the rt2x00-source package and in the Linux kernel from version DebPkg:linux-image-2.6.24).
 . The module "rt2500" driver is provided by the package DebPkg:rt2500-source (An alternate driver, rt2500usb, is available in the rt2x00-source package and in the Linux kernel from version DebPkg:linux-image-2.6.24).
Line 7: Line 6:
Line 19: Line 17:
= Test and Use =
Once the package is installed, you can check that the module loads properly
Line 20: Line 20:
= Test and Use =

Once the package is installed, you can check that the module loads properly
 {{{
 . {{{
Line 28: Line 25:
Line 30: Line 26:
 Your card can be [:HowToIdentifyADevice/PCI:identified] as:  . Your card can be [:HowToIdentifyADevice/PCI:identified] as:
Line 33: Line 29:
}}}
= Configuration =
The rt2500 driver includes private parameters that allows you to connect to an access point from the shell, without using a network manager. You need the DebPkg:wireless-tools package, and DebPkg:dhcp3-client if you need [:DHCP Client:DHCP]. You can check the full documentation in [file:///usr/share/doc/rt2500-source/README.gz]. Here are some examples, where <WlanX> is your card interface :

 . '''WEP with DHCP'''
 .{{{
iwpriv <wlanX> set AuthMode=AUTO
iwpriv <wlanX> set EncrypType=WEP
iwconfig <wlanX> essid <AP SSID> mode Managed key <WEPKEY>
dhclient <wlanX>}}}

 . '''WEP with a fixed IP address'''
 .{{{
iwpriv <wlanX> set AuthMode=AUTO
iwpriv <wlanX> set EncrypType=WEP
iwconfig <wlanX> essid <AP SSID> mode Managed key <WEPKEY>
ifconfig <wlanX> <YOUR IP> netmask <NETMASK>
route add -net default gw <GATEWAY> <wlanX>
echo "nameserver <DNS SERVER>" > /etc/resolv.conf
}}}

 . '''WPA-PSK with a fixed IP address'''
 .{{{
iwconfig <wlanX> essid <AP SSID> mode Managed
iwpriv <wlanX> set AuthMode=WPAPSK
iwpriv <wlanX> set EncrypType=TKIP
iwpriv <wlanX> set WPAPSK=<WPA KEY>
ifconfig <wlanX> <YOUR IP> netmask <NETMASK>
route add -net default gw <GATEWAY> eth1
echo "nameserver <DNS SERVER>" > /etc/resolv.conf

Translations: [:WiFi/rt2500:English], [:DebFrWiFi/rt2500:Français]

(!) ["/Discussion"]


  • The module "rt2500" driver is provided by the package rt2500-source (An alternate driver, rt2500usb, is available in the rt2x00-source package and in the Linux kernel from version linux-image-2.6.24).

Installation

You can build the module using module-assistant :

  • Open a terminal as root

  • Add the [:Synaptic#repository:non-free] component
  • Then run
    apt-get install module-assistant
    module-assistant prepare
    module-assistant update
    module-assistant a-i rt2500

Test and Use

Once the package is installed, you can check that the module loads properly

  • modprobe rt2500
    lsmod | grep rt2500
    iwconfig

Identify your card

  • Your card can be [:HowToIdentifyADevice/PCI:identified] as:

    RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)] [1814:0201]

Configuration

The rt2500 driver includes private parameters that allows you to connect to an access point from the shell, without using a network manager. You need the wireless-tools package, and dhcp3-client if you need [:DHCP Client:DHCP]. You can check the full documentation in [file:///usr/share/doc/rt2500-source/README.gz]. Here are some examples, where <WlanX> is your card interface :

  • WEP with DHCP

  • iwpriv <wlanX> set AuthMode=AUTO
    iwpriv <wlanX> set EncrypType=WEP
    iwconfig <wlanX> essid <AP SSID> mode Managed key <WEPKEY>
    dhclient <wlanX>
  • WEP with a fixed IP address

  • iwpriv <wlanX> set AuthMode=AUTO
    iwpriv <wlanX> set EncrypType=WEP
    iwconfig <wlanX> essid <AP SSID> mode Managed key <WEPKEY>
    ifconfig <wlanX> <YOUR IP> netmask <NETMASK>
    route add -net default gw <GATEWAY> <wlanX>
    echo "nameserver <DNS SERVER>" > /etc/resolv.conf
  • WPA-PSK with a fixed IP address

  • iwconfig <wlanX> essid <AP SSID> mode Managed
    iwpriv <wlanX> set AuthMode=WPAPSK
    iwpriv <wlanX> set EncrypType=TKIP
    iwpriv <wlanX> set WPAPSK=<WPA KEY>
    ifconfig <wlanX> <YOUR IP> netmask <NETMASK>
    route add -net default gw <GATEWAY> eth1
    echo "nameserver <DNS SERVER>" > /etc/resolv.conf

Error message