I was running hostapd and it worked fine but i had to reinstall the os and copied the config but now it gives me some problems. First of all hostapd was masked, then i unmasked it and tried to start it but it doesent work.
service hostapd status
un/hostapd.pid -B /etc/hostapd/hostapd.conf
: Configuration file: /etc/hostapd/hostapd.conf
: wlan0: Could not connect to kernel driver
: Using interface wlan0 with hwaddr b8:27:eb:93:08:7c and ssid "Wifi"
: random: Cannot read from /dev/random: Resource temporarily unavailable
: random: Only 0/20 bytes of strong random data available from /dev/random
: random: Not enough entropy pool available for secure operations
: WPA: Not enough entropy in random pool for secure operations - update keys lat
: wlan0: interface state UNINITIALIZED->ENABLED
: wlan0: AP-ENABLED
Started Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.