Pi 3B+ with buster latest, ran your script (that used to work fine), now the sticking point seems that cant first attach with smartphone, and rest of script goes nowhere, i.e. Unable to join the network "vtrust-flash" on iPhone I notice on the iPhone the IP address that is shown is not in the correct range, and then on subsequent trying I get Wlan0: AP-STA-DISCONNECTED c0:ee:fb:4a:ab:cf Wlan0: AP-STA-CONNECTED c0:ee:fb:4a:ab:cf Wlan0: interface state UNINITIALIZED->ENABLED Using interface wlan0 with hwaddr b8:27:eb:12:75:b9 and ssid "vtrust-flash" Wlan0: Could not connect to kernel driver NOW I SHOW YOU LOGFILE tail -f smarthack-wifi.log Make sure nothing else is plugged into your IoT device while attempting to flash start_flash.sh tuya-convert v2.4.3Ĭhecking for network interface wlan0. Presumably if the smartphone (first device) can get a WiFo connection with valid 10.42.42.x address then it is pointless going to the next step where you try to talk to the power switch (in my case) I am using a Pi 3B+ with Buster and all fixes applied I tired an iOS smartphone, but it too is having difficulty. What happens for me is that when I first try to connect my smartphone to the vtrust-flash network I don't get a sustained connection under Android 10. I understand that its using hostapd to create the SSID and dnsmasq to provide the dhcp addresses. I will attach the logs in the next reply.įor me the whole procedure is not working and I've debugged it down to the vtrust-flash SSID $screen_with_log smarthack-web.log -S smarthack-web -m -d. My guess is there is something happening in redirecting to the fake webserver created at 10.42.42.1 I have tried following create_ap examples and I'm able to connect to the ap i made up.īridged Internet sharing (pre-configured bridge interface):Īlso if I comment the below line it aloows me to connect to vtrust-flash. I know that the usb wifi adapter is capable of hosting an AP. I have tried to connect to vtrust-flash from my windows laptop and it says unable to connect too. I'm using an iPhone to connect to the AP and it does allow to connect to networks which doesn't have internet connections. With my Android device, it might say something like "No internet connection, won't automatically reconnect", but if I manually reconnect after that it will stay. However this is intended, we do not want a connection to the outside internet, so you must force the device to stay connected anyway. This could mean that the device you are connecting with expects an internet connection, and disconnects when it realizes there is none. Make sure nothing else is plugged into your IoT device while attempting to flash. This is usually done by pressing and holding the primary button of the device Put your IoT device in autoconfig/smartconfig/pairing mode (LED will blink fast).This step is IMPORTANT otherwise the smartconfig may not work! Connect any other device (a smartphone or something) to the WIFI vtrust-flash.Occupied by mosquitto with PID 2484.ĭo you wish to terminate mosquitto? y Occupied by dnsmasq with PID 2227.ĭo you wish to terminate dnsmasq? yĬhecking TCP port 1883. Jay Checking for network interface wlan0. Let me know if you need more information. I've tried both docker image and regular start_flash.sh method and got stuck at the same step where I'm supposed to connect to vtrust-flash on my phone. For the wifi adapter I'm using Ralink RT5370. I've tried with both Ubuntu 18.04 and Raspberry Pi desktop running on Oracle VM VirtualBox. I'm having issues connecting to the SSID vtrust-flash which is being broadcasted, my phone says unable to connect. Hey for the amazing work you have done on this project and your continued support.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |