LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-24-2011, 12:01 AM   #1
geshuni
LQ Newbie
 
Registered: Dec 2010
Posts: 17

Rep: Reputation: 0
Wifi Problem


Hey guys, I have the following problem - I have a wireless card and 2 LAN cards which are connected through bridge - and it works, I am currently typing from a PC, connected to my slackware router. Unfortunately, I cannot connect with my notebook via wireless connection - it authenticates and does not obtain an ip address. Here is the debug of hostapd
Code:
CMode: IEEE 802.11g  Channel: 7  Frequency: 2442 MHz
Flushing old station entries
Deauthenticate all stations
Using interface wlan0 with hwaddr d8:5d:4c:d6:88:19 and ssid 'Klaudiq'
SSID - hexdump_ascii(len=7):
     4b 6c 61 75 64 69 71                              Klaudiq
PSK (ASCII passphrase) - hexdump_ascii(len=15):
     74 69 6e 63 68 65 76 77 69 66 69 35 36 32 35      testtest123
PSK (from passphrase) - hexdump(len=32): cc 9e 88 3e 9a 8f 8d 01 f2 16 f4 87 63                                                                              8b 4f a3 53 07 41 d8 ea f2 95 6f ee e8 04 87 b7 dc ff 06
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
GMK - hexdump(len=32): [REMOVED]
GTK - hexdump(len=16): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
wlan0: Setup of interface done.
MGMT (TX callback) ACK
STA 00:13:e8:21:3c:41 sent probe request for broadcast SSID
STA 00:13:e8:21:3c:41 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:13:e8:21:3c:41 sent probe request for broadcast SSID
STA 00:13:e8:21:3c:41 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:13:e8:21:3c:41 sent probe request for broadcast SSID
STA 00:13:e8:21:3c:41 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:13:e8:21:3c:41 sent probe request for broadcast SSID
STA 00:13:e8:21:3c:41 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) fail
mgmt::proberesp cb
STA 00:13:e8:21:3c:41 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:13:e8:21:3c:41 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:13:e8:21:3c:41 sent probe request for broadcast SSID
STA 00:13:e8:21:3c:41 sent probe request for our SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT
mgmt::auth
authentication: STA=00:13:e8:21:3c:41 auth_alg=0 auth_transaction=1 status_code=0 wep=0
  New STA
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:13:e8:21:3c:41 MLME: MLME-AUTHENTICATE.indication(00:13:e8:21:3c:41, OPEN_SYSTEM)
wlan0: STA 00:13:e8:21:3c:41 MLME: MLME-DELETEKEYS.request(00:13:e8:21:3c:41)
authentication reply: STA=00:13:e8:21:3c:41 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
MGMT (TX callback) ACK
mgmt::auth cb
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.11: authenticated
MGMT
mgmt::assoc_req
association request: STA=00:13:e8:21:3c:41 capab_info=0x411 listen_interval=10
WMM IE - hexdump(len=7): 00 50 f2 02 00 01 00
Validating WMM IE: OUI 00:50:f2  OUI type 2  OUI sub-type 0  version 1  QoS info 0x0
HT: STA 00:13:e8:21:3c:41 HT Capabilities Info: 0x083c
handle_assoc STA 00:13:e8:21:3c:41 - 20 MHz HT, num of 20MHz HT STAs 1
hostapd_ht_operation_update current operation mode=0x0
hostapd_ht_operation_update new operation mode=0x2 changes=1
  new AID 1
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.11: association OK (aid 1)
MGMT (TX callback) ACK
mgmt::assoc_resp cb
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.11: associated (aid 1)
wlan0: STA 00:13:e8:21:3c:41 MLME: MLME-ASSOCIATE.indication(00:13:e8:21:3c:41)
wlan0: STA 00:13:e8:21:3c:41 MLME: MLME-DELETEKEYS.request(00:13:e8:21:3c:41)
wlan0: STA 00:13:e8:21:3c:41 WPA: event 1 notification
wlan0: STA 00:13:e8:21:3c:41 WPA: start authentication
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state INITIALIZE
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.1X: unauthorizing port
WPA: 00:13:e8:21:3c:41 WPA_PTK_GROUP entering state IDLE
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state AUTHENTICATION
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state AUTHENTICATION2
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state INITPSK
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state PTKSTART
wlan0: STA 00:13:e8:21:3c:41 WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
IEEE 802.1X: 00:13:e8:21:3c:41 TX status - version=2 type=3 length=95 - ack=0
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.1X: did not Ack EAPOL-Key frame (broadcast index=60)
wlan0: STA 00:13:e8:21:3c:41 WPA: EAPOL-Key timeout
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state PTKSTART
wlan0: STA 00:13:e8:21:3c:41 WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
IEEE 802.1X: 00:13:e8:21:3c:41 TX status - version=2 type=3 length=95 - ack=0
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.1X: did not Ack EAPOL-Key frame (broadcast index=60)
wlan0: STA 00:13:e8:21:3c:41 WPA: EAPOL-Key timeout
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state PTKSTART
wlan0: STA 00:13:e8:21:3c:41 WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
IEEE 802.1X: 00:13:e8:21:3c:41 TX status - version=2 type=3 length=95 - ack=0
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.1X: did not Ack EAPOL-Key frame (broadcast index=60)
wlan0: STA 00:13:e8:21:3c:41 WPA: EAPOL-Key timeout
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state PTKSTART
wlan0: STA 00:13:e8:21:3c:41 WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
IEEE 802.1X: 00:13:e8:21:3c:41 TX status - version=2 type=3 length=95 - ack=0
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.1X: did not Ack EAPOL-Key frame (broadcast index=60)
wlan0: STA 00:13:e8:21:3c:41 WPA: EAPOL-Key timeout
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state PTKSTART
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state DISCONNECT
hostapd_wpa_auth_disconnect: WPA authenticator requests disconnect: STA 00:13:e8:21:3c:41 reason 2
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state DISCONNECTED
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state INITIALIZE
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.1X: unauthorizing port
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.11: deauthenticated due to local deauth request
hostapd_ht_operation_update current operation mode=0x2
hostapd_ht_operation_update new operation mode=0x0 changes=1
MGMT (TX callback) ACK
STA 00:13:e8:21:3c:41 sent probe request for broadcast SSID
STA 00:13:e8:21:3c:41 sent probe request for our SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT
mgmt::auth
authentication: STA=00:13:e8:21:3c:41 auth_alg=0 auth_transaction=1 status_code=0 wep=0
  New STA
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:13:e8:21:3c:41 MLME: MLME-AUTHENTICATE.indication(00:13:e8:21:3c:41, OPEN_SYSTEM)
wlan0: STA 00:13:e8:21:3c:41 MLME: MLME-DELETEKEYS.request(00:13:e8:21:3c:41)
authentication reply: STA=00:13:e8:21:3c:41 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
MGMT (TX callback) ACK
mgmt::auth cb
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.11: authenticated
MGMT
mgmt::assoc_req
association request: STA=00:13:e8:21:3c:41 capab_info=0x411 listen_interval=10
WMM IE - hexdump(len=7): 00 50 f2 02 00 01 00
Validating WMM IE: OUI 00:50:f2  OUI type 2  OUI sub-type 0  version 1  QoS info 0x0
HT: STA 00:13:e8:21:3c:41 HT Capabilities Info: 0x083c
handle_assoc STA 00:13:e8:21:3c:41 - 20 MHz HT, num of 20MHz HT STAs 1
hostapd_ht_operation_update current operation mode=0x0
hostapd_ht_operation_update new operation mode=0x2 changes=1
  new AID 1
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.11: association OK (aid 1)
MGMT (TX callback) ACK
mgmt::assoc_resp cb
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.11: associated (aid 1)
wlan0: STA 00:13:e8:21:3c:41 MLME: MLME-ASSOCIATE.indication(00:13:e8:21:3c:41)
wlan0: STA 00:13:e8:21:3c:41 MLME: MLME-DELETEKEYS.request(00:13:e8:21:3c:41)
wlan0: STA 00:13:e8:21:3c:41 WPA: event 1 notification
wlan0: STA 00:13:e8:21:3c:41 WPA: start authentication
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state INITIALIZE
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.1X: unauthorizing port
WPA: 00:13:e8:21:3c:41 WPA_PTK_GROUP entering state IDLE
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state AUTHENTICATION
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state AUTHENTICATION2
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state INITPSK
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state PTKSTART
wlan0: STA 00:13:e8:21:3c:41 WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
IEEE 802.1X: 00:13:e8:21:3c:41 TX status - version=2 type=3 length=95 - ack=0
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.1X: did not Ack EAPOL-Key frame (broadcast index=60)
wlan0: STA 00:13:e8:21:3c:41 WPA: EAPOL-Key timeout
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state PTKSTART
wlan0: STA 00:13:e8:21:3c:41 WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
IEEE 802.1X: 00:13:e8:21:3c:41 TX status - version=2 type=3 length=95 - ack=1
IEEE 802.1X: 123 bytes from 00:13:e8:21:3c:41
   IEEE 802.1X: version=1 type=3 length=119
wlan0: STA 00:13:e8:21:3c:41 WPA: received EAPOL-Key frame (2/4 Pairwise)
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state PTKCALCNEGOTIATING
WPA: PTK derivation - A1=d8:5d:4c:d6:88:19 A2=00:13:e8:21:3c:41
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=48): [REMOVED]
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state PTKCALCNEGOTIATING2
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state PTKINITNEGOTIATING
wlan0: STA 00:13:e8:21:3c:41 WPA: sending 3/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=1 pairwise=8 kde_len=46 keyidx=1 encr=1)
Plaintext EAPOL-Key Key Data - hexdump(len=56): [REMOVED]
IEEE 802.1X: 00:13:e8:21:3c:41 TX status - version=2 type=3 length=151 - ack=0
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.1X: did not Ack EAPOL-Key frame (broadcast index=60)
wlan0: STA 00:13:e8:21:3c:41 WPA: EAPOL-Key timeout
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state PTKINITNEGOTIATING
wlan0: STA 00:13:e8:21:3c:41 WPA: sending 3/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=1 pairwise=8 kde_len=46 keyidx=1 encr=1)
Plaintext EAPOL-Key Key Data - hexdump(len=56): [REMOVED]
IEEE 802.1X: 00:13:e8:21:3c:41 TX status - version=2 type=3 length=151 - ack=0
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.1X: did not Ack EAPOL-Key frame (broadcast index=60)
wlan0: STA 00:13:e8:21:3c:41 WPA: EAPOL-Key timeout
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state PTKINITNEGOTIATING
wlan0: STA 00:13:e8:21:3c:41 WPA: sending 3/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=1 pairwise=8 kde_len=46 keyidx=1 encr=1)
Plaintext EAPOL-Key Key Data - hexdump(len=56): [REMOVED]
IEEE 802.1X: 00:13:e8:21:3c:41 TX status - version=2 type=3 length=151 - ack=0
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.1X: did not Ack EAPOL-Key frame (broadcast index=60)
wlan0: STA 00:13:e8:21:3c:41 WPA: EAPOL-Key timeout
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state PTKINITNEGOTIATING
wlan0: STA 00:13:e8:21:3c:41 WPA: sending 3/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=1 pairwise=8 kde_len=46 keyidx=1 encr=1)
Plaintext EAPOL-Key Key Data - hexdump(len=56): [REMOVED]
IEEE 802.1X: 00:13:e8:21:3c:41 TX status - version=2 type=3 length=151 - ack=1
IEEE 802.1X: 99 bytes from 00:13:e8:21:3c:41
   IEEE 802.1X: version=1 type=3 length=95
wlan0: STA 00:13:e8:21:3c:41 WPA: received EAPOL-Key frame (4/4 Pairwise)
WPA: 00:13:e8:21:3c:41 WPA_PTK entering state PTKINITDONE
wlan0: STA 00:13:e8:21:3c:41 IEEE 802.1X: authorizing port
wlan0: STA 00:13:e8:21:3c:41 RADIUS: starting accounting session 4D8AC0F8-00000000
wlan0: STA 00:13:e8:21:3c:41 WPA: pairwise key handshake completed (RSN)
MGMT (TX callback) ACK
mgmt::action cb
Thanks in advance for helping.
 
Old 03-25-2011, 10:47 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 9,479

Rep: Reputation: 990Reputation: 990Reputation: 990Reputation: 990Reputation: 990Reputation: 990Reputation: 990Reputation: 990
Try the basics. What is your wifi card, & driver? Have you got the correct firmware installed?
wpa_supplicant is involved - is the key stuff ok?
Try doing it manually
modprobe <your wifi module>
ifconfig wlan0 up
ifconfig wlan0 - should show a nic in reasonable shape w/irq etc.
iwlist wlan0 scan |less
& pick out your own network
Take your passphrase, run it through wpa_passphrase (WIFI's best kept secret) and get your usable psk

wpa_supplicant -Dwext(unless you know better) -iwlan0 -C/path/to/wpa_supplicant.conf w/ usable psk> && dhcpcd (or dhclient) wlan0
 
Old 03-26-2011, 03:31 AM   #3
geshuni
LQ Newbie
 
Registered: Dec 2010
Posts: 17

Original Poster
Rep: Reputation: 0
I fixed the problem, thx, the problem with not obtaining an IP address was that in the bridge connection br0 there was only 1 interface - eth0(that's why I had internet on my PC), I added the wlan0 and everything worked out.
 
  


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
WiFi problem mi6091 Linux - Newbie 6 06-17-2010 09:22 AM
[SOLVED] Wifi problem danne123 Linux - Newbie 3 11-07-2009 02:18 PM
Wifi problem in ubuntu 9.04 with atheros wifi card raghulmz Linux - Hardware 1 10-28-2009 05:58 AM
Slackware 12.0: boot problem & sudo / wifi-radar problem War_Ensemble Slackware 7 01-15-2008 10:49 AM
Wifi Problem EUMan24 Fedora 10 04-16-2006 03:17 AM

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

All times are GMT -5. The time now is 03:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration