Official Website: http://linuxwireless.org/en/users/documentation/hostapd.
The methods used on the Internet have never been configured successfully. I checked the hostapd version, which is 0.7. I think it may be because the version is too low. I downloaded the reinstallation of hostapd1.1 from the official website. during compilation, two problems:
1. Error: netlink/genl. h: the file or directory does not exist,
Solution: sudo apt-get install libnl-dev
2. Error: openssl/ssl. h: the file or directory does not exist.
Solution: sudo apt-get install libssl-dev
The following error occurs when the instructions on the installation website are configured and links are required:
Random: not enough entropy in random pool for secure operations
I am using the following methods:
mv /dev/random ln -s /dev/urandom /dev/random
However
Wlan0: STA 08: 10: 74: d7: e5: 81 IEEE 802.11: authenticated
Wlan0: STA 08: 10: 74: d7: e5: 81 IEEE 802.11: associated (aid 1)
Wlan0: STA f0: 7b: cb: 9f: c5: e5 IEEE 802.11: authenticated
Wlan0: STA f0: 7b: cb: 9f: c5: e5 IEEE 802.11: associated (aid 2)
Wlan0: STA 08: 10: 74: d7: e5: 81 IEEE 802.11: deauthenticated due to local deauth request
Wlan0: STA 08: 10: 74: d7: e5: 81 IEEE 802.11: authenticated
Wlan0: STA 08: 10: 74: d7: e5: 81 IEEE 802.11: associated (aid 1)
Wlan0: STA f0: 7b: cb: 9f: c5: e5 IEEE 802.11: deauthenticated due to local deauth request
Wlan0: STA f0: 7b: cb: 9f: c5: e5 IEEE 802.11: authenticated
Wlan0: STA f0: 7b: cb: 9f: c5: e5 IEEE 802.11: associated (aid 2)
Unable to connect to this problem, waiting for resolution