|
These instructions were done on multiple Debian distrobutions, but should work with little modification on RedHat/Fedora installations. Also, these instructions were done with the SuSE drivers. They are hard to find, so download them from http://www.geocities.com/coindood/drivers.html They have worked for me and most of the other successful users in this thread. The zip file also contains all of the files needed to get it running (ifcfg-wlan0, resolv.conf, wlanup/down, Makefile, etc.) so all you need to do is change the ip addresses and copy them to their respective locations. Just don't forget to read all of this beforehand!
First make sure your kernel is 2.4.21 or below. No special revisions needed.
wlanup:
#Load module
/sbin/insmod -f rtl8180_24x.o
#Set SSID
iwpriv wlan0 wlan_para networktype=infra
iwpriv wlan0 wlan_para ssid2scan=default
iwpriv wlan0 wlan_para wepmode=off
iwpriv wlan0 msglevel 1
#Enable wireless lan driver
/sbin/iwpriv wlan0 enable
#Configure wlan0 IP address within router bounds
#since my router's address is 192.168.0.1, it is
#any between 192.168.0.101 - ...168
/sbin/ifconfig wlan0 192.168.0.101
echo "$(/sbin/ifconfig wlan0)"
#change this ip address to the router address
route add default gw 192.168.0.1
If you use route, you need a /etc/resolv.conf file:
#the Xs stand for the gateway your router goes through
#you can find it in the router stats when you log into it
nameserver XXX.XXX.XXX.XXX
Last you need an /etc/sysconfig/network-scripts/ifcfg-wlan0 file:
DEVICE=wlan0
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
BOOTPROTO=dhcp
PEERDNS=yes
onBOOT=no
#change the gateway ip to the address of the router
Copy these files to their respective locations, modify the Makefiles to
match your kernel, then type make, and if all is well, type "sh wlanup".
you should see:
Warning: loading rtl8180_24x.o will taint the kernel: forced load
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module rtl8180_24x loaded, with warnings
wlan0 Link encap:Ethernet HWaddr 00:40:F4:93:4A:38
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0xd800
Don't worry about the warning (it's because the priv_part.o file is compiled against another kernel). Type in dmesg, and if all is well again, then the last lines should look like this:
RTL8180: Select a BSS and Join it at channel 6.
RTL8180: ----------------------------------------------------------
RTL8180: wlan0 Link status:
RTL8180: Channel number = 6
RTL8180: beacon period = 100
RTL8180: BSSID = 0x00:0x0d:0x88:0x9f:0xd1:0xd3
RTL8180: SSID = default
RTL8180: Capability = 0x21
RTL8180: AID = 0x01
RTL8180: Operational rate = 0x0F <bit 0~3 = 1~11 Mbps>
RTL8180: ----------------------------------------------------------
If you see that, you are connected!
patched by linky_fan |
|