Wireless r8187

From ArchWiki
Revision as of 10:58, 27 November 2006 by Mr Green (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Downloaded linux26x-8187(110).zip from http://www.realtek.com.tw/downloads/downloads1-3.aspx?Keyword=8187 Unpacked it to folder rtl8187_linuxdrv_V1.1

Unpacked source code: tar -zxvf stack.tar.gz tar -zxvf drv.tar.gz

Built and inserted modules: cd ieee80211/

make clean;make (in user console) (got 4 warnings related to softmac.c)

cd .. cd beta-8187/ make clean;make (still in root console) (got 6 warnings)

insmod r8187.ko

lsmod shows that all of these modules have been installed, and the adapter is functional (but LED is not).

Wrote a script "load":

  1. !/bin/sh

insmod ieee80211_crypt-rtl.ko insmod ieee80211_crypt_wep-rtl.ko insmod ieee80211_crypt_tkip-rtl.ko insmod ieee80211_crypt_ccmp-rtl.ko insmod ieee80211-rtl.ko insmod r8187.ko

  1. ifconfig wlan0 up

Wrote a script "unload":

  1. !/bin/sh

ifconfig wlan0 down rmmod r8187.ko rmmod ieee80211-rtl.ko rmmod ieee80211_crypt_ccmp-rtl.ko rmmod ieee80211_crypt_tkip-rtl.ko rmmod ieee80211_crypt_wep-rtl.ko rmmod ieee80211_crypt-rtl.ko

Put the ieeexxxxxxx.ko modules, the r8187.ko module and the scripts "load" and "unload" in a folder RTLmodules. To bring up the wireless interface wlan0, run the script "load", to bring it down, run "unload".