Hot answers tagged

7

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

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

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

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

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

I copied a tutorial here: Thanks to the built-in Wi-Fi, the newest version of the Raspberry Pi is more useful than ever for networking projects. We recently showed you how to use your Raspberry Pi as a wireless access point – a router, essentially – and now we have a project for you that builds on that. You can use your Raspberry Pi as a VPN access point, ...


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

You can also the rfkill command to disable or enable the Wi-Fi interface(s). This is how the interface is disabled by Raspbian with a new installation before the country has been configured in the Wi-Fi settings (e.g using raspi-config). You can disable the Wi-Fi interface(s): sudo rfkill block wifi Enable it like this: sudo rfkill unblock wifi And check ...


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

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 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 realize this is over 3 years old now, but after looking at the answers given here, I found that I didn't even have pulse audio installed (Pi OS Lite (Buster) on RPi4). After installing bluez-tools and pulseaudio, I was able to run: pactl load-module module-bluetooth-discover and got the error: Failure: Module initialization failed I started installing ...


2

According to the Picamera docs: When trying out these scripts do not name your file picamera.py. Naming scripts after existing Python modules will cause errors when you try and import those modules (because Python checks the current directory before checking other paths). You can't name your script picamera.py, otherwise, Python will think that's the ...


2

I found a way , Remember it's a Linux based system and nothing is hidden. There is a file named "index.theme" in the usr/share/icons/hicolor Using the terminal open the file. Use command: sudo nano /usr/share/icons/hicolor/index.theme When the file opens edit the 4th line "Hidden=True" change it to False then press ctrl+x , yes, ctrl+m ...


2

Current Raspbian (based on Debian Buster distro) has SageMath version 8.6 available. So yes, it has been ported to Debian, adn this port allowed it to run on Raspberry Pi. Current development vesrions of Sagemath can be built on Pi 4 with 8Gb of RAM, I don't know whether this is possible on less powerful models. pi@raspberrypi:~ $ uname -a Linux raspberrypi ...


2

I had the same exact problem, after searching through I found that problem was related to authentication and following line helped me to resolve the issue. I forgot which Stack Exchange I found the answer from. Here are the steps that I took: Connect to your Raspberry Pi through ssh command. ssh pi@your raspberry ip Then enter your password to your ...


2

Now the "Obsolescence Statement" is specified on product`s page (almost in the bottom): RPI 3B https://www.raspberrypi.org/products/raspberry-pi-3-model-b/ "Raspberry Pi 3 Model B will remain in production until at least January 2026" RPI 3B+ https://www.raspberrypi.org/products/raspberry-pi-3-model-b-plus/ "Raspberry Pi 3 Model B+ will remain in ...


2

I would have commented but don't have enough reputation. Ingo's answer almost worked for me. However there was a weird bug where the virtual interface was not removed sometimes. Apparently (source: https://github.com/seemoo-lab/nexmon/issues/221) this can happen because the broadcom driver crashes when the pi is started up without wifi. The solution is to, ...


2

This feature is called "viewport panning" and it can be enabled using xrandr: xrandr --output default --mode 800x600 --fb 1280x1024 --panning 1280x1024 You still need a framebuffer large enough to fit the whole virtual screen, so you might need to set framebuffer_width and framebuffer_height in config.txt. If your screen comes with a custom driver,...


2

easy option is to use cpu-frequtils sudo apt install cpu-frequtils With cpufreq-info you will get an info on what frequencies and governors are possible for your cpu. Then set the governor to powersave to have the cpu running at the lowest frequency all the time. (according to this governor description) sudo cpufreq-set -g powersave or if you wanna have ...


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