YAY! I finally got somewhere after trying to setup up my linux wireless for about 2 months!
I am running on Slackware 10.1 with the 18.104.22.168 kernel for your information.
I got a new D-Link DWL-520 2.4Gz Wirless PCI Adapter revision D2 card (RealTek 8180L chipset). I found a driver at:
that peopel seem to have used and gotten to work well with my card. So i downloaded the driver, and transfered from windows over to linux. I followed the read me, and did
and then did some checks to see if it had gone well.
It all seemed to match what it should according to teh READ ME file
So I then do
and it shows wlan0 and shows a little bit of information.
Now I proceed to doing
sudo ifconfig wlan0 up
to find the ESSID.
I now do
iwconfig wlan0 essid xxxx
(my network connectin name, the same one as on windows which i got from doing iwlist scan)
Now is where I run into trouble while trying to give my WEP key.
I try the following
iwconfig wlan0 key xxxxxxxxx
(xxxxxxxxx being substituted with my WEP key, my encryption key for network, it is 64 bit)
I get the following error:
Error for wireless request "SET Encode" (8B2A):
SET Failed on device wlan; Operation not supported.
Does anyone know what is causing this?
Here is what iwconfig looks like after doing all of these commands other than setting the WEP key
wlan0 IEEE 802.11b ESSID: "wouters"
Mode: managed Frequency:2.462 GHz Access Point:00:06:25:F2:FF:C3
Retry:on Fragment thr:off
Link Quality: 96/100 signal level:-40 dBm Noise level:-252dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
I'm not sure exactly what iwconfig is supposed to look like so im not sure if this is good or not and if im close to getting this wireless to work or not
(sorry if anything is mispelled, I had to write it down on a piece of paper and type it up on windows since i dont have internet on linux)
You can see that it says that the encryption key is off and I do have one.
Does anyone know if i forgot any commands or how to get the WEP key to get registered.
Also, I just wanted to test something, and rebooted teh computer. When i restarted I did iwconfig and noticed that wlan0 was no longer up and iwconfig just shows everythign being down.
Correct me if im wrong on teh following but:
To make sure the driver is loaded upon reboot I need to first do
(module being the .o file in the driver dir)
and then add the line
to the file /etc/rc.d/rc.modules
and to make sure the wlan0 gets set up on boot i need to add all teh commands I did earlier to set wlan0 up to teh file /etc/rc.d/rc.local
Thanks a ton for your help! I have been trying forever to get this setup, and I ahve finally gotten somewhere.
I think I might have to do the command
as well, not sure though.