Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wifi Not Connecting WPA TKIP ipw2200 driver wpa_supplicant
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Crisis
l33t
l33t


Joined: 10 Feb 2003
Posts: 613
Location: Portland, OR

PostPosted: Mon Apr 11, 2005 8:45 pm    Post subject: Wifi Not Connecting WPA TKIP ipw2200 driver wpa_supplicant Reply with quote

I've been trying to get my wifi working for quite some time now, but still have had no luck.

I believe I have the drivers working OK, because it does see the access points.

Our network here used WPA TKIP. I'm using wpa_supplicant.

I have followed the gentoo wireless guide on the wiki as well as many posts I have searched for. Here is my wpa_supplicant config:

Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=0

#IMC
network={
ssid="AuthorizedAccessOnly"
psk="XXXXXXXXXX"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
group=TKIP
pairwise=TKIP
}


Manual Test:
Code:
wpa_supplicant -w -c/etc/wpa_supplicant.conf -ieth1 -Dipw -d


Output:
Code:
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'ipw'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=0
eapol_version=1
ap_scan=1
Priority group 0
   id=0 ssid='AuthorizedAccessOnly'
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
wpa_driver_ipw_init is called
Own MAC address: 00:0e:35:eb:01:14
wpa_driver_ipw_set_wpa: enabled=1
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_ipw_set_countermeasures: enabled=0
wpa_driver_ipw_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Using existing control interface directory.
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=20):
     41 75 74 68 6f 72 69 7a 65 64 41 63 63 65 73 73   AuthorizedAccess
     4f 6e 6c 79                                       Only
ioctl[SIOCSIWSCAN{,EXT}]: Operation not supported
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
Scan timeout - try to get results
Received 288 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:0f:90:6d:22:c0 ssid='AuthorizedGuestsOnly' wpa_ie_len=26 rsn_ie_len=0
   skip - SSID mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 289 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:0f:90:6d:22:c0 ssid='AuthorizedGuestsOnly' wpa_ie_len=26 rsn_ie_len=0
   skip - SSID mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec
Signal 2 received - terminating
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_ipw_set_wpa: enabled=0
wpa_driver_ipw_set_drop_unencrypted: enabled=0
wpa_driver_ipw_set_countermeasures: enabled=0
Control interface directory not empty - leaving it behind


Anyone have any ideas? I've tried setting ap_scan=0 and that removed the

Code:
ioctl[SIOCSIWSCAN{,EXT}]: Operation not supported


error, but it still does not work.
Back to top
View user's profile Send private message
rojanu
Guru
Guru


Joined: 02 Feb 2004
Posts: 361
Location: London

PostPosted: Tue Apr 12, 2005 3:41 am    Post subject: Reply with quote

I've got a similar problem here with the same ipw2200 card

I have WEP key (planning to change to WPA but have to digest HOWTOs first)
Here is my Config
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
network={
   ssid="My_essid"
   key_mgmt=NONE
   wep_key0=XXXXXXXXXXXXXXXXXXXXXXXXXXX
   wep_tx_keyidx=0
   priority=5
}

Here is when I start the card and it just hangs there, I have to break it with CTRL+C

FITRST
Code:
/etc/init.d/net.eth0 restart
 * Starting eth0
 *    Starting wpa_supplicant on eth0 ...
ioctl[IEEE80211_IOCTL_DELKEY]: Invalid argument
ioctl[IEEE80211_IOCTL_DELKEY]: Invalid argument
ioctl[IEEE80211_IOCTL_DELKEY]: Invalid argument
ioctl[IEEE80211_IOCTL_DELKEY]: Invalid argument


if I change ap_scan=1 to ap_scan=0 and start the card I get
SECOND
Code:
/etc/init.d/net.eth0 restart
 * Stopping eth0
 *    Bringing down eth0
 *       Stopping dhcpcd on eth0 ...                                                                                 [ ok ]
 *       Shutting down eth0 ...                                                                                      [ ok ]
 *       Stopping wpa_supplicant on eth0 ...                                                                         [ ok ]
 * Starting eth0
 *    Starting wpa_supplicant on eth0 ...
ioctl[IEEE80211_IOCTL_DELKEY]: Invalid argument
ioctl[IEEE80211_IOCTL_DELKEY]: Invalid argument
ioctl[IEEE80211_IOCTL_DELKEY]: Invalid argument
ioctl[IEEE80211_IOCTL_DELKEY]: Invalid argument                                                                      [ ok ]
 *       eth0 connected to "My_essid" at XX:XX:XX:XX:XX:XX
 *    Bringing up eth0
 *       Configuration not set for eth0 - assuming dhcp
 *       dhcp
 *          Running dhcpcd ...                                                                                       [ ok ]
 *          eth0 received address 192.168.1.102

and I can surf the net
Manual Test
Code:
# wpa_supplicant -w -c/etc/wpa_supplicant.conf -ieth1 -Dipw -d
Unsupported driver 'ipw'.

[EDIT]
having rebooted my machine I have realised that I was dreaming ( to sleepy ) above results were with madwifi drivers now all I get is now results in FIRST with the same drivers,
I tried
Code:
  hostap = Host AP driver (Intersil Prism2/2.5/3)
  prism54 = Prism54.org driver (Intersil Prism GT/Duette/Indigo)
  madwifi = MADWIFI 802.11 support (Atheros, etc.)
  atmel = ATMEL AT76C5XXx (USB, PCMCIA)
  wext = Linux wireless extensions (generic)
  ndiswrapper = Linux ndiswrapper


closest were ndiswrapper with
Code:
# wpa_supplicant -w -c/etc/wpa_supplicant.conf -ieth1 -Dndiswrapper -d
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=0
eapol_version=1
ap_scan=1
Priority group 5
   id=0 ssid='renas'
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
Failed to enable WPA in the driver.
Failed to disable WPA in the driver.
But i am sure I saw madwifi downloaing when I emerged wpa_supplicant
[/EDIT]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum