vtrust-flash keeps disconnecting other device
See original GitHub issueHi,
I was originally going to post a different issue (AP only appearing for a second, then disappearing, no connection possible), but I found a solution for that here in the issues section (to kill wpa_supplicant
manually). So I did that and the vtrust-flash
AP seemed stable, as in it let me connect to it. I got an ip assigned on my android phone. But it keeps to constantly disconnect, re-connect, disconnect again in a period of about 1-2 seconds each (connect, 1-2secs, disconnect, 1-2secs, re-connect).
Log output below. I was trying this on a raspberry 3B+
, as you were. This pi is brand-new; in fact, I ordered it just for tuya-convert
(though it’s always good having yet another pi in the house…). As I just received the pi today, it’s system was also fresh.
I changed the config.txt
according to my device names (ethernet device was called something other than eth0
), besides that, I followed the instructions from your README.md
- and manually killed wpa_supplicant
as described here in the issues (the AP wouldn’t stay open if I did not do this).
Would somebody please be so kind to help me with this? I used to always solder pins to flash tasmota, but this device (water/gas valve) I am hoping to use soon makes it difficult to do this and I’d prefer this OTA version anyway 😃
Thanks in advance for any help solving this problem.
smarthack-smartconfig.log
Put Device in Learn Mode! Sending SmartConfig Packets now
Sending SSID vtrust-flash
Sending wifiPassword flashmeifyoucan
SmartConfig in progress
......^CTraceback (most recent call last):
File "./smartconfig/main.py", line 23, in <module>
smartconfig( passwd, ssid, region, token, secret )
File "/home/pi/gits/tuya-convert/scripts/smartconfig/smartconfig.py", line 61, in smartconfig
sock.send_broadcast(broadcast_body)
File "/home/pi/gits/tuya-convert/scripts/smartconfig/smartconfig.py", line 35, in send_broadcast
sleep(self._gap)
KeyboardInterrupt
Put Device in Learn Mode! Sending SmartConfig Packets now
Sending SSID vtrust-flash
Sending wifiPassword flashmeifyoucan
SmartConfig in progress
..........
SmartConfig complete.
smarthack-web.log
Listening on port 80
^CTraceback (most recent call last):
File "./fake-registration-server.py", line 129, in <module>
main()
File "./fake-registration-server.py", line 125, in main
tornado.ioloop.IOLoop.current().start()
File "/usr/local/lib/python3.7/dist-packages/tornado/platform/asyncio.py", line 148, in start
self.asyncio_loop.run_forever()
File "/usr/lib/python3.7/asyncio/base_events.py", line 539, in run_forever
self._run_once()
File "/usr/lib/python3.7/asyncio/base_events.py", line 1739, in _run_once
event_list = self._selector.select(timeout)
File "/usr/lib/python3.7/selectors.py", line 468, in select
fd_event_list = self._selector.poll(timeout, max_ev)
KeyboardInterrupt
Listening on port 80
^CTraceback (most recent call last):
File "./fake-registration-server.py", line 129, in <module>
main()
File "./fake-registration-server.py", line 125, in main
tornado.ioloop.IOLoop.current().start()
File "/usr/local/lib/python3.7/dist-packages/tornado/platform/asyncio.py", line 148, in start
self.asyncio_loop.run_forever()
File "/usr/lib/python3.7/asyncio/base_events.py", line 539, in run_forever
self._run_once()
File "/usr/lib/python3.7/asyncio/base_events.py", line 1739, in _run_once
event_list = self._selector.select(timeout)
File "/usr/lib/python3.7/selectors.py", line 468, in select
fd_event_list = self._selector.poll(timeout, max_ev)
KeyboardInterrupt
Listening on port 80
Listening on port 80
^CTraceback (most recent call last):
File "./fake-registration-server.py", line 129, in <module>
main()
File "./fake-registration-server.py", line 125, in main
tornado.ioloop.IOLoop.current().start()
File "/usr/local/lib/python3.7/dist-packages/tornado/platform/asyncio.py", line 148, in start
self.asyncio_loop.run_forever()
File "/usr/lib/python3.7/asyncio/base_events.py", line 539, in run_forever
self._run_once()
File "/usr/lib/python3.7/asyncio/base_events.py", line 1739, in _run_once
event_list = self._selector.select(timeout)
File "/usr/lib/python3.7/selectors.py", line 468, in select
fd_event_list = self._selector.poll(timeout, max_ev)
KeyboardInterrupt
Listening on port 80
^CTraceback (most recent call last):
File "./fake-registration-server.py", line 129, in <module>
main()
File "./fake-registration-server.py", line 125, in main
tornado.ioloop.IOLoop.current().start()
File "/usr/local/lib/python3.7/dist-packages/tornado/platform/asyncio.py", line 148, in start
self.asyncio_loop.run_forever()
File "/usr/lib/python3.7/asyncio/base_events.py", line 539, in run_forever
self._run_once()
File "/usr/lib/python3.7/asyncio/base_events.py", line 1739, in _run_once
event_list = self._selector.select(timeout)
File "/usr/lib/python3.7/selectors.py", line 468, in select
fd_event_list = self._selector.poll(timeout, max_ev)
KeyboardInterrupt
Listening on port 80
Listening on port 80
^CTraceback (most recent call last):
File "./fake-registration-server.py", line 129, in <module>
main()
File "./fake-registration-server.py", line 125, in main
tornado.ioloop.IOLoop.current().start()
File "/usr/local/lib/python3.7/dist-packages/tornado/platform/asyncio.py", line 148, in start
self.asyncio_loop.run_forever()
File "/usr/lib/python3.7/asyncio/base_events.py", line 539, in run_forever
self._run_once()
File "/usr/lib/python3.7/asyncio/base_events.py", line 1739, in _run_once
event_list = self._selector.select(timeout)
File "/usr/lib/python3.7/selectors.py", line 468, in select
fd_event_list = self._selector.poll(timeout, max_ev)
KeyboardInterrupt
Listening on port 80
^CTraceback (most recent call last):
File "./fake-registration-server.py", line 129, in <module>
main()
File "./fake-registration-server.py", line 125, in main
tornado.ioloop.IOLoop.current().start()
File "/usr/local/lib/python3.7/dist-packages/tornado/platform/asyncio.py", line 148, in start
self.asyncio_loop.run_forever()
File "/usr/lib/python3.7/asyncio/base_events.py", line 539, in run_forever
self._run_once()
File "/usr/lib/python3.7/asyncio/base_events.py", line 1739, in _run_once
event_list = self._selector.select(timeout)
File "/usr/lib/python3.7/selectors.py", line 468, in select
fd_event_list = self._selector.poll(timeout, max_ev)
KeyboardInterrupt
Listening on port 80
^CTraceback (most recent call last):
File "./fake-registration-server.py", line 129, in <module>
main()
File "./fake-registration-server.py", line 125, in main
tornado.ioloop.IOLoop.current().start()
File "/usr/local/lib/python3.7/dist-packages/tornado/platform/asyncio.py", line 148, in start
self.asyncio_loop.run_forever()
File "/usr/lib/python3.7/asyncio/base_events.py", line 539, in run_forever
self._run_once()
File "/usr/lib/python3.7/asyncio/base_events.py", line 1739, in _run_once
event_list = self._selector.select(timeout)
File "/usr/lib/python3.7/selectors.py", line 468, in select
fd_event_list = self._selector.poll(timeout, max_ev)
KeyboardInterrupt
Listening on port 80
smarthack-wifi.log
Backing up /etc/dnsmasq.conf...
Writing dnsmasq config file...
Creating new /etc/dnsmasq.conf...
Writing hostapd config file...
Configuring AP interface...
Applying iptables rules...
Starting DNSMASQ server...
Starting AP on wlan0 in screen terminal...
Configuration file: /etc/hostapd/hostapd.conf
wlan0: Could not connect to kernel driver
Using interface wlan0 with hwaddr <meine_mac_adresse> and ssid "vtrust-flash"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED
^Cwlan0: interface state ENABLED->DISABLED
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Backing up /etc/dnsmasq.conf...
Writing dnsmasq config file...
Creating new /etc/dnsmasq.conf...
Writing hostapd config file...
Configuring AP interface...
Applying iptables rules...
Starting DNSMASQ server...
RTNETLINK answers: File exists
Starting AP on wlan0 in screen terminal...
Configuration file: /etc/hostapd/hostapd.conf
wlan0: Could not connect to kernel driver
Using interface wlan0 with hwaddr <meine_mac_adresse> and ssid "vtrust-flash"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED
^Cwlan0: interface state ENABLED->DISABLED
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Backing up /etc/dnsmasq.conf...
Writing dnsmasq config file...
Creating new /etc/dnsmasq.conf...
Writing hostapd config file...
Configuring AP interface...
Applying iptables rules...
Starting DNSMASQ server...
RTNETLINK answers: File exists
Starting AP on wlan0 in screen terminal...
Configuration file: /etc/hostapd/hostapd.conf
wlan0: Could not connect to kernel driver
Using interface wlan0 with hwaddr <meine_mac_adresse> and ssid "vtrust-flash"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED
Backing up /etc/dnsmasq.conf...
Writing dnsmasq config file...
Creating new /etc/dnsmasq.conf...
Writing hostapd config file...
Configuring AP interface...
Applying iptables rules...
Starting DNSMASQ server...
Starting AP on wlan0 in screen terminal...
Configuration file: /etc/hostapd/hostapd.conf
wlan0: Could not connect to kernel driver
Using interface wlan0 with hwaddr <meine_mac_adresse> and ssid "vtrust-flash"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED
^Cwlan0: interface state ENABLED->DISABLED
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Backing up /etc/dnsmasq.conf...
Writing dnsmasq config file...
Creating new /etc/dnsmasq.conf...
Writing hostapd config file...
Configuring AP interface...
Applying iptables rules...
Starting DNSMASQ server...
Starting AP on wlan0 in screen terminal...
Configuration file: /etc/hostapd/hostapd.conf
wlan0: Could not connect to kernel driver
Using interface wlan0 with hwaddr <meine_mac_adresse> and ssid "vtrust-flash"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED
^Cwlan0: interface state ENABLED->DISABLED
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Backing up /etc/dnsmasq.conf...
Writing dnsmasq config file...
Creating new /etc/dnsmasq.conf...
Writing hostapd config file...
Configuring AP interface...
Applying iptables rules...
Starting DNSMASQ server...
RTNETLINK answers: File exists
Starting AP on wlan0 in screen terminal...
Configuration file: /etc/hostapd/hostapd.conf
wlan0: Could not connect to kernel driver
Using interface wlan0 with hwaddr <meine_mac_adresse> and ssid "vtrust-flash"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED
Backing up /etc/dnsmasq.conf...
Writing dnsmasq config file...
Creating new /etc/dnsmasq.conf...
Writing hostapd config file...
Configuring AP interface...
Applying iptables rules...
Starting DNSMASQ server...
Starting AP on wlan0 in screen terminal...
Configuration file: /etc/hostapd/hostapd.conf
wlan0: Could not connect to kernel driver
Using interface wlan0 with hwaddr <meine_mac_adresse> and ssid "vtrust-flash"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED
^Cwlan0: interface state ENABLED->DISABLED
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Backing up /etc/dnsmasq.conf...
Writing dnsmasq config file...
Creating new /etc/dnsmasq.conf...
Writing hostapd config file...
Configuring AP interface...
Applying iptables rules...
Starting DNSMASQ server...
RTNETLINK answers: File exists
Starting AP on wlan0 in screen terminal...
Configuration file: /etc/hostapd/hostapd.conf
wlan0: Could not connect to kernel driver
Using interface wlan0 with hwaddr <meine_mac_adresse> and ssid "vtrust-flash"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED
wlan0: INTERFACE-DISABLED
^Cwlan0: interface state ENABLED->DISABLED
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Backing up /etc/dnsmasq.conf...
Writing dnsmasq config file...
Creating new /etc/dnsmasq.conf...
Writing hostapd config file...
Configuring AP interface...
Applying iptables rules...
Starting DNSMASQ server...
Starting AP on wlan0 in screen terminal...
Configuration file: /etc/hostapd/hostapd.conf
wlan0: Could not connect to kernel driver
Using interface wlan0 with hwaddr <meine_mac_adresse> and ssid "vtrust-flash"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 305B5E7F3C759DCA
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session BC92D511110A1833
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session D62611A03D31B5BD
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 5748C12BB78F7B14
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session F3EA0C44D2F869BB
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 47FBE6507EE53BAF
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 2AF15982C49A3012
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 09713E419A0A6BA9
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 24C96FAEDF47329E
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session C29E95040971D6CB
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session F42B536A55A3CAB8
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 9BB4A3BEDC600F1F
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 1B13878126896910
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session C5F9B5FB673579DC
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 4FB20500387CD27C
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 44A0BA949AA25B8C
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 75BC27F20DC18D7F
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 92C824819FF33F4A
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 88DBC566AF5A1B09
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session B136D8DFC4106466
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 4BBC2AE7978B9279
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 35727A3F031F4542
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 5B84BEFB296F2EBC
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 126F7E9B540C5D59
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 625F1262E01EF1D3
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 4B5D29FB2529F7A5
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session C8C9E7CC8BF09968
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session FAF9D8AFC02F5F06
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 611F22427E971308
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session C51154D6BC7B6514
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 77E8C10F19AA0681
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
^Cwlan0: interface state ENABLED->DISABLED
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Backing up /etc/dnsmasq.conf...
Writing dnsmasq config file...
Creating new /etc/dnsmasq.conf...
Writing hostapd config file...
Configuring AP interface...
Applying iptables rules...
Starting DNSMASQ server...
RTNETLINK answers: File exists
Starting AP on wlan0 in screen terminal...
Configuration file: /etc/hostapd/hostapd.conf
wlan0: Could not connect to kernel driver
Using interface wlan0 with hwaddr <meine_mac_adresse> and ssid "vtrust-flash"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session B9CBF599789C5A3B
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session 15441F4328FB2BAA
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: STA <meine_mac_adresse> IEEE 802.11: associated
wlan0: AP-STA-CONNECTED <meine_mac_adresse>
wlan0: STA <meine_mac_adresse> RADIUS: starting accounting session A09B5E8CAFA106C8
wlan0: STA <meine_mac_adresse> WPA: pairwise key handshake completed (RSN)
wlan0: STA <meine_mac_adresse> IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED <meine_mac_adresse>
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7
Same issue with last build of Stretch on a RPi 3B+.
Tried rpi-update a08ece3d48c3c40bf1b501772af9933249c11c5b based on cross link from https://github.com/raspberrypi/firmware/issues/1117#issuecomment-468239436
After reboot I found and killed 2 instances of wpa_supplicant.
With WPA_supplicant disabled, the vtrust-flash AP remained enabled, but I had to wait for the handshake / connection to vtrust-flash with my WiFi device to complete before pressing [enter] to start the pairing procedure.
So that particular rpi-update did the trick, not sure why.
Are you using a Pi3 for this? I had similar issues and it’s due to a bug between hostapd and the Pi firmware.
I made a post about it here to try and head off the issue: https://github.com/ct-Open-Source/tuya-convert/issues/241
I was able to fix it by following the steps here: https://github.com/raspberrypi/firmware/issues/1117
For me, it works with:
Updating the pi via rpi-update: rpi-update 82f49d8dfd9c000a203fb1deae64a3eb87abf3c1
Install a different hostapd version: https://archive.raspberrypi.org/debian/pool/main/w/wpa/hostapd_2.6-21~bpo9~rpt1_armhf.deb
After that, reboot and try again.