Difference between revisions of "Wireless r8187"

From ArchWiki
Jump to: navigation, search
m
Line 1: Line 1:
 
[[Category:Communication and network (English)]]
 
[[Category:Communication and network (English)]]
 
[[Category:HOWTOs (English)]]
 
[[Category:HOWTOs (English)]]
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
 
  
Unpack it to folder rtl8187_linuxdrv_V1.1
+
== Instalation ==
 +
* 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
 +
* 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)
  
(Keep the source file around; when you update kernels you may have to rebuild the file set)
+
* Unpack the source code:
 +
$ tar -zxvf stack.tar.gz
 +
$ tar -zxvf drv.tar.gz
  
Unpacked source code:
+
* Build and insert modules:
tar -zxvf stack.tar.gz
+
$ cd ieee80211/
tar -zxvf drv.tar.gz
+
# make clean;make
+
$ cd ..
Built and inserted modules:
+
$ cd beta-8187/
cd ieee80211/
+
# make clean;make (still in root console)
 
+
# insmod r8187.ko
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).
 
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
 
  #!/bin/sh
 
  insmod ieee80211_crypt-rtl.ko
 
  insmod ieee80211_crypt-rtl.ko
Line 37: Line 30:
 
  #ifconfig wlan0 up
 
  #ifconfig wlan0 up
  
Wrote a script "unload":
+
* Write a script "unload":
 
+
 
  #!/bin/sh
 
  #!/bin/sh
 
  ifconfig wlan0 down
 
  ifconfig wlan0 down
Line 48: Line 40:
 
  rmmod ieee80211_crypt-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.
+
* 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".
To bring up the wireless interface wlan0, run the script "load", to bring it down, run "unload".
+
 
 +
== External Resources ==
 +
* http://bbs.archlinux.org/viewtopic.php?p=210970#210970
 +
 
  
re: http://bbs.archlinux.org/viewtopic.php?p=210970#210970
+
--------
 +
This needs to be rewritten, hezdoinitrong

Revision as of 03:23, 17 November 2008


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".

External Resources



This needs to be rewritten, hezdoinitrong