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 connect rpi to Meshcentral occasionally? #6087

Closed
TommyA52 opened this issue May 13, 2024 · 2 comments
Closed

How connect rpi to Meshcentral occasionally? #6087

TommyA52 opened this issue May 13, 2024 · 2 comments

Comments

@TommyA52
Copy link

Using a rpi zero W for connecting an industrial equipment to internet occasionally (for remote service).
At power up the rpi starts a python script which open a local hotpot allowing the user to submit wifi ssid and password by a web interface. Then converts the rpi to a wifi client and tries to connect to Meshcentral. It works but take a long time (10-15 minutes or so) for the meshagent to connect. Understand that the reason is that meshagent increase the time between the attempts when it doesn’t succeed.
How solve this? Have tried to kill the meshagent at startup and then let the python script start the meshagent again when connection is established but has not succeeded to get this working so far. Very thankful for help with this!

@TommyA52
Copy link
Author

Have found out that as meshagent is a services it can be stopped att restarted by sudo systemctl restart meshagent.
This seems to give some improvement. Startup time approx 5 minutes
Still to long time for our need.
Close this issue and write a new one in Meshagent issues

@TommyA52
Copy link
Author

See above

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

No branches or pull requests

1 participant