Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

can't bring up interface with wpa_supplicant

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
warrior
n00b
n00b
User avatar
Posts: 23
Joined: Mon Sep 27, 2004 7:41 am
Location: LJ, Slovenija

can't bring up interface with wpa_supplicant

  • Quote

Post by warrior » Mon Feb 14, 2005 10:33 am

Hi guys.

I'm using wpa_supplicant-0.3.7-pre, baselayout-1.11.9-r1, ipw2200-1.0.1 and ipw2200-firmware-2.2

In case without wpa_supplicant all is going right. /etc/init.d/net.eth1 start bringing up wireless interface and establishing association with access point (open system, without any encryption or authentication). Troubles are starts when i trying to use wpa_supplicant.

here's my /etc/conf.d/net file

Code: Select all

config_eth0=( "10.10.37.15/24 brd 10.10.37.255" )
routes_eth0=( "default via 10.10.37.1" )
modules=( "!iwconfig" )
modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-dd -Dipw"
config_eth1=( "10.10.37.17/24 brd 10.10.37.255" )
routes_eth1=( "default via 10.10.37.1" )
and /etc/wpa_supplicant.conf

Code: Select all

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
network={
        ssid="KITTEN"
        scan_ssid=1
        #psk="12345678"
        psk=79d2ef5e23fe86d80d21c690b4f4c8f5f900ebb36fb0da1b0aeab269cffb01d7
}
my /etc/init.d/net.eth1 is symlink to /etc/init.d/net.lo

when i start wpa_supplicant by hand in first terniman, bring up interface and assign ip address in second, in debug i see handshake from 1/4 to 3/4. But then i see this...

Code: Select all

WPA: Installing PTK to the driver.
WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
wpa_driver_ipw_set_key: alg=TKIP key_idx=0 set_tx=1 seq_len=6 key_len=32
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=26 idleWhile=56
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=25 idleWhile=55
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=24 idleWhile=54
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=23 idleWhile=53
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=22 idleWhile=52
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=21 idleWhile=51
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=20 idleWhile=50
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=19 idleWhile=49
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=18 idleWhile=48
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=17 idleWhile=47
Authentication with 00:0d:88:9d:6f:68 timed out.
Added BSSID 00:0d:88:9d:6f:68 into blacklist
After it new scan staring and history repeats.
During this loop i can see these status messages using wpa_cli -i eth1 status

Code: Select all

bssid=00:0d:88:9d:6f:68
ssid=KITTEN
pairwise_cipher=TKIP
group_cipher=TKIP
key_mgmt=WPA-PSK
wpa_state=GROUP_HANDSHAKE
Supplicant PAE state=CONNECTING
suppPortStatus=Unauthorized
EAP state=IDLE

Code: Select all

bssid=00:0d:88:9d:6f:68
ssid=KITTEN
pairwise_cipher=TKIP
group_cipher=TKIP
key_mgmt=WPA-PSK
wpa_state=ASSOCIATED
Supplicant PAE state=CONNECTING
suppPortStatus=Unauthorized
EAP state=IDLE

Code: Select all

bssid=00:0d:88:9d:6f:68
ssid=KITTEN
pairwise_cipher=TKIP
group_cipher=TKIP
key_mgmt=WPA-PSK
wpa_state=GROUP_HANDSHAKE
Supplicant PAE state=CONNECTING
suppPortStatus=Unauthorized
EAP state=IDLE
Who can explain me, what i'm doing wrong?
Thanx!
Top
warrior
n00b
n00b
User avatar
Posts: 23
Joined: Mon Sep 27, 2004 7:41 am
Location: LJ, Slovenija

  • Quote

Post by warrior » Tue Feb 15, 2005 6:42 am

Hi, here's some additional information..

this is my wpa_supplicant debug, and success one from other station below.
please notice, that in my one i dont receive Group Key Handshake...

Code: Select all

WPA: Installing PTK to the driver.
WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
wpa_driver_ipw2100_set_key: alg=TKIP key_idx=0 set_tx=1 seq_len=6 key_len=32
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=26 idleWhile=56
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=25 idleWhile=55
RX EAPOL from 00:0d:88:9d:6f:68
RX EAPOL - hexdump(len=99): [REMOVED]
EAPOL: Ignoring WPA EAPOL-Key frame in EAPOL state machines
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=254
WPA: RX EAPOL-Key - hexdump(len=99): [REMOVED]
WPA: EAPOL-Key Replay Counter did not increase - dropping packet
RX EAPOL from 00:0d:88:9d:6f:68
RX EAPOL - hexdump(len=99): [REMOVED]
EAPOL: Ignoring WPA EAPOL-Key frame in EAPOL state machines
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=254
WPA: RX EAPOL-Key - hexdump(len=99): [REMOVED]
WPA: EAPOL-Key Replay Counter did not increase - dropping packet
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=24 idleWhile=54
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=23 idleWhile=53
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=22 idleWhile=52
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=21 idleWhile=51
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=20 idleWhile=50
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=19 idleWhile=49
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=18 idleWhile=48
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=17 idleWhile=47
Authentication with 00:0d:88:9d:6f:68 timed out.
Added BSSID 00:0d:88:9d:6f:68 into blacklist

Code: Select all

WPA: Installing PTK to the driver.
WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
wpa_driver_ipw2100_set_key: alg=TKIP key_idx=0 set_tx=1 seq_len=6 key_len=32
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=29 idleWhile=59
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=28 idleWhile=58
RX EAPOL from 00:0f:3d:96:f2:ba
RX EAPOL - hexdump(len=131): [REMOVED]
EAPOL: Ignoring WPA EAPOL-Key frame in EAPOL state machines
IEEE 802.1X RX: version=1 type=3 length=127
  EAPOL-Key type=254
WPA: RX EAPOL-Key - hexdump(len=131): [REMOVED]
WPA: RX message 1 of Group Key Handshake from 00:0f:3d:96:f2:ba (ver=1)
WPA: Group Key - hexdump(len=32): [REMOVED]
WPA: Installing GTK to the driver (keyidx=2 tx=0).
WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
wpa_driver_ipw2100_set_key: alg=TKIP key_idx=2 set_tx=0 seq_len=6 key_len=32
WPA: Sending EAPOL-Key 2/2
WPA: TX EAPOL-Key 2/2 - hexdump(len=113): [REMOVED]
WPA: Key negotiation completed with 00:0f:3d:96:f2:ba [PTK=TKIP GTK=TKIP]
Cancelling authentication timeout
Top
Post Reply

2 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic