I bought my Pi from the Pi Hut here in Britain. It refused to boot with the SD card that they supplied, so I formatted my own and used that. I _think_ it's a SanDisk. That's what I usually use in my cameras, and I think it was one of those that I requisitioned.
The thing is, I don't know what happned. The Pi was up 24/7 for the first month, and then something went wrong. We occasionally get modem/router outages - who doesn't? - and after one of them, the VMs here usually grab their IP back and carry on as before. But the Pi didn't, and I eventually had to move it over to the other side of the room, plug it into our television and have a look. It didn't have an IP, and no matter how much fiddling around with /etc/dhclient.conf or whatever it is (which usually shouldn't be concerned, as like all of my machines, it sits on a static IP), I gave in. Before sending it back to the Pi Hut, I decided to try a fresh install, after backing up my /home/weewx. It worked, and the machine got an IP again, and all was good. But from that day onwards, there seems to be a problem with the time on the Pi. I tried various things. First, I got one of my test VMs to be NTP server, but that didn't work. Then I disabled NTP completely on the Pi and set the time manually, hoping that that would work. Nope. It still occasionally crashes, and when it comes back up, the date is anything from a couple of hours out, to several weeks. No idea what the hell is going on there, but I'm done trying to fix it. I'm too old to spend the rest of my life tinkering with Linux (which answers Thomas's question as to why I don't install Ubuntu). I earn my daily bread administering thousands of Linux, Solaris and HP-UX servers, and I have a specific 'skill set' upon which I have no desire to expand. It puts food on the table and pays my half of the rent. That's good enough for me, and I didn't buy the Pi and the weather station to tinker. On 3 May 2018 at 09:08, Andrew Milner <[email protected]> wrote: > Use a new good quality SD card in the RPi. Install a clock in the RPI. > Use a good quality power supply for the RPi with a good amp rating and you > should be fine. Shaving the corners on SD cards or power supplies leads to > all sorts of issues and not having a clock installed leads to all sorts of > start up issues. The choice and route to take are your decisions …… but > you can tell how I feel!!!! > > PS - I have 2 RPi3's, 3 Pizero's and one old rpi - none of which restart > or crash and 4 are running 24/7 for weather station, website serving and > irrigation purposes. The 3 pizeros are in the garden (in shade) with shade > temps up to 35/40C > > > > On Thursday, 3 May 2018 09:50:57 UTC+3, Cycle London wrote: >> >> I've just noticed my error. I thought that Python 2.7 would not work. >> But the weewx user guide says .. >> >> Python 2.5, 2.6, or 2.7 is required. Python 3 will not work. See special >> notes below for Python 2.5 and Python 2.6 >> >> Great! >> >> I've switched the Pi back on. Seriously, restarting it every couple of >> days has to be easier than this s**t. >> >> On 2 May 2018 at 19:21, vince <[email protected]> wrote: >> >>> On Wednesday, May 2, 2018 at 11:16:37 AM UTC-7, Cycle London wrote: >>>> >>>> Oh man, I started to try to get this thing working on 31 December. Not >>>> giving up too soon, really. >>>> >>> >>> And pyserial isn't available in centos6, so you need to install >>> python-pip then do 'pip install pyserial' there. Sigh. >>> >>> Centos6 just drives me crazy. Just go clean centos7 if you have to use >>> centos. It'll make your brain hurt less. >>> You can't fight off systemd anyway, that train left the station for all >>> the mainstream distros.... >>> >>> >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "weewx-user" group. >>> To unsubscribe from this topic, visit https://groups.google.com/d/to >>> pic/weewx-user/8iVZDo-Qb4Y/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "weewx-user" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/weewx-user/8iVZDo-Qb4Y/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
