-
Notifications
You must be signed in to change notification settings - Fork 92
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 fast connect a raspberrypi to Meshcentral? #242
Comments
you have to remember that when the agent connects to meshcentral, it then runs all its scripts, etc to get details of the pi. |
I have tried to investigate your comment si458, but I don´t think thats the problem. I can open a terminal and use "top" but meshagent doesn't seem to be very busy. But I have also found that if the raspberrypi is powered on for 10 minutes even without internet access and then connected to internet it takes just a few seconds until its connects to Meshcentral. |
I will have a look over the weekend as I have a pi zero w and a zero 2 w |
Thanks si458! I would really appreciate help on this subject. I have now tried to increase the priority of the meshagent but with no or little result. I have also investigated the certificate generation, it shouldn't be needed more than once and it also just take a minute or so. So there is something else that delay the meshagent after that the rpi is power up. |
whats the OS running on your Pi Zero W ? |
Rasbian - Stretch23 maj 2024 kl. 16:31 skrev Simon Smith ***@***.***>:
whats the OS running on your Pi Zero W ?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Raspbian / Stretch |
is it the full desktop gui or just the lite version? and its defo a pi zero w and not a pi zero 2 ? |
Full desktop is installed but not used. Yes its a pi zero W. |
@TommyA52 great no worries, I'm having an issue at the moment trying to get raspbian installed on my pi zero w at all! |
ok got mine working, rapsberry pi imager wasnt working properly so had to use etcher haha here is a quick 5 second capture using my meshcentral of my pi zero w desktop showing top running its literally using 100% cpu when doing remote desktop, one thing you could try is IF your not using the desktop ui at all, use also you could try running |
Thank you for trying to help me! Still I haven't succeded... |
Yes, I have noticed it but also read an old post by Ylianst where an issue was cured by adding the lines about network-online.target! |
you should be able to disable it at startup using |
We are 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 the script 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 may be that meshagent increases the time between the attempts when it doesn’t succeed.
How solve this? Have tried using "sudo systemctl restart meshagent" when internet connection is established. Seems to get a bit better result, takes usually about 5-6 minutes to connect. Still to much for our need.
May be it has something to do with the certificate?
Very thankful for help with this!
The text was updated successfully, but these errors were encountered: