Difference between revisions of "Wireless r8187"

From ArchWiki
Jump to: navigation, search
 
(14 intermediate revisions by 8 users not shown)
Line 1: Line 1:
Downloaded linux26x-8187(110).zip from http://www.realtek.com.tw/downloads/downloads1-3.aspx?Keyword=8187
+
{{Deletion}}
Unpacked it to folder rtl8187_linuxdrv_V1.1
+
[[Category:Wireless Networking]]
  
Unpacked source code:
+
{{Note|The kernel has rtl8187 and staging/r8187se now. The binary driver this page discusses is from circa 2005 and the content is from 2006. If there is someone still needing to use it, please remove the [[Template:Deletion]] tag. The binary driver can be found at the linked page by looking for a link similar to ftp://WebUser:nQJ4P7b@207.232.93.28/cn/wlan/ .}}
tar -zxvf stack.tar.gz
+
tar -zxvf drv.tar.gz
+
  
Built and inserted modules:
+
== Instalation ==
cd ieee80211/
+
  
make clean;make (in user console)
+
* Download linux26x-8187(110).zip from http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=1&PFid=1&Level=6&Conn=5&DownTypeID=3&GetDown=false&Downloads=true#RTL8187L
(got 4 warnings related to softmac.c)
+
* Unpack it to folder rtl8187_linuxdrv_V1.1 (Keep the source file around; when you update kernels you may have to rebuild the file set)
  
cd ..
+
* Unpack the source code:
cd beta-8187/
+
$ tar -zxvf stack.tar.gz
make clean;make (still in root console)
+
$ tar -zxvf drv.tar.gz
(got 6 warnings)
+
  
insmod r8187.ko
+
* Build and insert modules:
 +
$ cd ieee80211/
 +
# make clean;make
 +
$ cd ..
 +
$ cd beta-8187/
 +
# make clean;make (still in root console)
 +
# insmod r8187.ko
  
 
lsmod shows that all of these modules have been installed, and the adapter is functional (but LED is not).
 
lsmod shows that all of these modules have been installed, and the adapter is functional (but LED is not).
  
Wrote a script "load":
+
* Write a script "load":
 +
#!/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
 +
#ifconfig wlan0 up
  
#!/bin/sh
+
* Write a script "unload":
 +
#!/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
  
insmod 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".
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
+
#ifconfig wlan0 up
+
 
+
Wrote a script "unload":
+
 
+
#!/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".
+

Revision as of 10:28, 13 June 2012

Tango-edit-cut.pngThis section is being considered for removal.Tango-edit-cut.png

Reason: please use the first argument of the template to provide a brief explanation. (Discuss in Talk:Wireless r8187#)
Note: The kernel has rtl8187 and staging/r8187se now. The binary driver this page discusses is from circa 2005 and the content is from 2006. If there is someone still needing to use it, please remove the Template:Deletion tag. The binary driver can be found at the linked page by looking for a link similar to ftp://WebUser:nQJ4P7b@207.232.93.28/cn/wlan/ .

Instalation

  • Unpack the source code:
$ tar -zxvf stack.tar.gz
$ tar -zxvf drv.tar.gz
  • Build and insert modules:
$ cd ieee80211/
# make clean;make
$ cd ..
$ cd beta-8187/
# make clean;make (still in root console)
# insmod r8187.ko

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

  • Write a script "load":
#!/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
#ifconfig wlan0 up
  • Write a script "unload":
#!/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".