ked idem podľa toho návodu a spustím hostapd dostanem toto
kabell@kabell-H67M-D2:~/hostapd$ sudo hostapd -ddd /home/kabell/hostapd/hostapd_open.conf
Configuration file: /home/kabell/hostapd/hostapd_open.conf
ctrl_interface_group=0
nl80211: Register Action command failed: ret=-114 (Operation already in progress)
nl80211: Register Action match - hexdump(len=1): 06
nl80211: Failed to register Action frame processing - ignore for now
nl80211: Add own interface ifindex 3
nl80211: New interface mon.wlan0 created: ifindex=8
nl80211: Add own interface ifindex 8
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
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=0x1
RATE[1] rate=20 flags=0x1
RATE[2] rate=55 flags=0x1
RATE[3] rate=110 flags=0x1
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] rate=540 flags=0x0
Completing interface initialization
Mode: IEEE 802.11g Channel: 9 Frequency: 2452 MHz
Flushing old station entries
Deauthenticate all stations
wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil) key_idx=0 set_tx=1 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
Using interface wlan0 with hwaddr f4:ec:38:87:10:c7 and ssid 'HSHNET'
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
GMK - hexdump(len=32): [REMOVED]
GTK - hexdump(len=32): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
wpa_driver_nl80211_set_key: ifindex=3 alg=2 addr=(nil) key_idx=1 set_tx=1 seq_len=0 key_len=32
nl80211: Set beacon (beacon_set=0)
wlan0: Setup of interface done.
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
RTM_NEWLINK, IFLA_IFNAME: Interface 'mon.wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mon.wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
STA a0:0b:ba:ba:7c:da sent probe request for broadcast SSID
mgmt::proberesp cb
STA a0:0b:ba:ba:7c:da sent probe request for broadcast SSID
mgmt::proberesp cb
STA a0:0b:ba:ba:7c:da sent probe request for broadcast SSID
mgmt::proberesp cb
STA a0:0b:ba:ba:7c:da sent probe request for broadcast SSID
mgmt::proberesp cb
STA a0:0b:ba:ba:7c:da sent probe request for broadcast SSID
mgmt::proberesp cb
STA a0:0b:ba:ba:7c:da sent probe request for our SSID
STA a0:0b:ba:ba:7c:da sent probe request for broadcast SSID
mgmt::proberesp cb
mgmt::proberesp cb
STA a0:0b:ba:ba:7c:da sent probe request for our SSID
mgmt::auth
authentication: STA=a0:0b:ba:ba:7c:da auth_alg=0 auth_transaction=1 status_code=0 wep=0
New STA
wlan0: STA a0:0b:ba:ba:7c:da IEEE 802.11: authentication OK (open system)
wlan0: STA a0:0b:ba:ba:7c:da MLME: MLME-AUTHENTICATE.indication(a0:0b:ba:ba:7c:da, OPEN_SYSTEM)
wlan0: STA a0:0b:ba:ba:7c:da MLME: MLME-DELETEKEYS.request(a0:0b:ba:ba:7c:da)
authentication reply: STA=a0:0b:ba:ba:7c:da auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::proberesp cb
mgmt::assoc_req
association request: STA=a0:0b:ba:ba:7c:da capab_info=0x411 listen_interval=10
new AID 1
nl80211: Set beacon (beacon_set=1)
wlan0: STA a0:0b:ba:ba:7c:da IEEE 802.11: association OK (aid 1)
mgmt::auth cb
wlan0: STA a0:0b:ba:ba:7c:da IEEE 802.11: authenticated
mgmt::assoc_resp cb
wlan0: STA a0:0b:ba:ba:7c:da IEEE 802.11: associated (aid 1)
wlan0: STA a0:0b:ba:ba:7c:da MLME: MLME-ASSOCIATE.indication(a0:0b:ba:ba:7c:da)
wlan0: STA a0:0b:ba:ba:7c:da MLME: MLME-DELETEKEYS.request(a0:0b:ba:ba:7c:da)
wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0x14137c0 key_idx=0 set_tx=1 seq_len=0 key_len=0
addr=a0:0b:ba:ba:7c:da
wlan0: STA a0:0b:ba:ba:7c:da WPA: event 1 notification
wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0x14137c0 key_idx=0 set_tx=1 seq_len=0 key_len=0
addr=a0:0b:ba:ba:7c:da
wlan0: STA a0:0b:ba:ba:7c:da WPA: start authentication
WPA: a0:0b:ba:ba:7c:da WPA_PTK entering state INITIALIZE
wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0x14137c0 key_idx=0 set_tx=1 seq_len=0 key_len=0
addr=a0:0b:ba:ba:7c:da
wlan0: STA a0:0b:ba:ba:7c:da IEEE 802.1X: unauthorizing port
WPA: a0:0b:ba:ba:7c:da WPA_PTK_GROUP entering state IDLE
WPA: a0:0b:ba:ba:7c:da WPA_PTK entering state AUTHENTICATION
WPA: a0:0b:ba:ba:7c:da WPA_PTK entering state AUTHENTICATION2
WPA: a0:0b:ba:ba:7c:da WPA_PTK entering state INITPSK
WPA: a0:0b:ba:ba:7c:da WPA_PTK entering state PTKSTART
wlan0: STA a0:0b:ba:ba:7c:da WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=1 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
nl80211: Event message available
nl80211: Ignored unknown event (cmd=19)
wlan0: STA a0:0b:ba:ba:7c:da WPA: EAPOL-Key timeout
WPA: a0:0b:ba:ba:7c:da WPA_PTK entering state PTKSTART
wlan0: STA a0:0b:ba:ba:7c:da WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=1 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
IEEE 802.1X: a0:0b:ba:ba:7c:da TX status - version=2 type=3 length=95 - ack=1
IEEE 802.1X: a0:0b:ba:ba:7c:da TX status - version=2 type=3 length=95 - ack=1
IEEE 802.1X: 121 bytes from a0:0b:ba:ba:7c:da
IEEE 802.1X: version=1 type=3 length=117
wlan0: STA a0:0b:ba:ba:7c:da WPA: received EAPOL-Key frame (2/4 Pairwise)
WPA: a0:0b:ba:ba:7c:da WPA_PTK entering state PTKCALCNEGOTIATING
WPA: PTK derivation - A1=f4:ec:38:87:10:c7 A2=a0:0b:ba:ba:7c:da
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
WPA: a0:0b:ba:ba:7c:da WPA_PTK entering state PTKCALCNEGOTIATING2
WPA: a0:0b:ba:ba:7c:da WPA_PTK entering state PTKINITNEGOTIATING
wlan0: STA a0:0b:ba:ba:7c:da WPA: sending 3/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=1 secure=1 mic=1 ack=1 install=1 pairwise=8 kde_len=86 keyidx=1 encr=1)
Plaintext EAPOL-Key Key Data - hexdump(len=86): [REMOVED]
IEEE 802.1X: a0:0b:ba:ba:7c:da TX status - version=2 type=3 length=181 - ack=1
IEEE 802.1X: 99 bytes from a0:0b:ba:ba:7c:da
IEEE 802.1X: version=1 type=3 length=95
wlan0: STA a0:0b:ba:ba:7c:da WPA: received EAPOL-Key frame (4/4 Pairwise)
WPA: a0:0b:ba:ba:7c:da WPA_PTK entering state PTKINITDONE
wpa_driver_nl80211_set_key: ifindex=3 alg=2 addr=0x14137c0 key_idx=0 set_tx=1 seq_len=0 key_len=32
addr=a0:0b:ba:ba:7c:da
AP-STA-CONNECTED a0:0b:ba:ba:7c:da
wlan0: STA a0:0b:ba:ba:7c:da IEEE 802.1X: authorizing port
wlan0: STA a0:0b:ba:ba:7c:da RADIUS: starting accounting session 502F340F-00000000
wlan0: STA a0:0b:ba:ba:7c:da WPA: pairwise key handshake completed (RSN)
STA a0:0b:ba:ba:7c:da sent probe request for our SSID
STA a0:0b:ba:ba:7c:da sent probe request for broadcast SSID
STA a0:0b:ba:ba:7c:da sent probe request for our SSID
mgmt::proberesp cb
mgmt::proberesp cb
mgmt::proberesp cb
STA a0:0b:ba:ba:7c:da sent probe request for our SSID
STA a0:0b:ba:ba:7c:da sent probe request for broadcast SSID
mgmt::proberesp cb
mgmt::proberesp cb
STA a0:0b:ba:ba:7c:da sent probe request for our SSID
STA a0:0b:ba:ba:7c:da sent probe request for broadcast SSID
mgmt::proberesp cb
mgmt::proberesp cb
STA a0:0b:ba:ba:7c:da sent probe request for our SSID
STA a0:0b:ba:ba:7c:da sent probe request for broadcast SSID
mgmt::proberesp cb
mgmt::proberesp cb
STA a0:0b:ba:ba:7c:da sent probe request for broadcast SSID
STA a0:0b:ba:ba:7c:da sent probe request for broadcast SSID
mgmt::proberesp cb
mgmt::proberesp cb
STA a0:0b:ba:ba:7c:da sent probe request for our SSID
STA a0:0b:ba:ba:7c:da sent probe request for broadcast SSID
STA a0:0b:ba:ba:7c:da sent probe request for our SSID
mgmt::proberesp cb
mgmt::proberesp cb
mgmt::proberesp cb
STA a0:0b:ba:ba:7c:da sent probe request for our SSID
STA a0:0b:ba:ba:7c:da sent probe request for our SSID
mgmt::proberesp cb
mgmt::proberesp cb
STA a0:0b:ba:ba:7c:da sent probe request for our SSID
STA a0:0b:ba:ba:7c:da sent probe request for broadcast SSID
mgmt::proberesp cb
mgmt::proberesp cb
STA a0:0b:ba:ba:7c:da sent probe request for broadcast SSID
mgmt::proberesp cb
STA a0:0b:ba:ba:7c:da sent probe request for our SSID
STA a0:0b:ba:ba:7c:da sent probe request for broadcast SSID
STA a0:0b:ba:ba:7c:da sent probe request for our SSID
mgmt::proberesp cb
mgmt::proberesp cb
mgmt::proberesp cb
STA a0:0b:ba:ba:7c:da sent probe request for our SSID
mgmt::proberesp cb
STA a0:0b:ba:ba:7c:da sent probe request for our SSID
mgmt::proberesp cb
mgmt::disassoc
disassocation: STA=a0:0b:ba:ba:7c:da reason_code=8
AP-STA-DISCONNECTED a0:0b:ba:ba:7c:da
wlan0: STA a0:0b:ba:ba:7c:da WPA: event 2 notification
wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0x14137c0 key_idx=0 set_tx=1 seq_len=0 key_len=0
addr=a0:0b:ba:ba:7c:da
WPA: a0:0b:ba:ba:7c:da WPA_PTK entering state DISCONNECTED
WPA: a0:0b:ba:ba:7c:da WPA_PTK entering state INITIALIZE
wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0x14137c0 key_idx=0 set_tx=1 seq_len=0 key_len=0
addr=a0:0b:ba:ba:7c:da
wlan0: STA a0:0b:ba:ba:7c:da IEEE 802.1X: unauthorizing port
wlan0: STA a0:0b:ba:ba:7c:da IEEE 802.11: disassociated
wlan0: STA a0:0b:ba:ba:7c:da MLME: MLME-DISASSOCIATE.indication(a0:0b:ba:ba:7c:da, 8)
wlan0: STA a0:0b:ba:ba:7c:da MLME: MLME-DELETEKEYS.request(a0:0b:ba:ba:7c:da)
wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0x14137c0 key_idx=0 set_tx=1 seq_len=0 key_len=0
addr=a0:0b:ba:ba:7c:da
nl80211: Event message available
nl80211: Ignored unknown event (cmd=20)
Sending deauthentication info to STA a0:0b:ba:ba:7c:da
wlan0: STA a0:0b:ba:ba:7c:da IEEE 802.11: deauthenticated due to inactivity
wlan0: STA a0:0b:ba:ba:7c:da MLME: MLME-DEAUTHENTICATE.indication(a0:0b:ba:ba:7c:da, 2)
wlan0: STA a0:0b:ba:ba:7c:da MLME: MLME-DELETEKEYS.request(a0:0b:ba:ba:7c:da)
wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0x14137c0 key_idx=0 set_tx=1 seq_len=0 key_len=0
addr=a0:0b:ba:ba:7c:da
nl80211: Set beacon (beacon_set=1)
STA a0:0b:ba:ba:7c:da sent probe request for broadcast SSID
mgmt::proberesp cb
STA a0:0b:ba:ba:7c:da sent probe request for broadcast SSID
mgmt::proberesp cb
^CSignal 2 received - terminating
Flushing old station entries
Deauthenticate all stations
nl80211: Remove interface ifindex=8
netlink: Operstate: linkmode=0, operstate=6
moje nastavenia
interface=wlan0
driver=nl80211
logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=0
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=HSHNET
auth_algs=3
eapol_key_index_workaround=0
eap_server=0
wpa=3
wpa_psk_file=/etc/hostapd/wpa_psk
wpa_key_mgmt=WPA-PSK
channel=9
hw_mode=g
wpa_pairwise=TKIP
wme_enabled=0
v mobile vždy vidím tú sieť, ale k PS na nikdy nepripojí nechápem prečo