Hot answers tagged

6

I've just encountered the issue too. As an alternative to aibrahim's method if you are doing it remotely via ssh, here's my steps to VNC to display :0. Setup password using sudo vncpasswd -service Add the following lines to /root/.vnc/config.d/vncserver-x11 as described in RealVNC: Support legacy viewers SecurityTypes=VncAuth UserPasswdVerifier=VncAuth ...


5

I do not follow the link you have given, tl;dr. But it seems that it uses the method to download WireGuard from the Raspbian testing version Bullseye and install it on the current Raspbian stable version Buster. Doing this, it is needed to compile the kernel modules for WireGuard so it fit to the Buster kernel. Because you ran into problems, it seems that ...


5

The crontabs are under /var/spool/cron/crontabs. The files there are supposed to be used by the crontab command and are not to be edited outside that. How to find it? There are a number of options (besides google). The most elaborate way is probably sudo find / -name 'crontab*' Another way is to look at the man page for crontab (man crontab); under "...


4

Add the following lines to /boot/config.txt: # Disable Activity LED dtparam=act_led_trigger=none dtparam=act_led_activelow=off # Disable Power LED dtparam=pwr_led_trigger=none dtparam=pwr_led_activelow=off Then reboot your Pi and both LEDs should be off permanently. Just tried it myself. My source: https://buyzero.de/blogs/news/raspberry-pi-strom-sparen-...


4

You can hide side bazels using graphical interface: RetroPie Main Menu Retroarch Menu Settings Onscreen display Display Overlay Change to OFF Or manually editing one or more file using the shell. In the last case you need to edit /opt/retropie/emulators/retroarch/retroarch.cfg file for a change that impact all emulation cores, or single /opt/retropie/...


4

The 50 mA limit is for the GPIO. The 3V3 pins are not GPIO. You can draw as much current from the 3V3 pins as is available from the power supply. If you attempt to draw more current than is available the Pi will reboot.


3

You could also use tool called pinout


3

This is the simple answer: sudo update-alternatives --config x-session-manager One can just run this and select the openbox-session then the next restart will get you the openbox window manager. No need for hacking files etc.


3

The Raspberry PI 4 uses a Quad-core ARM Cortex A72 processor while the Raspberry PI 3+ uses a Quad-core Cortex A53 processor. The A72 processor is a newer version (2016) of the ARMv8-A architecture than the A53 (2012). The A72 uses out-of-order and speculative execution and other improvements to achieve better performance than the A53. This is analogous ...


3

@Ingo has the correct answer - it seems better than other solutions around the Internet at the moment advising to add the Debian-unstable repository. I encountered a few issues while running through those steps though - and enough went wrong that I thought I'd document them with another answer, to make it easier to read than a comment - and also so I can ...


3

You need a stereo audio amplifier between the Pi’s analogue audio out and your speakers. If you’re ok soldering something like the following should work and could be powered from the Pi’s 5V. https://www.amazon.in/Solnoi-Electronics-PAM8406-Amplifier-Potentiometer/dp/B07HDP7222/ref=mp_s_a_1_10?keywords=stereo+amplifier+3w&qid=1584776772&sr=8-10


3

I did something similar. Now this isn't a bridge because it's using NAT, but you mentioned NAT so I think you really just want an AP Client Router. You could also genuinely route across the Pi just by binding a network to each side and giving it a route to use (like a default) after enabling IP forwarding. But that tends to give people a harder time to do ...


3

Raspbian's main partition (containing home and everything) cannot be seen by a Windows computer unfortunately. A Linux PC would see it fine, and probably a Chromebook or a Mac as well. If you want to transfer files, you can use a USB flash drive, or copy the files to the Pi's boot partition.


3

GPIO 3 Physical pin 5 (also 3) have on-board 1.8kΩ pullups and are intended for I²C so will be HIGH unless pulled down. I suggest you use a different pin. I have some reservations about what you are proposing. You should include some protection - a 1kΩ series resistor at least. I would omit the 3.3V regulator and substitute a resistive divider - ...


3

Yes, you can use an sd card from a Pi4 in a Pi3. The only issue might be if you have put any Pi4 specific settings in the general section of /boot/config.txt.


3

It seems that that one of hundred tutorials you used is somewhat outdated. You should use the tutorial given on the official Raspberry Pi site: Setting up a Raspberry Pi as a routed wireless access point, as already suggested by @Andyroo in his answer. If you have problems with hostapd or need a some more sophisticated setup, you may have a look at Setting ...


3

It is possible to setup a local NTP server on your server. The RasPis can address this NTP server to synchronize their clocks with all the features NTP provides. If the server can connect to the internet, its NTP server can synchronize with a time server on the web, so you do not have to monitor the time on your local NTP server.


3

I did: sudo modprobe btusb # add the btusb module to the kernel sudo systemctl start bluetooth.service And it works! $ sudo systemctl status bluetooth.service ● bluetooth.service - Bluetooth service Loaded: loaded (/etc/systemd/system/bluetooth.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2020-11-06 21:38:45 CET; 6s ...


3

For a Raspberry Pi you will never find an explanation how you can bridge a wired interface with a WiFi interface used for a client connection to another hotspot. Also Bridge Utils cannot do it. Please tell it to your Professor. If he is able to do it please ask him to publish it as fast as possible. We are missing this feature since years. For now you have ...


3

Debug that command from a terminal first, before wrapping it into a Python script. Chances are, ssh is stuck waiting for you to type the password in order to login. There's an official Pi guide explaining how to setup passwordless SSH access on a Pi using private/public SSH keys. You can share the same SSH key across several installations.


3

You can establish remote access using ssh with the equipment you like. Then you can mount the USB drive for example at /mnt/myusbdrive. From you (home)server you can just use scp to download files from the USB drive: rpi ~$ scp pi@remotepi:/mnt/myusbdrive/file . # dot as last character This will download the file into the current directory. It is no ...


3

It's possible - even likely perhaps - that your SD card is nearing end-of-life. There are several things you should do: Make a backup asap. A step-by-step was posted here in a recent answer. If your system is "jammed up", and you're unable to run the image-backup utility, it will be quicker/easier to remove the SD card, and "duplicate" ...


2

This question is pretty old, But even now I had come across similar issue: I will detail you how I was able to fix this for current version of raspbian 10. (i) Install Pulse audio tool sudo apt-get install pulseaudio pulseaudio-module-bluetooth (ii) Start Pulse audio pulseaudio --start (iii) Now turn on your bluetooth speaker , and make it discoverable, ...


2

Three things that need to be in place for the iPhone to connect with BLE to a Raspberry Pi: There needs to be a BLE service running on the Raspberry Pi That service needs to be advertising itself on the Raspberry Pi There needs to be an application on the iPhone that understands what to do with the advertised BLE service. To test this there are some ...


2

I can confirm that I also haven't had any problem powering a low profile 5V Noctua 40mm x 10mm fan from the 5V and GND pins. These pins are always on. This is on a Raspberry Pi 3B+ used as an Octoprint server. The power drain is minimal.


2

I added an external antenna without a mini SMA socket or disconnecting the onboard antenna. This is to control a resin 3D printer that's enclosed in a metal chassis. It's simply a wire connected to the through-hole via in the picture in the original post. It passes through the same low pass capacitor and inductor that the onboard antenna uses (https://youtu....


2

I tried to do it via connecting to hotspot with no password but comes out that SSH is not enabled (I guess the issue is with firewall or sth). How I solved it was using the graphical package manager (Raspberry logo on upper left -> Preferences -> Add/Remove software) to install virtual keyboard and typing my wifi password. After that, the SSH worked ...


2

I had a similar issue with my Pi. Doing a simple pip install solved the issue. pip install RPi.GPIO


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