The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Hot answers tagged

3

"In normal circumstances there is NEVER a need to run rpi-update as it always gets you to the leading edge firmware and kernel and because that may be a testing version it could leave your RPi unbootable". https://www.raspberrypi.org/forums/viewtopic.php?p=916911#p916911 Even the rpi-update documentation now warns "Even on Raspbian you should only use this ...


2

Here is a small bash script that you can call with cron, for example every 30 seconds. #!/bin/bash COUNT=3 INTERVAL=1 for ((i=COUNT; i>0; i--)); do /bin/ping -c1 -n 8.8.8.8 >/dev/null 2>&1 [ $? -eq 0 ] && exit 0 sleep $INTERVAL done /sbin/reboot This will look $COUNT times if ping returns without error. If so the script ...


2

You can use the serial debug interface to get a console on the Raspberry Pi. To use it you need a USB to Serial adapter like one from amzon - RPi USB/serial adapter. You do not need the most expensive one. I have made very good experience with one of the cheapest from China. To use the serial console you have to add a line to /boot/config.txt enable_uart=1 ...


2

This was indeed a power supply issue: unable to supply 2.5A reliably without dipping. A clue is the lightning bolt icon that appears in the top right of the screen. As Dr_Bunsen suggested: It would crash when performing heavy tasks, the CPU draining more power and causing a voltage drop on the supply. Also, dmesg is useful for diagnosing problems, ...


1

You can use vcgencmd to get the memory: pi@raspberrypi:~$ vcgencmd get_mem gpu gpu=128M Alternatively use raspi-config non-interactively, which uses vcgencmd underneath and pulls out just the number: pi@raspberrypi:~$ sudo raspi-config nonint get_config_var gpu_mem /boot/config.txt 128


1

just throw a bunch of capacitors on the input of the pi (between 5v and GND)


1

I've faced a very similar issue i.e. Chrome or other software in general lags. If this answer doesn't help you, it might help others. I'd leave it here. Follow the steps below, they have helped me, they might help you. 1 - Change the SD card. I'd prefer Sandisk 3.0. 2 - sudo purge unnecessary programs/software. 3 - systemd-analyze blame => Type the ...


1

Have you checked your system resources before starting the browser, and while it's starting up? I don't know anything about Redshift and QuickSynergy, but RPi does have limited resources, so worth verifying that you're not out of memory: 1) What happens if neither Redshift nor QuickSynergy are running when you start a browser? 2) If 1) works, start the ...


1

Apparently, as of today, 8th January 2019, OpenELEC does not "support" the Raspberry Pi 3B+ LibreELEC on the other hand does. It's a very similar Kodi implementation to OpenELEC, but seems to be more frequent in its releases


Only top voted, non community-wiki answers of a minimum length are eligible