-
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
Connects to IP 192.168.44.1 and no wireless interfaces found #24
Comments
Hmm, this was written before the pi3 was released. I just got around to getting my hands on one. I found myself with a bit of time lately, and was going to re-write this utility in Let me fire this up on my pi3 in the next day or so and see what's up. Stay tuned. |
I second this. Same thing here. |
I third this. Same thing. After installing dnsmasq instead of dhcpd to act as the DHCP server, it will broadcast the AP network, and allow me to connect to a new network. Note that once connected, it does not restart. Once connected, all works well until a restart when the settings are not saved and it again broadcasts the AP network. |
I got this installed on my pi3, ill see about reproducing the issue - thank you. |
For what it's worth, I had this working perfectly on a RPI3 (with your unmodified code) and then it started doing what everyone is reporting a couple months ago. So, maybe it was an update of something that broke it.
Thanks for looking into this--it's a great feature!
Brian
… On Sep 6, 2017, at 7:17 PM, Shaba Abhiram ***@***.***> wrote:
Alright! Enough of you have issues with this, and I need a break from what I am doing - let me setup on a new pi3 and see whats up
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Amazing! Thank you so much for getting this up to date... |
I am going to be a bit preoccupied for the next few days, @shawnipoo - any chance you can point me to what might be going afoot? This feels like something different than the issue being discussed? Regardless, I have this reproduced on my rpi3 - much thanks for the data point @bkcoughlin - there might be something there for sure. |
Made a few commits and edited the readme to reflect some findings. I think you guys probably updated raspbian and it installed dhcpcd as part of the gamut of tools. Explicitly denying it from dhcp'ing wlan0 (for example) seems to be required. Also the correct detection of the access point was broken due to how iwconfig seems to now behave in raspbian as well. Please let me know if this helps at all, my pi3 seems to connect just fine with the changes mentioned running the latest code. |
Wouldn't we have to stop dhcpd prior to executing npm? Moreover, with dhcpd ignoring wlan0, what would act as the DHCP server? Finally, with the changes you make, can we still install through: Thank you so much for looking into this! AWESOME! |
dhcpcd is a new binary that is installed in some versions of raspbian, we still use the |
I think there needs to be a delay set for something to load. When I set it up as a service, it fails, however, when I run it about 30 seconds after boot, it seems to work. That being said, for whatever reason, the only network I can see is: which cannot be selected :S Moreover, the network broadcast only last about a minute, then it does not work anymore and no longer broadcasts, even though no error is thrown and the script says HTTP server running... Seems like hostapd fails because it starts broadcasting again when I restart hostapd. Any advice? |
try this -
|
OK, so after much playing around, I realized three things:
It seems that the root of the issue is that it does not know when a connection is made or not. |
Are you positive you have pulled the latest code? |
Well, I've done a brand new network install of Raspbian, so it's the latest version, and I've followed your guide to install: So I imagine so... The only errors I get are that bower is outdated, and that the DHCP server could not assign an IP (because it is already connected during the install) Am I missing something? |
Hey! Any updates? Alternatively, could you possibly provide an ISO image of a full ad card working on a pi3? |
Hi shawnipoo, I am having the same problem with "{{ cell.ssid }} {{". Did you manage to get it work ? thanks ! |
Well, I reinstalled it and that particular problem went away.. I still, however, do not have it working properly (ie: broadcasting when not connecting, restarting after entering the code...) I think a working ISO would be great!! @sabhiram have you installed this using Raspbian or another OS? |
Any updates? |
Sorry, been busy juggling a bunch of startup work :) I will dig into this before this weekend and see what is going on with a latest raspbian image. { I did not realize how quickly weekends come and go, I will take a pass at this as soon as I catch a break from work. } |
@shawnipoo - My last attempt left me with it working on Raspbian from probably 2 months ago. I am not sure if it has been updated since. Nonetheless I will try it from scratch (hopefully) soon and report back. |
Thank you so much! |
Anyone having issues on a Pi3, please check this PR on how to use dnsmasq instead: #33 |
Everything ran fine on RPi3 until I "Submitted" the new ssid/pwd on mobile. At that point, the i[ address was assigned as 192.168.44.1 . If I run the node app again it shows wifi enabled and IP 192.168.44.1 .
Upon rebooting, "no wireless conection" and eth0: Link is down.
Tried resetting all networking files but missing something.
Thoughts?
The text was updated successfully, but these errors were encountered: