Hi, two items: 1/ reading logfile, a bug seems found 2/ the main problem is that hostapd stop working, I don't why. The only solution is shutdown , power off, then power on. A reboot is not enough, stop , start of hostapd services same way, not enough Thank you for any advise you may share Hereunder are information collected. ****** about raspberry itself ***** #------------------------------------------------------------------------------ # Some information about raspberry #------------------------------------------------------------------------------ # uname -a Linux raspberrypi 4.14.52-v7+ #1123 SMP Wed Jun 27 17:35:49 BST 2018 armv7l GNU/Linux #------------------------------------------------------------------------------ # lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.4 (stretch) Release: 9.4 Codename: stretch #------------------------------------------------------------------------------ # lsusb Bus 001 Device 005: ID 12d1:14dc Huawei Technologies Co., Ltd. Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub #------------------------------------------------------------------------------ $ vcgencmd get_mem arm && vcgencmd get_mem gpu arm=880M gpu=128M #------------------------------------------------------------------------------ $ vcgencmd version Jul 3 2018 14:21:36 Copyright (c) 2012 Broadcom version 47b05c853342eb6e4ea5b017d981e0ef247fb8be (clean) (release) #------------------------------------------------------------------------------ $ cat /proc/cpuinfo Hardware : BCM2835 Revision : a02082 --> model: Pi 3 Model B 1GB a02082 (Sony, UK) #------------------------------------------------------------------------------ $ cat /proc/device-tree/model Raspberry Pi 3 Model B Rev 1.2 ***** about bug found ***** logfile /tmp/hostapd.log #------------------------------------------------------------------------------ # Is there a bug found? #------------------------------------------------------------------------------ Configuration file: /etc/hostapd/hostapd.conf Failed to create interface mon.wlan0: -95 (Operation not supported) wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE wlan0: Could not connect to kernel driver Using interface wlan0 with hwaddr b8:27:eb:90:2b:a2 and ssid "stmalo2" 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 later when the first station connects wlan0: interface state COUNTRY_UPDATE->ENABLED wlan0: AP-ENABLED wlan0: STA 70:f0:87:e6:6c:28 IEEE 802.11: associated wlan0: AP-STA-CONNECTED 70:f0:87:e6:6c:28 wlan0: STA 70:f0:87:e6:6c:28 RADIUS: starting accounting session 5B585865-00000000 wlan0: STA 70:f0:87:e6:6c:28 WPA: pairwise key handshake completed (RSN) wlan0: STA 70:f0:87:e6:6c:28 WPA: group key handshake completed (RSN) wlan0: AP-STA-DISCONNECTED 70:f0:87:e6:6c:28 WPA: wpa_sm_step() called recursively wlan0: STA 70:f0:87:e6:6c:28 IEEE 802.11: deauthenticated due to local deauth request wlan0: interface state ENABLED->DISABLED wlan0: AP-DISABLED nl80211: deinit ifname=wlan0 disabled_11b_rates=0 eloop: could not process SIGINT or SIGTERM in two seconds. Looks like there is a bug that ends up in a busy loop that prevents clean shutdown. Killing program forcefully. ***** about not working ****** #------------------------------------------------------------------------------ # restart not working #------------------------------------------------------------------------------ 1532520743.020384: Configuration file: /etc/hostapd/hostapd.conf 1532520750.721970: Failed to create interface mon.wlan0: -95 (Operation not supported) 1532520755.843202: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE 1532520755.844071: Could not set channel for kernel driver 1532520755.844105: Interface initialization failed 1532520755.844131: wlan0: interface state COUNTRY_UPDATE->DISABLED 1532520755.844165: wlan0: AP-DISABLED 1532520755.844193: wlan0: Unable to setup interface. 1532520755.844219: wlan0: interface state DISABLED->DISABLED 1532520758.401827: wlan0: AP-DISABLED 1532520758.402019: hostapd_free_hapd_data: Interface wlan0 wasn't started 1532520758.402054: nl80211: deinit ifname=wlan0 disabled_11b_rates=0 #------------------------------------------------------------------------------ # When it works #------------------------------------------------------------------------------ $ cat /tmp/hostapd.log 1532547956.144364: Configuration file: /etc/hostapd/hostapd.conf 1532547956.197447: Failed to create interface mon.wlan0: -95 (Operation not supported) 1532547956.199484: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE 1532547956.237801: wlan0: Could not connect to kernel driver 1532547956.239381: Using interface wlan0 with hwaddr b8:27:eb:90:2b:a2 and ssid "stmalo2" 1532547956.290458: random: Cannot read from /dev/random: Resource temporarily unavailable 1532547956.290544: random: Only 0/20 bytes of strong random data available from /dev/random 1532547956.290558: random: Not enough entropy pool available for secure operations 1532547956.290569: WPA: Not enough entropy in random pool for secure operations - update keys later when the first station connects 1532547956.427667: wlan0: interface state COUNTRY_UPDATE->ENABLED 1532547956.427810: wlan0: AP-ENABLED 1532547958.597127: random: Cannot read from /dev/random: Resource temporarily unavailable 1532547969.771926: 1532547969.771936: wlan0: STA dc:53:60:07:ef:40 IEEE 802.11: associated 1532547969.773664: random: Cannot read from /dev/random: Resource temporarily unavailable 1532547969.773730: random: Only 0/20 bytes of strong random data available from /dev/random 1532547969.773761: random: Not enough entropy pool available for secure operations 1532547969.773786: WPA: Not enough entropy in random pool to proceed - reject first 4-way handshake 1532547969.788833: 1532547969.788841: wlan0: STA dc:53:60:07:ef:40 IEEE 802.11: disassociated 1532547978.009665: 1532547978.009674: wlan0: STA 70:f0:87:e6:6c:28 IEEE 802.11: associated 1532547978.015204: random: Only 3/20 bytes of strong random data available from /dev/random 1532547978.015271: random: Not enough entropy pool available for secure operations 1532547978.015298: WPA: Not enough entropy in random pool to proceed - reject first 4-way handshake 1532547978.044359: 1532547978.044368: wlan0: STA 70:f0:87:e6:6c:28 IEEE 802.11: disassociated 1532547978.366108: 1532547978.366117: wlan0: STA 70:f0:87:e6:6c:28 IEEE 802.11: associated 1532547978.371698: random: Cannot read from /dev/random: Resource temporarily unavailable 1532547978.371771: random: Only 3/20 bytes of strong random data available from /dev/random 1532547978.371802: random: Allow operation to proceed based on internal entropy 1532547978.394958: wlan0: AP-STA-CONNECTED 70:f0:87:e6:6c:28 1532547978.395474: 1532547978.395479: wlan0: STA 70:f0:87:e6:6c:28 RADIUS: starting accounting session 5B58D374-00000002 1532547978.395600: 1532547978.395604: wlan0: STA 70:f0:87:e6:6c:28 WPA: pairwise key handshake completed (RSN) 1532549411.838098: 1532549411.838107: wlan0: STA dc:53:60:07:ef:40 IEEE 802.11: associated 1532549411.852198: wlan0: AP-STA-CONNECTED dc:53:60:07:ef:40 1532549411.852736: 1532549411.852741: wlan0: STA dc:53:60:07:ef:40 RADIUS: starting accounting session 5B58D374-00000003 1532549411.852864: 1532549411.852868: wlan0: STA dc:53:60:07:ef:40 WPA: pairwise key handshake completed (RSN) 1532549448.046213: 1532549448.046221: wlan0: STA 70:f0:87:e6:6c:28 WPA: group key handshake completed (RSN) 1532549448.047331: 1532549448.047337: wlan0: STA dc:53:60:07:ef:40 WPA: group key handshake completed (RSN) 1532550048.056780: 1532550048.056789: wlan0: STA dc:53:60:07:ef:40 WPA: group key handshake completed (RSN) 1532550048.269988: 1532550048.269997: wlan0: STA 70:f0:87:e6:6c:28 WPA: group key handshake completed (RSN) #------------------------------------------------------------------------------ _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap