-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
When i reboot my wifi, i always lose the genmon and have to reboot it. #457
Comments
The above link is used to setup a cron job that will run every 5 min and check if wifi is connected. This is needed because linux does not continuously check if wifi is connected and reconnect as needed, but the provided script does do this. You would use the script in the file and setup a crontab entry to make is run every x number of minutes. |
I added this one to the tips and trick wiki https://github.com/jgyates/genmon/wiki/Appendix-M-Tips-and-Tricks-useful-for-Genmon |
Hmm, im not really sure where to insert this |
Would i just copy and paste the entire thing in putty? |
I have attached a modified version this that may be a bit better for a pi. From there you need to transfer the file to your pi and put it in /home/pi. I am not sure how to do this with putty. I use the command line program called scp. From the directory where you saved it type:
You will prompted for the password of the pi user. Once you enter it the file will be copied to the /home/pi directory. Then change the permissions on the file so it is executable. Log into your pi and type:
From here you can test the file to make sure it works on your system by typing:
Then we need to add this to the crontab:
If prompted to choose and editor choose nano. Then add this line at the bottom of the file:
Save the file by typing Ctrl+X, then Y then Enter. |
Thank you, ill try that |
well, i think im to stupid to mess with this. i tried fiddeling with putty, and im afraid ill crash the entire thing. i think ill leave good enough alone. thanks for your help though. |
Sorry to re-open this. The file you provided has a .txt extension but the file in this command (scp ./WiFi_Check.sh pi@ipaddressOfYourPi:./) has a .sh extension. Stupid question, How do you convert one to the other? |
That depends on where you saved the file and what operating system you are using. You typically just rename the file by right clicking on it and changing the name, but you may have to make a settings change on your operating system to show the extensions. Alternatively you could transfer the file to the pi:
Then on the pi type
|
Use the template below if you have an issue or want to report a bug. If you have a question or a feature request you can ignore the questions below. This is a template so feel free to remove any of this text. Try to include the info below when applicable.
NOTE: If you are having issues with your serial connection, please read this page before posting:
https://github.com/jgyates/genmon/wiki/3.6---Serial-Troubleshooting
If you are having other issues, please see the following page:
https://github.com/jgyates/genmon/wiki/3.5---General-Troubleshooting
You can search past issues by removing the "is:open" keywords from the search window and adding any keywords that are relevant to your issue.
If you need to send you logs and registers to the developer, if your email is setup and working properly you can click send your logs on the About page in the web interface.
Expected Behavior
{Please write here}
Actual Behavior
{Please write here}
Steps to Reproduce (including precondition)
{Please write here}
Screenshot or Pictures relating to the problem (if possible)
{Please write here}
Your Environment
This is just a simple inquiry. I added a ups supply to prevent wifi restart upon power failure, but every so often i have to reboot the wifi system to get rid of accumulated glitches that occures over time. These glitches just seem to add up, and sooner or later a wifi reboot is used to clear everything up. Every other device in the house handles reboot just fine, but the genmon unit always gets lost and i have to reboot the genmon unit itself to reconnect.
Is this just standard behavior with the raspberry pi units in general?
The text was updated successfully, but these errors were encountered: