Skip to content
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

Can't connect to ip address 192.168.44.1:88 #30

Open
hakankaraduman opened this issue Feb 20, 2018 · 4 comments
Open

Can't connect to ip address 192.168.44.1:88 #30

hakankaraduman opened this issue Feb 20, 2018 · 4 comments

Comments

@hakankaraduman
Copy link

I'm stucked at
Step 2: Join the above network, and navigate to the static IP and port we set in config.json (http://192.168.44.1:88), you will
I can't connect it from my pc, but I can open it on rpi. How do I fix this?

Also how do I implement this functionality in an electronjs app, can you give some tips?

@sabhiram
Copy link
Owner

Sorry this took so long to respond to, I have been swamped at work lately. It seems like the DHCP server is not working? Can you post the logs from the rpi side of things?

I meant to debug this - are you on a Pi3?

@hakankaraduman
Copy link
Author

Yes I'm on pi3 model b. I'm a beginner on linux. Do you want the logs from only the terminal or is there a dump file anywhere else I should look for?

@mbalgooi
Copy link

mbalgooi commented Apr 9, 2018

I want to use this to setup my Rpi 3B as an wifi AP, is the problem with installing this on a Rpi 3B resolved?

@sabhiram
Copy link
Owner

So I just ran this on my Pi3 and I was able to complete the loop and have the wifi connect to my home wifi.

Can you try the following:

0. In your config file - under "access_point" add a property "force_reconfigure" and set it to "true"
1. Stop the service if you enabled it and `cd` into the project directory
2. Manually run this command `sudo npm start`
3. You should see something like this:

> [email protected] start /home/pi/work/raspberry-wifi-conf
> node server.js

Wifi is not enabled, Enabling AP for self-configure

Force reconfigure enabled - reset AP
... dhcp server restarted!
ifdown wlan0 successful...
ifup wlan0 successful...
... hostapd restarted!
... AP Enable Success!

HTTP server running...

At this point using a different wifi device (I use my android phone), connect to the rpi-wifi-ap wifi access point.

If the above works, you should be able to access 192.168.44.1:88 on a chrome browser.

Please let me know which step fails. If for you get the "HTTP server running" message but the access point does not show up, let me know (I might have seen that issue once or twice when bringing this up). Typically restarting the app fixes this hiccup - would love more data on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants