Differences between revisions 6 and 7
Revision 6 as of 2008-08-30 19:34:40
Size: 2351
Editor: ?FWendling
Comment:
Revision 7 as of 2008-08-30 19:57:32
Size: 2389
Editor: ?FWendling
Comment: Forgot root notice for iwpriv parameters
Deletions are marked like this. Additions are marked like this.
Line 31: Line 31:
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 : 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 (you need to be ''root'' to use them) :

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 (you need to be root to use them) :

  • 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