Difference between revisions of "RT61 Wireless"

From ArchWiki
Jump to: navigation, search
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[[Category:Networking (English)]]
+
[[Category:Wireless Networking]]
  
 
==Installation==
 
==Installation==
The RT61 Driver is included in the official kernel-tree so you must only load the rt61 module by using:
+
The RT61 Driver is included in the official kernel-tree so you must only load the rt61 module using:
 
  # modprobe rt61pci
 
  # modprobe rt61pci
  
Line 9: Line 9:
 
  MODULES=(... fuse '''rt61pci''' snd-via82xx ...)
 
  MODULES=(... fuse '''rt61pci''' snd-via82xx ...)
  
Some RT61 devices need to load the firmware (you can check it by using the dmesg command) so you must install the rt2x00-rt61-fw package by using:
+
Some RT61 devices need to load the firmware (you can check it using the dmesg command) so you must install the rt2x00-rt61-fw package using:
  
 
  # pacman -S rt2x00-rt61-fw
 
  # pacman -S rt2x00-rt61-fw
Line 23: Line 23:
  
 
===WPA/PSK or WPA2/PSK===
 
===WPA/PSK or WPA2/PSK===
The README file tells you how to configure the interface using iwconfig and iwlist commands. To set up the system to configure the interface at startup you can use the [http://aur.archlinux.org/packages.php?do_Details=1&ID=10514&O=0&L=0&C=0&K=rt61&SB=n&SO=a&PP=25&do_MyPackages=0&do_Orphans=0&SeB=nd| rt61-cvs AUR package] scripts from klixon. Simply download 'rt61wpa' to '/etc/rc.d/rt61wpa' and 'rt61-wpa.conf.d' to '/etc/conf.d/rt61-wpa', configure the 'rt61-wpa' file and place 'rt61wpa' in your rc.conf DAEMONS array before 'network'. You also have to put
+
The README file tells you how to configure the interface using iwconfig and iwlist commands. To set up the system to configure the interface at startup you can use the [https://aur.archlinux.org/packages.php?ID=16086 AUR package] scripts from klixon. Simply download 'rt61wpa' to '/etc/rc.d/rt61wpa' and 'rt61-wpa.conf.d' to '/etc/conf.d/rt61-wpa', configure the 'rt61-wpa' file and place 'rt61wpa' in your rc.conf DAEMONS array before 'network'. You also have to put
 
  wlan0=('dhcp')
 
  wlan0=('dhcp')
 
  INTERFACES=(wlan0 lo) #among other interfaces
 
  INTERFACES=(wlan0 lo) #among other interfaces
Line 29: Line 29:
  
 
==Master Mode==
 
==Master Mode==
This is currently not supported by legacy drivers [http://rt2x00.serialmonkey.com/phpBB2/viewtopic.php?t=4203 Serialmonkey Forum]. Solution is to compile new kernel with some patches and using patched hostapd for beacons. [http://rt2x00.serialmonkey.com/phpBB2/viewtopic.php?t=4582 Serialmonkey Again]
+
You can't set the mode to Master with iwconfig. However, hostapd will be able to do that. For more information see this tutorial: http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,40/func,view/id,21824/
 +
 
 +
There shouldn't be any need for patching or using experimental version anymore. The mentioned tutorial worked for me with the following official packages:
 +
* core/kernel26-lts 2.6.32.28-2
 +
* community/hostapd 0.7.3-3
 +
* core/libnl 1.1-2

Revision as of 18:12, 23 April 2012


Installation

The RT61 Driver is included in the official kernel-tree so you must only load the rt61 module using:

# modprobe rt61pci

If you want to load the module at startup you can add it to MODULES=() in rc.conf like this:

MODULES=(... fuse rt61pci snd-via82xx ...)

Some RT61 devices need to load the firmware (you can check it using the dmesg command) so you must install the rt2x00-rt61-fw package using:

# pacman -S rt2x00-rt61-fw

Bringing up the interface

No encryption and WEP encryption

Edit rc.conf to met your config:

wlan_wlan0='wlan0 essid <youressid>' #no encryption
wlan_wlan0='wlan0 essid <youressid> key open s:<yourWEPkey>' #WEP encryption
wlan0=('dhcp')
INTERFACES=(wlan0 lo) #among other interfaces

WPA/PSK or WPA2/PSK

The README file tells you how to configure the interface using iwconfig and iwlist commands. To set up the system to configure the interface at startup you can use the AUR package scripts from klixon. Simply download 'rt61wpa' to '/etc/rc.d/rt61wpa' and 'rt61-wpa.conf.d' to '/etc/conf.d/rt61-wpa', configure the 'rt61-wpa' file and place 'rt61wpa' in your rc.conf DAEMONS array before 'network'. You also have to put

wlan0=('dhcp')
INTERFACES=(wlan0 lo) #among other interfaces

in your rc.conf.

Master Mode

You can't set the mode to Master with iwconfig. However, hostapd will be able to do that. For more information see this tutorial: http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,40/func,view/id,21824/

There shouldn't be any need for patching or using experimental version anymore. The mentioned tutorial worked for me with the following official packages:

  • core/kernel26-lts 2.6.32.28-2
  • community/hostapd 0.7.3-3
  • core/libnl 1.1-2