-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tested on Stretch and RasPi 3B+? #32
Comments
It seems it is not working with Stretch and RasPi 3B... I will try to fix that on my fork... |
Did any one ever get this working on a pi zero w |
I didn’t test it on Zero W. I had some strange issues on some other projects including Zero W so I am trying to avoid it. If you want me to help you please provide more details about issues you have. |
Hello, thanks for the quick reply. I am using a raspberry pi zero with a old version of stretch (probably about 2 years old now?) Linux 4.9.59+ #1047 Sun Oct 29 11:47:10 GMT 2017 armv6l GNU/Linux PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" I first installed the original version which all went ok but when running "npm run-script provision" it threw quite a few errors to do with the dhcpcd I then installed your version and ran "npm run-script provision" and it installed fine no errors. But when running the server it just crashed saying 8.8.8.8 in use (had not run previously) |
Ok, I see...
Then you can check which process is using port 8888 by executing next command:
If you don't need this process (which is using port 8888) just uninstall it and try running again. If you need it open config.json and change server port to 8000 or 8001 or something like that. |
Hello Fresh install would be a bit of a nightmare as i have this install highly configured for what i use it for (dot matrix controller). I can try upgrading though. I did change the port to 8.8.8.1 and yours started fine. But I never see the ap, iv read all the comments about restarting the server etc.. but i never see it appear. Does seam to be some sort of dhcpcd issue. I did a bit of googling and alot of others have had simular issues with turning raspberry pi zeros into access point and most of the fixes including re moving the 'driver=nl80211' in one of the files. I'm wondering if this could be a simular issue? I can also upload my .img if this helps you debug? Thanks :) |
As I previously said R Pi Zero is acting strange sometimes and there is few versions out here by my experience. In order to debug it I would need exactly the same board you have. I tested this version on multiple R Pi 3 B boards and everything worked fine. I shipped some solutions to the client based on this library and they tested on their hardware with positive feedback. If you see message that server is started then you should be switched to AP mode.... Have you tried scanning WiFi network using mobile phone or laptop? |
I get this Wifi is not enabled, Enabling AP for self-configure AP is not enabled yet... enabling... HTTP server running... But no ap is available (checked via 2 mobile and 1 laptop) Not quite sure what I am doing wrong as it all appears to say its working. Is there some error logs i can check maybe? |
Yes, you can check dhcpcd log and dnsmasq logs for errors. Also, please send me output of next command to check:
|
will do wlan0 IEEE 802.11 ESSID:off/any |
Ok, it seems it is in AP mode but SSID is not broadcasted. Please try next... Open config.json and set SSID to RPiHub instead of Iot-Hub-Config and try again. |
still runs but still no ap available (that i can see) |
I will try to examine what is going on but don’t know when I will have time to do that. |
no worries, appreciate the help :) |
Good luck and please let us know what was the problem if you succeed. |
Dude @stzoran1 - you are the best. Thank you for running point on this issue, I have been very busy with my new endeavor that I barely have time to play gardener for these old babies of mine. I came across all this activity and your PR as a result of my once every few months scan of my old projects, my apologies for being a more silent party, and thank you for all the help and troubleshooting that you have done so far! |
still not working on RasPi 3B+? |
Has anyone been able to successfully run this on a RasPi 3B+ running Stretch?
The text was updated successfully, but these errors were encountered: