I have a small project using a Raspberry Pi Zero W. This is just a small Node.js server that I would like to be running at all times. I am using Raspberry Pi OS Lite (no desktop)
The whole thing works perfectly fine but after some time, let's say one night of no use, it stops working, until the Pi is rebooted.
I am thinking if there is any sleep mode that I am not aware of and, if that is the case, how to disable it. If not the case, I would like to hear about other possible root causes.
On the RPi Zero-W, go to Raspi Configuration --> Display option. Then disable screen blanking.
Related
I was wondering if you can have multiple programs on a Raspberry Pi Zero W installed and have an overview menu on the Raspberry where you can then choose one of your applications you want to run?
For example you have a program to stream videos from Youtube and Netflix and you have a program you can use for let's say your lighting. And you can go back to your overview menu any time.
I have started programming the streaming app and would like to have multiple apps/programs on one Raspberry I can then use as some sort of Alexa/Homepod.
Oh just to let you know, I would just like to know if it's possible, I am not asking for any kind of code or what so ever, I'm not here for letting someone else do the work.
You could build up a docker sistem, in order to run multiple containers on a single machine.
See the following link to start: https://markmcgookin.com/2019/08/04/how-to-install-docker-on-a-raspberry-pi-zero-w-running-raspbian-buster/
I have a Raspberry Pi sd card that I'd really hoping I can get files off. I the sd card mounts in my Mac and I have a boot0 and RECOVERY under in the Mac devices menu. I can navigate the sd content on my Mac.
When I try to boot up the RPi with the sd card I get part way through the boot process then a flood of not normal text. Then it ends with "Fixing recursive fault but reboot in needed!" I had this twice now and the first time i waited about 5 minutes before shutting down. This time I am leaving it for about 30 minutes in hopes that another message comes up and it says Fixed or something else.
If I can navigate the card on my Mac what should I do next assuming it is not going to boot? Can I get to files on my Desktop? It is one folder in particular I would love to recover.
The RPi is a 2 version B.
I am not sure why this is not more documented but I found a solution. I have Googled for a hour easy trying to find a solution and literally looked at 100 sites of what other did. Nothing worked for me.
Here is what I ended up doing. I have another RPi around so I booted that up. Inserted the sd can into a reader. plugged the reader into the other RPi and boom! I have full access to the file system. I accessed my Desktop folder and the www folder. Moved the files over for what I needed to recover.
This was crazy easy so I sure hope other find this post and try this first before all the crazy instructions out there.
I am trying to SSH into my raspberry pi from my windows machine, and the terminal environment WAS working fine, but the GUI is acting really crappy. There is no Xming window that opens up when Xming starts (but it is running according to the task manager). The taskbar in Raspbian doesn't move around (and covers up the windows taskbar), and there is a bunch of little glitches with the desktop. My motors are also being weird: when I turn on my Pi one of them starts moving. The same thing happens when I turn off my Pi (but not the H-Bridge Board). Everything (including the motors) work perfectly fine when I use my Pi with a TV via HDMI. I have the model 2 Raspberry Pi running Raspbian, Windows 10 on my computer, and am using Putty. I'm pretty new to this, so I will appreciate any help.
Do you need the GUI? If not, I would suggest turning off X11 forwarding in putty (Connection - SSH - X11) and just using the console.
I'm using my Raspberry Pi 2 Model B as a small and super simple LAMP development server. However it is on the edge of acceptable performance, especially when it comes to bulk copying or handling large MySQL databases.
The set-up:
The Pi has no display attached
I access the device via SSH and WinSCP
I changed the GUI boot behavior via raspi-config to command line only
What makes me curious is that whenever I connect to the Pi via the Windows Remote Control tool I still get a GUI.
Therefore I'm wondering whether if there are any negative performance implications or if Raspbian does not load the GUI until explicitly requested from the remote control tool.
If there are negative implications, what configurations should I change? (PS: I like to have a GUI from time to time but I could do without it.)
Unless the RPi is very starved of memory, there will be no performance difference as long as the graphical interface isn't actively being used.
Having said that, I would not try to run a large database on it unless I was using a class 10 card or better and the database configuration was heavily tuned.
I have a laptop, and I want to force the native screen to display 1080p. I know the display driver is capable of that because I have connected it to a 1080p screen before and it worked.
I am doing this because I want to establish a remote connection from my Raspberry Pi to the laptop. The Pi (an ARM linux machine) is connected to the 1080p screen. At the moment, the remote connection only covers part of the screen, as the laptop is only displaying 1366x768 (or something).
I want a software solution, if possible. Also, I want a server-side solution (that is, on the windows machine) as finding and using Linux software that works on the pi is a bit of a nightmare!
I am using TightVNC, though am prepared to try any package is free and which works well, as a server for Windows and client for ARM Linux.
Solutions I have tried that don't work:
'show all modes' on control panel (still didn't show the mode 1920x1080, which I know the graphics adapter can do)
ZoneScreen OS (wouldn't let me create a higher resolution)
Demoforge Mirage (um... didn't do anything. Maybe I didn't get how you're supposed to use it)
To force the raspberry pi to have a certain display. Go on boot folder cd /boot/
After that, open the config file with your editor (I use geany sudo apt-get install geany)
sudo geany config.txt
In this file, it should have two line that you have to uncomment it:
framebuffer_width=800
framebuffer_height=600
Just change the values of those variables and save the file.
You may have to reboot your raspberry pi