LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-16-2007, 12:02 PM   #1
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Rep: Reputation: 30
linux WPA/WEP wireless


Hello all,

OS: CentOS
laptop: dell latitude d810

I managed to get Centos to see my wireless card, intel 2200bg, after installing the firmware. it works fine with network with no encryption however if i try to connect to a wpa or wep it won't work.

am i missing anything? or did anybody see that before how could point me to the right way to setup my wireless?

I am using system-config-network to setup my wireless I also, used the wireless tools to scan for network and I am sure that i see the network i need to connect to in the scan list.

Thanks in advance
 
Old 07-16-2007, 02:01 PM   #2
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
you probally need to install wpa_supplicant
 
Old 07-16-2007, 03:35 PM   #3
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Original Poster
Rep: Reputation: 30
i have wpa_supplicant 0.5.8 installed..
wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="myhome"
proto=WPA
key_mgmt=WPA-PSK
psk="something"
}

here is the output when i run
wpa_supplicant -Dwext -ieth1 -c/etc/wpa_supplicant.conf -d
: which be the way keeps on looping untill i ctrl C


Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
Priority group 0
id=0 ssid='myhome'
Initializing interface (2) 'eth1'
SIOCGIWRANGE: WE(compiled)=20 WE(source)=18 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:13:f6:17:2m:70
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Added interface eth1
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 2061 bytes of scan results (9 BSSes)
Scan results: 9
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:0f:b5:5a:fa:e8 ssid='myhome' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
1: 00:14:6c:a3:aa:14 ssid='wireless1' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
2: 00:06:b1:14:65:21 ssid='wireless2' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
3: 00:12:0e:4e:d5:ee ssid='wireless3' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
4: 00:14:bf:83:e6:a7 ssid='wireless4' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
5: 02:18:de:00:6a:33 ssid='wireless5' wpa_ie_len=0 rsn_ie_len=0 caps=0x2
skip - no WPA/RSN IE
6: 00:0f:b5:29:a4:8c ssid='<hidden>' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
7: 46:cc:97:91:f5:72 ssid='wireless7' wpa_ie_len=0 rsn_ie_len=0 caps=0x2
skip - no WPA/RSN IE
8: 00:0f:66:19:1f:8e ssid='wireless8' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE

Last edited by m2azer; 07-16-2007 at 03:37 PM.
 
Old 07-16-2007, 04:58 PM   #4
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Rep: Reputation: 32
I have exactly same problem. my ssid matches that found both by wpa_supplicant and iwlist wlan0 scanning, both in ascii and hex (made a hexdump of it). non the less, wpa_supplicant reports an ssid missmatch.
 
Old 07-18-2007, 09:16 AM   #5
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Original Poster
Rep: Reputation: 30
Unifying linux

I been using linux for a while now, server side, and recently decided to give it a try and use it as my personal OS. One of the early issue i saw is how come there is not a unified set of steps to do things for example trying to get the wireless to work, there is so many links, docs etc that you don't know which one you should follow

I am for sure a linux fan and i consider it my first choice of OS and nothing will change my opinion but i thought that we should unify things, steps, instructions etc... so at least for the new comers it won't be hard to get into linux.
 
Old 07-18-2007, 02:33 PM   #6
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
Quote:
we should unify things, steps, instructions etc..
This is a hot debate topic.


Part of what makes linux so great is its choice and flexibility. Unfortunately, that also means there are sometimes more than one way to pluck a turkey.


As an end user, there are two ways to deal with this issue. The first way, which is probaly preferable, is when searching for a problem, include the name of your distro in the search parameters so that instructions you find will usually be distro-specific.


The second way, is to try to find vender-nonspecific instructions.... usually this means using the lower level command line tools, rather than using the gui. I always try to give help in this way when I answer questions, because while GUI tools vary from distro to distro, usually the command line tools are a constant
 
Old 07-18-2007, 03:21 PM   #7
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Rep: Reputation: 32
The fascinating thing is the flexibility of the OS and that greatly relies on the fact that processes remain modular. guis and wrappers may be written to actually simplify configurations, but i value the fact that things are build up by many small bricks.

the problem about all this is the incredible complexity of even the most rudimentary tasks (getting characters onto the screen for example). although i enjoy that world, it still can make things annoying if you are set of to accomplish something specific. I for example want to build my own linux, for the experience. basically now i only need X to run and i want X11R7.2 . So now I'm stuck at the WPA2 encryption of my adapter for almost a week and I do not aim to find out how the single parameters of available encryption algorythms interact with the sourcecode of wpa_supplicant in order to deceiver the error messages. i only need that thing to work.

however error messages don't get me any further (the ssid is "Hive", so why is there a ssid missmatch if Hive is found???) and that is extremely frustrating.
 
  


Reply

Tags
wpa, wpasupplicant



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
scripts (kommander and command line) to start wireless devices with wpa/wpa2/wpa-aes Fluxx Linux - Wireless Networking 4 06-28-2010 02:51 AM
Can Aironet350 wifi do WEP/WPA? ssalman Linux - Wireless Networking 10 09-11-2007 01:09 AM
64bit WEP works - what next for WPA-PSK with supplicant? __spc__ Linux - Wireless Networking 5 03-18-2006 01:14 PM
WPA-PSK and WEP Kenji Miyamoto Linux - Wireless Networking 4 08-21-2005 05:38 PM
WPA or WEP mike30188 Linux - Wireless Networking 15 06-23-2005 07:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 08:54 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
Open Source Consulting | Domain Registration