LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-07-2009, 10:15 AM   #1
kummiliim
Member
 
Registered: Mar 2007
Location: Tallinn, Estonia
Distribution: Slackware 12.0
Posts: 276

Rep: Reputation: 30
Can't manage to set up a router (eth1 bridged w/ wlan0 connected to eth0 Internet)


Hi. I'm having serious problems with setting up my setup here. I managed to pull the exact same setup off before but that was with some other drivers that I can't find now.

I have a router box. It is connected to the ISP through eth0. Then I also have eth1 and wlan0 that should become the internal network which is routed through eth0. The wifi card according to lspci is Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01).

First I tried setting up hostapd but it didn't work because the card couldn't be set into Master mode. I googled around, installed compat-wireless (2009-09-06), got the new ath5k module, with that hostapd works and creates a second interface mon.wlan0.

Now first of all I'd like to get the bridge to work. If I run hostapd without any bridges I get authenticated successfully (using WPA2). If I bridge wlan0 with eth1 beforehand (brctl -> addbr -> 2x addif) I can still run hostapd but I can't authenticate. The output is something like:
Code:
10
wlan0: STA $MAC_ADDR IEEE 802.11 authenticated
wlan0: STA $MAC_ADDR IEEE 802.11 associated (aid 1)
wlan0: STA $MAC_ADDR IEEE 802.11 disassociated
wlan0: STA $MAC_ADDR IEEE 802.11 deauthenticated due to inactivity
goto 10
This will keep repeating and I can't connect to the AP.

If I run hostapd beforehand and mon.wlan0 appears (which I actually manipulate with ifconfig if I want to do anything, not wlan0 it seems) and I try to bridge mon.wlan0 with eth1 I get:
Code:
can't add mon.wlan0 to bridge br0: Invalid argument
The third idea I had was to bridge eth0 and wlan0 beforehand and then try to run hostapd using the br0 interface but of course, that didn't work either:
Code:
Configuration file: /etc/hostapd.conf
Failed to create interface mon.br0.
nl80211 driver initialization failed.
So now I run out of good ideas. I'll add if I remember anything else useful.

edit: for example that I run Slackware 13.0 and the kernel is 2.6.29.6.
 
Old 09-08-2009, 03:47 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,409

Rep: Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338
wlan0 shouldn't stop after a few seconds of inactivity. Set power management to off.

I would try swapping settings for eth0 and eth4(=wlan0), making eth0 the default route and see if that helps if the above doesn't work.
 
Old 09-12-2009, 06:07 AM   #3
kummiliim
Member
 
Registered: Mar 2007
Location: Tallinn, Estonia
Distribution: Slackware 12.0
Posts: 276

Original Poster
Rep: Reputation: 30
Didn't help and I'm pretty sure thats not the problem. I get "deauthenticated due to inactivity" when not using encryption and "deauthenticated due to local deauth request" when using wpa. Both work fine when the wireless interface is not bridged.

Here's my /etc/hostapd.conf:
Code:
interface=wlan0
driver=nl80211
ssid=NO_CARRIER
channel=8
wpa=2
wpa_passphrase=testtest
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
wpa_group_rekey=600
And here's the output of 'hostapd -dd /etc/hostapd.conf':
Code:
Configuration file: /etc/hostapd.conf
Opening raw packet socket for ifindex 209
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
nl80211: Added 802.11b mode based on 802.11g information
Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=20 dBm
RATE[0] rate=10 flags=0x2
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x4
RATE[3] rate=110 flags=0x4
Passive scanning not supported
Flushing old station entries
Deauthenticate all stations
Mode: IEEE 802.11b  Channel: 8  Frequency: 2447 MHz
Using interface wlan0 with hwaddr 00:1d:0f:b3:d0:b1 and ssid 'NO_CARRIER'
SSID - hexdump_ascii(len=10):
     4e 4f 5f 43 41 52 52 49 45 52                     NO_CARRIER      
PSK (ASCII passphrase) - hexdump_ascii(len=8):
     74 65 73 74 74 65 73 74                           testtest        
PSK (from passphrase) - hexdump(len=32): a6 95 b1 14 50 62 7a de a1 09 93 d6 d7 36 0d c5 91 de 68 62 69 48 28 34 c6 dd 73 14 cf 8c b3 50
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.

----
#lot's of beacon rubbish
----

STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT
mgmt::auth
authentication: STA=00:16:6f:c7:41:25 auth_alg=0 auth_transaction=1 status_code=0 wep=0
  New STA
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:6f:c7:41:25 MLME: MLME-AUTHENTICATE.indication(00:16:6f:c7:41:25, OPEN_SYSTEM)
wlan0: STA 00:16:6f:c7:41:25 MLME: MLME-DELETEKEYS.request(00:16:6f:c7:41:25)
authentication reply: STA=00:16:6f:c7:41:25 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
MGMT (TX callback) ACK
mgmt::auth cb
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: authenticated
MGMT
mgmt::assoc_req
association request: STA=00:16:6f:c7:41:25 capab_info=0x11 listen_interval=10
  new AID 1
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: association OK (aid 1)
MGMT (TX callback) ACK
mgmt::assoc_resp cb
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: associated (aid 1)
wlan0: STA 00:16:6f:c7:41:25 MLME: MLME-ASSOCIATE.indication(00:16:6f:c7:41:25)
wlan0: STA 00:16:6f:c7:41:25 MLME: MLME-DELETEKEYS.request(00:16:6f:c7:41:25)
wlan0: STA 00:16:6f:c7:41:25 WPA: event 1 notification
wlan0: STA 00:16:6f:c7:41:25 WPA: start authentication
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state INITIALIZE
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.1X: unauthorizing port
WPA: 00:16:6f:c7:41:25 WPA_PTK_GROUP entering state IDLE
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state AUTHENTICATION
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state AUTHENTICATION2
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state INITPSK
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state PTKSTART
wlan0: STA 00:16:6f:c7:41:25 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:16:6f:c7:41:25 TX status - version=2 type=3 length=95 - ack=1
wlan0: STA 00:16:6f:c7:41:25 WPA: EAPOL-Key timeout
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state PTKSTART
wlan0: STA 00:16:6f:c7:41:25 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:16:6f:c7:41:25 TX status - version=2 type=3 length=95 - ack=1
STA 00:16:6f:c7:41:25 sent probe request for our SSID
STA 00:16:6f:c7:41:25 sent probe request for our SSID
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for our SSID
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for our SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for our SSID
wlan0: STA 00:16:6f:c7:41:25 WPA: EAPOL-Key timeout
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state PTKSTART
wlan0: STA 00:16:6f:c7:41:25 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:16:6f:c7:41:25 TX status - version=2 type=3 length=95 - ack=1
wlan0: STA 00:16:6f:c7:41:25 WPA: EAPOL-Key timeout
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state PTKSTART
wlan0: STA 00:16:6f:c7:41:25 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:16:6f:c7:41:25 TX status - version=2 type=3 length=95 - ack=1
wlan0: STA 00:16:6f:c7:41:25 WPA: EAPOL-Key timeout
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state PTKSTART
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state DISCONNECT
hostapd_wpa_auth_disconnect: WPA authenticator requests disconnect: STA 00:16:6f:c7:41:25 reason 2
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state DISCONNECTED
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state INITIALIZE
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.1X: unauthorizing port
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: deauthenticated due to local deauth request
MGMT (TX callback) ACK
STA 00:16:6f:c7:41:25 sent probe request for our SSID
MGMT (TX callback) fail
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for our SSID
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for our SSID
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT
mgmt::auth
authentication: STA=00:16:6f:c7:41:25 auth_alg=0 auth_transaction=1 status_code=0 wep=0
  New STA
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:6f:c7:41:25 MLME: MLME-AUTHENTICATE.indication(00:16:6f:c7:41:25, OPEN_SYSTEM)
wlan0: STA 00:16:6f:c7:41:25 MLME: MLME-DELETEKEYS.request(00:16:6f:c7:41:25)
authentication reply: STA=00:16:6f:c7:41:25 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
MGMT (TX callback) ACK
mgmt::auth cb
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: authenticated
MGMT
mgmt::assoc_req
association request: STA=00:16:6f:c7:41:25 capab_info=0x11 listen_interval=10
  new AID 1
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: association OK (aid 1)
MGMT (TX callback) ACK
mgmt::assoc_resp cb
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: associated (aid 1)
wlan0: STA 00:16:6f:c7:41:25 MLME: MLME-ASSOCIATE.indication(00:16:6f:c7:41:25)
wlan0: STA 00:16:6f:c7:41:25 MLME: MLME-DELETEKEYS.request(00:16:6f:c7:41:25)
wlan0: STA 00:16:6f:c7:41:25 WPA: event 1 notification
wlan0: STA 00:16:6f:c7:41:25 WPA: start authentication
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state INITIALIZE
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.1X: unauthorizing port
WPA: 00:16:6f:c7:41:25 WPA_PTK_GROUP entering state IDLE
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state AUTHENTICATION
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state AUTHENTICATION2
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state INITPSK
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state PTKSTART
wlan0: STA 00:16:6f:c7:41:25 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:16:6f:c7:41:25 TX status - version=2 type=3 length=95 - ack=1
wlan0: STA 00:16:6f:c7:41:25 WPA: EAPOL-Key timeout
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state PTKSTART
wlan0: STA 00:16:6f:c7:41:25 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:16:6f:c7:41:25 TX status - version=2 type=3 length=95 - ack=1
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:1a:73:75:42:8d sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:1a:73:75:42:8d sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
wlan0: STA 00:16:6f:c7:41:25 WPA: EAPOL-Key timeout
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state PTKSTART
wlan0: STA 00:16:6f:c7:41:25 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:16:6f:c7:41:25 TX status - version=2 type=3 length=95 - ack=1
STA 00:15:af:2a:8a:87 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
wlan0: STA 00:16:6f:c7:41:25 WPA: EAPOL-Key timeout
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state PTKSTART
wlan0: STA 00:16:6f:c7:41:25 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:16:6f:c7:41:25 TX status - version=2 type=3 length=95 - ack=1
wlan0: STA 00:16:6f:c7:41:25 WPA: EAPOL-Key timeout
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state PTKSTART
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state DISCONNECT
hostapd_wpa_auth_disconnect: WPA authenticator requests disconnect: STA 00:16:6f:c7:41:25 reason 2
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state DISCONNECTED
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state INITIALIZE
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.1X: unauthorizing port
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: deauthenticated due to local deauth request
MGMT (TX callback) ACK
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT
mgmt::auth
authentication: STA=00:16:6f:c7:41:25 auth_alg=0 auth_transaction=1 status_code=0 wep=0
  New STA
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:6f:c7:41:25 MLME: MLME-AUTHENTICATE.indication(00:16:6f:c7:41:25, OPEN_SYSTEM)
wlan0: STA 00:16:6f:c7:41:25 MLME: MLME-DELETEKEYS.request(00:16:6f:c7:41:25)
authentication reply: STA=00:16:6f:c7:41:25 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
MGMT (TX callback) ACK
mgmt::auth cb
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: authenticated
MGMT
mgmt::assoc_req
association request: STA=00:16:6f:c7:41:25 capab_info=0x11 listen_interval=10
  new AID 1
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: association OK (aid 1)
MGMT (TX callback) ACK
mgmt::assoc_resp cb
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: associated (aid 1)
wlan0: STA 00:16:6f:c7:41:25 MLME: MLME-ASSOCIATE.indication(00:16:6f:c7:41:25)
wlan0: STA 00:16:6f:c7:41:25 MLME: MLME-DELETEKEYS.request(00:16:6f:c7:41:25)
wlan0: STA 00:16:6f:c7:41:25 WPA: event 1 notification
wlan0: STA 00:16:6f:c7:41:25 WPA: start authentication
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state INITIALIZE
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.1X: unauthorizing port
WPA: 00:16:6f:c7:41:25 WPA_PTK_GROUP entering state IDLE
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state AUTHENTICATION
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state AUTHENTICATION2
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state INITPSK
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state PTKSTART
wlan0: STA 00:16:6f:c7:41:25 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:16:6f:c7:41:25 TX status - version=2 type=3 length=95 - ack=1
wlan0: STA 00:16:6f:c7:41:25 WPA: EAPOL-Key timeout
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state PTKSTART
wlan0: STA 00:16:6f:c7:41:25 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:16:6f:c7:41:25 TX status - version=2 type=3 length=95 - ack=1
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
STA 00:16:6f:c7:41:25 sent probe request for our SSID
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for our SSID
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for our SSID
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
wlan0: STA 00:16:6f:c7:41:25 WPA: EAPOL-Key timeout
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state PTKSTART
wlan0: STA 00:16:6f:c7:41:25 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:16:6f:c7:41:25 TX status - version=2 type=3 length=95 - ack=1
STA 00:15:af:2a:8a:87 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
wlan0: STA 00:16:6f:c7:41:25 WPA: EAPOL-Key timeout
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state PTKSTART
wlan0: STA 00:16:6f:c7:41:25 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:16:6f:c7:41:25 TX status - version=2 type=3 length=95 - ack=1
wlan0: STA 00:16:6f:c7:41:25 WPA: EAPOL-Key timeout
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state PTKSTART
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state DISCONNECT
hostapd_wpa_auth_disconnect: WPA authenticator requests disconnect: STA 00:16:6f:c7:41:25 reason 2
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state DISCONNECTED
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state INITIALIZE
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.1X: unauthorizing port
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: deauthenticated due to local deauth request
MGMT (TX callback) ACK
STA 00:16:6f:c7:41:25 sent probe request for our SSID
MGMT (TX callback) fail
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for our SSID
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for our SSID
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for our SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT
mgmt::auth
authentication: STA=00:16:6f:c7:41:25 auth_alg=0 auth_transaction=1 status_code=0 wep=0
  New STA
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:16:6f:c7:41:25 MLME: MLME-AUTHENTICATE.indication(00:16:6f:c7:41:25, OPEN_SYSTEM)
wlan0: STA 00:16:6f:c7:41:25 MLME: MLME-DELETEKEYS.request(00:16:6f:c7:41:25)
authentication reply: STA=00:16:6f:c7:41:25 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
MGMT (TX callback) ACK
mgmt::auth cb
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: authenticated
MGMT
mgmt::assoc_req
association request: STA=00:16:6f:c7:41:25 capab_info=0x11 listen_interval=10
  new AID 1
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: association OK (aid 1)
MGMT (TX callback) ACK
mgmt::assoc_resp cb
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: associated (aid 1)
wlan0: STA 00:16:6f:c7:41:25 MLME: MLME-ASSOCIATE.indication(00:16:6f:c7:41:25)
wlan0: STA 00:16:6f:c7:41:25 MLME: MLME-DELETEKEYS.request(00:16:6f:c7:41:25)
wlan0: STA 00:16:6f:c7:41:25 WPA: event 1 notification
wlan0: STA 00:16:6f:c7:41:25 WPA: start authentication
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state INITIALIZE
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.1X: unauthorizing port
WPA: 00:16:6f:c7:41:25 WPA_PTK_GROUP entering state IDLE
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state AUTHENTICATION
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state AUTHENTICATION2
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state INITPSK
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state PTKSTART
wlan0: STA 00:16:6f:c7:41:25 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:16:6f:c7:41:25 TX status - version=2 type=3 length=95 - ack=1
wlan0: STA 00:16:6f:c7:41:25 WPA: EAPOL-Key timeout
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state PTKSTART
wlan0: STA 00:16:6f:c7:41:25 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:16:6f:c7:41:25 TX status - version=2 type=3 length=95 - ack=1
wlan0: STA 00:16:6f:c7:41:25 WPA: EAPOL-Key timeout
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state PTKSTART
wlan0: STA 00:16:6f:c7:41:25 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:16:6f:c7:41:25 TX status - version=2 type=3 length=95 - ack=1
MGMT
mgmt::disassoc
disassocation: STA=00:16:6f:c7:41:25 reason_code=1
wlan0: STA 00:16:6f:c7:41:25 WPA: event 2 notification
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state DISCONNECTED
WPA: 00:16:6f:c7:41:25 WPA_PTK entering state INITIALIZE
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.1X: unauthorizing port
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: disassociated
wlan0: STA 00:16:6f:c7:41:25 MLME: MLME-DISASSOCIATE.indication(00:16:6f:c7:41:25, 1)
wlan0: STA 00:16:6f:c7:41:25 MLME: MLME-DELETEKEYS.request(00:16:6f:c7:41:25)
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
wlan0: STA 00:16:6f:c7:41:25 WPA: EAPOL-Key timeout
Sending deauthentication info to STA 00:16:6f:c7:41:25
wlan0: STA 00:16:6f:c7:41:25 IEEE 802.11: deauthenticated due to inactivity
wlan0: STA 00:16:6f:c7:41:25 MLME: MLME-DEAUTHENTICATE.indication(00:16:6f:c7:41:25, 2)
wlan0: STA 00:16:6f:c7:41:25 MLME: MLME-DELETEKEYS.request(00:16:6f:c7:41:25)
MGMT (TX callback) ACK
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) fail
mgmt::proberesp cb
STA 00:15:af:2a:8a:87 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) fail
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:15:af:2a:8a:87 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:15:af:8b:f8:d2 sent probe request for broadcast SSID
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) fail
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:15:af:8b:f8:d2 sent probe request for broadcast SSID
MGMT (TX callback) fail
mgmt::proberesp cb
STA 00:15:af:8b:f8:d2 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:15:af:8b:f8:d2 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:15:af:8b:f8:d2 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) fail
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:15:af:2a:74:ea sent probe request for broadcast SSID
MGMT (TX callback) fail
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) fail
mgmt::proberesp cb
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
Signal 2 received - terminating
STA 00:16:6f:c7:41:25 sent probe request for broadcast SSID
Flushing old station entries
Deauthenticate all stations
where 00:16:6f:c7:41:25 is the client attempting to connect.
 
Old 09-12-2009, 09:45 AM   #4
kummiliim
Member
 
Registered: Mar 2007
Location: Tallinn, Estonia
Distribution: Slackware 12.0
Posts: 276

Original Poster
Rep: Reputation: 30
I finally managed to make it work. First I added 'bridge=br0' to /etc/hostapd.conf, that alone didn't work so from somewhere else I found out I should try 'brctl setfd br0 0' which did help.

The page itself is here if anyone else stumbles on this problem: link
 
  


Reply



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
Eth0 using DHCP and eth1 using static ip: eth0 receive internal ip not the router ip geraldomanaus Linux - Networking 3 04-23-2008 03:00 PM
No Internet But Wlan0 Connected trev2006 Linux - Wireless Networking 3 02-25-2006 02:40 PM
How do I set the ip address for eth0, eth1 and the default gateway? abefroman SUSE / openSUSE 5 05-19-2005 04:15 AM
Mandrake 9.2 can't get network running on eth0 or eth1 but can on wlan0 llindir Linux - Networking 2 03-20-2004 01:11 PM
how to set which NIC is eth0, & which is eth1 roshko Linux - Networking 4 09-01-2003 11:08 AM

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

All times are GMT -5. The time now is 03:30 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