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

How to connect to a wifi network with internet connection from any node? #21

Open
sammj007 opened this issue Jan 23, 2017 · 8 comments
Open

Comments

@sammj007
Copy link

I would like to connect to internet from any of the nodes in the mesh, and push some information based on the messages received by the node. Is there a way to do this?
I could not figure out if the nodes connect to each other (when there are just two nodes), or only one of them connect to the node acting as an AP.
Any suggestions on how to achieve internet connectivity from a mesh?

@BlackEdder
Copy link

We discussed this possibility in our fork of easyMesh:
https://gitlab.com/BlackEdder/painlessMesh/issues/26 (last two comments), but due to the design of the network it is not straightforward.

I do maintain a simple project [1] that I use to connect to the Mesh from a computer, but the computer still needs to connect to the mesh itself. In practice you need two wifi cards (one for normal network, one for mesh) or you need to switch between the two networks.

[1] https://github.com/BlackEdder/easyMesheD

@sammj007
Copy link
Author

Thanks, will check the fork.
BTW, I don't have an option of using a computer, since I need this mesh to be only using ESP8266.

@BlackEdder
Copy link

BlackEdder commented Jan 24, 2017 via email

@sammj007
Copy link
Author

So, even the painlessMesh also doesn't have this support? I was thinking that since ESP supports dual mode (AP + Station), any one node which runs as AP can connect to the network with internet, and stay connected? Maybe I didn't fully follow how the mesh works, hence such a thought!

@BlackEdder
Copy link

BlackEdder commented Jan 24, 2017 via email

@sammj007
Copy link
Author

sammj007 commented Jan 24, 2017 via email

@BlackEdder
Copy link

BlackEdder commented Jan 24, 2017 via email

@sammj007
Copy link
Author

Will have my further questions post at painlesMesh :)

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

2 participants