Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
By coindood at 2004-04-07 21:01
Ok, guys, since my webspace provider is taking its sweet time getting back up, I'll just post my scripts. I'll get the HOWTO up when my site's back up.
NOTE:
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:
Code:
#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:
Code:
#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:
Code:
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:
Code:
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:
Code:
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: ----------------------------------------------------------
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
I have 2.4.22 and will probably be upgrading to a 2.6 soon. (I am running Slackware)
i am a complete newbie and do not know what to do.
HELP
Robert