the_ntp_functions
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| the_ntp_functions [2017/03/18 13:18] – [to do] walkeradmin | the_ntp_functions [2017/03/18 13:27] (current) – [to do] walkeradmin | ||
|---|---|---|---|
| Line 250: | Line 250: | ||
| \\ | \\ | ||
| That's it. | That's it. | ||
| - | \\ | ||
| - | \\ | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ---- | ||
| - | |||
| \\ | \\ | ||
| \\ | \\ | ||
| Line 282: | Line 268: | ||
| ---- | ---- | ||
| - | ==== to do ==== | + | ==== Raspberry Pi Dropping of Wireless Network |
| - | + | ||
| - | wireless dropping out on ntp server | + | |
| + | I found my raspberry Pi Zero, that is using the official Raspberry Pi Wireless Dongle drops off the wireless network after around a week. Only a reboot gets it back (as I have no keyb/mouse connected) so I figured just using Cron to reboot the thing every 24 hours will be a suitable work around. | ||
| + | \\ | ||
| + | \\ | ||
| + | To use cron (should already be installed): | ||
| + | \\ | ||
| + | \\ | ||
| + | sudo crontab -e (reboots require super user rights) | ||
| + | \\ | ||
| + | Insert the following line: | ||
| + | \\ | ||
| + | \\ | ||
| + | 0 0 | ||
| + | \\ | ||
| + | Explanation: | ||
| + | \\ | ||
| + | \\ | ||
| + | < | ||
| + | m h dom mon | ||
| + | minute hour dayOfMonth Month dayOfWeek commandToRun | ||
| + | so the line | ||
| + | 0 0 | ||
| + | would reboot your system every day at 00:00. | ||
| + | </ | ||
| + | \\ | ||
| + | Use Ctrl+X, Y, Enter. This will save and exit crontab (if using nano) | ||
| + | \\ | ||
| + | \\ | ||
the_ntp_functions.1489843090.txt.gz · Last modified: (external edit)
