Code: Alles auswählen
~# hostapd -dd /etc/hostapd/hostapd.conf
random: getrandom() support available
Configuration file: /etc/hostapd/hostapd.conf
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:10
nl80211: Supported cipher 00-0f-ac:8
nl80211: Supported cipher 00-0f-ac:9
nl80211: Supported cipher 00-0f-ac:6
nl80211: Supported cipher 00-0f-ac:13
nl80211: Supported cipher 00-0f-ac:11
nl80211: Supported cipher 00-0f-ac:12
nl80211: Using driver-based off-channel TX
nl80211: Driver-advertised extended capabilities (default) - hexdump(len=8): 00 00 00 00 00 00 00 40
nl80211: Driver-advertised extended capabilities mask (default) - hexdump(len=8): 00 00 00 00 00 00 00 40
nl80211: interface wlan2 in phy phy1
nl80211: Set mode ifindex 5 iftype 3 (AP)
nl80211: Setup AP(wlan2) - device_ap_sme=0 use_monitor=0
nl80211: Subscribe to mgmt frames with AP handle 0x561025808090
nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x561025808090 match=
nl80211: Register frame command failed (type=176): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=0): [NULL]
nl80211: Could not configure driver mode
nl80211: deinit ifname=wlan2 disabled_11b_rates=0
nl80211: Remove monitor interface: refcount=0
nl80211: Remove beacon (ifindex=5)
netlink: Operstate: ifindex=5 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211 driver initialization failed.
hostapd_interface_deinit_free(0x561025803980)
hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
hostapd_interface_deinit(0x561025803980)
wlan2: interface state UNINITIALIZED->DISABLED
hostapd_bss_deinit: deinit bss wlan2
wlan2: AP-DISABLED
hostapd_cleanup(hapd=0x561025804e80 (wlan2))
wlan2: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan2 wasn't started
hostapd_interface_deinit_free: driver=(nil) drv_priv=(nil) -> hapd_deinit
hostapd_interface_free(0x561025803980)
hostapd_interface_free: free hapd 0x561025804e80
hostapd_cleanup_iface(0x561025803980)
hostapd_cleanup_iface_partial(0x561025803980)
hostapd_cleanup_iface: free iface=0x561025803980
Code: Alles auswählen
iface wlan2 inet static
address 192.168.101.251
netmask 255.255.255.0
broadcast 192.168.101.255
ip a:
Code: Alles auswählen
wlan2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 00:0d:81:ac:74:d6 brd ff:ff:ff:ff:ff:ff
inet 192.168.101.251/24 brd 192.168.101.255 scope global wlan2
Code: Alles auswählen
interface=wlan2
driver=nl80211
ssid=hostapd1
channel=1
ieee80211d=1
country_code=DE
ieee80211n=1
hw_mode=g
auth_algs=1
wpa=2
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
wpa_passphrase=[WPA-PW]
Hat jemand eine Idee, warum es nicht funktioniert?