LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices



Reply
 
Search this Thread
Old 06-02-2005, 02:30 AM   #1
Lacertosum
LQ Newbie
 
Registered: May 2005
Posts: 8

Rep: Reputation: 0
Wireless Network Setup wlan0


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 2.6.11.11 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:
here
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
Code:
make
followed by
Code:
 ./module_load
and then did some checks to see if it had gone well.
I did:
Code:
 cat /proc/modules
Code:
 dmesg
Code:
ifconfig-a
Code:
cat /proc/interrupts
It all seemed to match what it should according to teh READ ME file

So I then do
Code:
 iwconfig
and it shows wlan0 and shows a little bit of information.
Now I proceed to doing

Code:
sudo ifconfig wlan0 up
and then
Code:
 iwlist scan
to find the ESSID.

I now do
Code:
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
Code:
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

Quote:
wlan0 IEEE 802.11b ESSID: "wouters"
Mode: managed Frequency:2.462 GHz Access Point:00:06:25:F2:FF:C3
Bit Rate=11MB/s
Retry:on Fragment thr:off
Encryption key: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
Code:
modprobe MODULE
(module being the .o file in the driver dir)
and then add the line
Code:
/sbin/modprobe MODULE
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.

~lacertosum

EDIT:
I think I might have to do the command
Code:
 dhcpcd wlan0
as well, not sure though.

Last edited by Lacertosum; 06-02-2005 at 04:24 PM.
 
Old 06-02-2005, 03:21 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,971

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Try
Code:
iwconfig wlan0 key open xxxxxxxxx
Mind that xxxxxxxxx must be in hex. If you want to use an ascii key use s:xxxxxxxxx instead.
Perhaps you have to run:
Code:
iwconfig wlan0 mode managed
before any other iwconfig command.

Regards
 
Old 06-03-2005, 03:02 AM   #3
kylnj
Member
 
Registered: May 2005
Posts: 37

Rep: Reputation: 15
hi all,

need help:

i am running fedora 3/ linux 2.6.11-1.27_FC3 on a dell inspiron 1100. following is where i can reach:


[root@kyt ~]# ndiswrapper -l
Installed ndis drivers:
mrv8ka51 driver present, hardware present
[root@kyt ~]#


[root@kyt ~]# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:0E:A6:7F:03:95
ESSID:"tonyhomegateway"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:0/100 Signal level:-66 dBm Noise level:-256 dBm
Encryption keyff
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:54 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:12 Mb/s
Bit Rate:48 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 02 - Address: 00:11:24:5B:C3:23
ESSID:"Apple Network "
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:0/100 Signal level:-94 dBm Noise level:-256 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
Extra:bcn_int=100
Extra:atim=0

[root@kyt ~]#


it seems to hang the system, if i set the files like ifcfg-wlan0...(i was not be able to boot successfully, so i rename these file and muanually test iwconfig for different variable after booting. it seems the 'iwconfig wlan0 essid' command is the problem.

any comment? what files should i set with what kinds of variable?

thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"wlan0" interface not recognized with NETGEAR WG111 USB Wireless Network Adapter lasindi Slackware 18 04-10-2007 11:18 PM
Wireless network problems, ndiswrapper installed will not create wlan0 jackuss_169 Linux - Wireless Networking 6 08-14-2006 12:29 PM
"wlan0" interface not recognized with NETGEAR WG111 USB Wireless Network Adapter lasindi Slackware - Installation 3 09-24-2005 06:51 PM
Wireless Network Setup Magsol General 1 06-15-2005 08:56 PM
Broadcom wireless with ndiswrapper: ifconfig wlan0 works; ifup wlan0 fails orangechicken Linux - Wireless Networking 2 04-17-2004 06:39 PM


All times are GMT -5. The time now is 09:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration