You are not logged in.

#1 2009-01-11 05:02:07

mrorange
Member
Registered: 2008-12-18
Posts: 19

can't associate with wlan using wpa_supplicant

hi everybody,

im new to arch and i try to set up wpa_supplicant in order to get use of netcfg.
But it somehow dont want to associate with wpa encrypted networks.

I already got my wlan card running using ipw2200 module and it seems to be recognized correctly.

iwconfig
eth1      IEEE 802.11g  ESSID:"Connect" 
          Mode:Managed  Frequency:2.447 GHz  Access Point: 00:90:4C:91:00:01   
          Bit Rate:54 Mb/s   Tx-Power=20 dBm   Sensitivity=8/0 
          Retry limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=86/100  Signal level=-44 dBm  Noise level=-83 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:7

I followed the wiki howto to setup wpa_supplicant, following the output when i try to associate

wpa_supplicant -dd -B -Dwext -ieth1 -c/etc/wpa_supplicant.conf

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='DIR=/var/run/wpa_supplicant GROUP=wheel'
Line: 3 - start of a new network block
ssid - hexdump_ascii(len=7):
     43 6f 6e 6e 65 63 74                              Connect         
PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='Connect'
Initializing interface (2) 'eth1'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=18 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:13:ce:3b:f0:cf
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
ctrl_interface_group=10 (from group name 'wheel')
Added interface eth1
Daemonize..

Im really desperate right now, cause im trying to get it working since 2 weeks now,
I appreciate your support,

daniel

Offline

#2 2009-01-13 21:52:11

ndlarsen
Member
From: Denmark
Registered: 2005-11-02
Posts: 157

Re: can't associate with wlan using wpa_supplicant

Tryposting the contents of your /etc/wpa_supplicant.conf.

Cheers


I made it long
as I lacked the time to make it short...

Offline

#3 2009-01-14 23:17:06

soupcan
Member
From: ?
Registered: 2008-10-25
Posts: 268

Re: can't associate with wlan using wpa_supplicant

Hmmm.... your wpa_supplicant output looks fine, as far as I can tell. Identical to mine. If "Connect" is your network, I don't see a problem. Strange.
Just a thought, are you running (if you use dhcp) sudo dhcpcd eth1 after the wpa_supplicant command? Can you post the output of that along with your /etc/wpa_supplicant.conf?

Last edited by soupcan (2009-01-14 23:17:42)

Offline

#4 2009-01-14 23:46:07

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: can't associate with wlan using wpa_supplicant

Please run wpa_supplicant without the -B option - that's backgrounding it before it tries to associate.

Offline

Board footer

Powered by FluxBB