Questions tagged [pi-2]
This refers to the quad-core Raspberry Pi 2 (currently only available as a "B" model with Ethernet and four USB ports), with 1 gigabyte of RAM.
1,576
questions
0
votes
0answers
17 views
Pi 2B with docker loose connection after some time
I have a Raspberry Pi 2B, I installed first Raspberry OS lite and then Ubuntu Server. The behavior I will descript was the same in both systems.
So, I wanted to use Docker to run a web server (1 ...
1
vote
1answer
30 views
Problem copying Micropython from Rpi2 to Pico
I am following this page for instructions: https://www.raspberrypi.org/documentation/pico/getting-started/
I see the pico added as a drive when I hold sel button, and apply power with the usb cable.
...
0
votes
0answers
23 views
Configuring Rasberry Pi 2b for WiFi adapter monitoring fails upon reboot
I've been using this guide to configure my Raspberry Pi model 2b and turn my WiFi usb adapter into monitor mode.
To note I used this github repo to get my WiFi usb adapter working on my Raspberry Pi ...
0
votes
2answers
35 views
Prevent automatic connection to open wifi
I am using a Raspberry Pi 2 with a USB wifi adapter (headless setup). The wpa_supplicant.conf file contains authentication information only for my wifi access point, and the pi connects to it as ...
0
votes
0answers
29 views
Raspberry Pi Water Level Sensor doesn't work
I got a question. I'm trying to make a water level sensor to check the water level with Raspberry Pi and a water level sensor using this tutorial. https://kookye.com/2017/06/01/design-a-water-level-...
0
votes
0answers
16 views
Raspberry pi 2B is stuck on rainbow screen and the 7" official screen is white
My Raspberry pi 2B works perfectly fine when it is connected to my TV via HDMI.
But when I connect it to the touchscreen at the same time, the touchscreen is just a white screen and on the HDMI, it is ...
2
votes
3answers
72 views
RPi fails to get DHCP-assigned IP address
tl;dr: After my local network addressing scheme changed from 192.168.1.X to 192.168.21.X, my RPi failed to adapt and was still accessible via 192.168.1.2. When I added iface eth0 inet dhcp as the last ...
0
votes
0answers
40 views
Fail to install alpine linux in sysmode
I have a raspberry pi 2B and I wanted to install alpine linux in sys mode. I use a 64gb microsd samsung evo plus. I followed the wiki of alpine here formatting like in troubleshot the boot partition ...
1
vote
0answers
377 views
PiHole Not Resolving Local DNS Entries for clients with static IPs
I have a Raspberry Pi 2 running Pi Hole 5.2.2 and Cisco Linksys E2000 router running DD-WRT v24-sp2 (08/12/10) std-usb-ftp
I want to be able to have PiHole resolve a DNS entry such as MyDevice to an ...
0
votes
0answers
48 views
Python script not playing audio when run through systemd
After trying every possible solution online I am posting this question. I have a python script that runs on boot with the help of systemd. Everything worked fine till I installed a fresh raspian ...
0
votes
1answer
35 views
voltage issues with GPIO raspberry pi 2
Need some assistance here.
I am trying to setup some high voltage SSRs to my Raspi for an eventual lightshowpi project. Trying to start small first. I have a bunch of LEDs I have been playing around ...
1
vote
0answers
33 views
Raspberry Pi 2B External HDD not detected
I'm trying to connect my external hard drive to my Raspberry Pi 2B, but I am not able to get it to show up. I am running the latest Raspbian, and I have updated my software. Running lsblk --fs, I only ...
0
votes
1answer
159 views
firmware bug bootloader left irq enabled bank 1 irq 9 and boot fails
I updated the packages on my Raspberry Pi 2 (running Ubuntu Mate 20.04) by using apt update and apt dist-upgrade. Everything went smoothly. Then I restarted, and got the following error during the ...
0
votes
1answer
99 views
QEMU 5.1, rpi2b, (Arch) and ssh. SSH fails
EDIT: I significantly updated this after applying @Nikita Kipriyanov's answer.
As of version 5.1 or 5.01 QEMU now supports RPI2 & 3 and USB. As the network on the RPI is behind USB, I should now ...
0
votes
0answers
64 views
RPi 2B slower internet speed via ethernet connection
I have a RPi2 B and been noticing I am not getting the full internet speed via the ethernet connection.
My setup:
1TB HDD via USB
16gb Sandisk MicroSD
RPi2 B connected directly to modem
Plex, RClone, ...
0
votes
2answers
32 views
Best way to detect a small portable device in the range of 5-6 meters [closed]
I have a couple of things automated in my room (fan, lights etc) using a server running on Rapsberry Pi 2 and relays.
Now I would like to implement a system to automatically detect when I am in the ...
0
votes
0answers
23 views
Raspi 2 v1.1 freezes randomly
I set up my old Raspi2 v1.1 a few days ago, but its behaving strange.
It freezes / hangs up after some time.
Things I've tried so far:
Swapped out my sdcard for a different one
Copied the os to an ...
0
votes
0answers
43 views
Raspberry PI and 8 module relay board
I have a raspberry pi 2 and an 8 module relay board (http://nettop.gr/index.php/en/hlektronika/relay/8-channel-5v-relay-module-with-light-coupling-5v.html).
Between the relay board and the raspberry I ...
0
votes
0answers
32 views
VPN working? or not? How do I know?
I have what appears to be a working VPN on my Pi2 with Raspbian which I can access from an Android mobile phone and a Nexus 7 using PureVPN
What I cannot determine is whether it is actually working ...
0
votes
1answer
32 views
Why here capacitors of 0.1uf and 100uf are used?
What is the use of these two capacitors here. The circuit is working just fine without them also.
0
votes
0answers
11 views
Yocto linux on rpi 3b+, bootup issue. mmc1 is not getting hardware interrupt
I tried to bootup rpi 3b+ with yocto-linux(kernel v4.19)(console image) but its not booting up. I suspect its something related to i2c or interrupt.
Note : I have taken care of device tree and overlay....
-1
votes
2answers
724 views
DHT 11 sensor not found, check wiring
I am using raspberry pi 4 model b and sensor DHT 11 for checking the humidity and temperature. When I am using the code DHT.py, the result is:
1604263139.922 4 3 0.0 0.0
1604263142.192 4 3 0.0 0.0
...
0
votes
1answer
52 views
Using pi as router
What is the minimal config needed, to be able to specify some static route for network subset (eg 10.199.0.0/16), so that my raspberry redirects to internal PC?
LAPTOP (pink) is connecting via VPN to ...
0
votes
0answers
16 views
Is there an Arch derivative for Raspberry Pi 2 that has desktop environment preinstalled?
I have a Raspberry Pi 2B, and want to install an Arch based distro on it. Is there a derivative of Arch that supports Pi 2B and also comes with desktop environment preinstalled?
Arch Linux Arm ...
0
votes
0answers
24 views
How to install Lantern Pro for Raspberry Pi 4b? [duplicate]
I have a lantern pro account, I want to install and use it for my Raspberry Pi 4B
How to install Lantern Pro for Raspberry Pi 4b?
0
votes
1answer
67 views
Installing OpenCV fails for missing header files
I am trying to install opencv 3.0.0 on my raspberry pi 2b but I keep running into erros... currently, it complains about the following missing header files when I run the following cmake command:
...
0
votes
0answers
85 views
Cannot change display resolution from 640x480
I have a Raspberry Pi 2 Model B. which I use to auomate a couple of things in the house. I connected a relatively old Full HD display which has VGA input, by using a HDMI to VGA adaptor.
The display ...
1
vote
3answers
45 views
power supply specification
are there any public requirements (which I have not found) specifing power supply ramps / gradients
e.g. is there a spec like from 0 to 5V in 5ms or faster
also when turning of, is there any ...
0
votes
0answers
188 views
Installing php7.4 + MySql on Stretch with nginx
I want OwnCloud and I am trying to install PHP 7.4 on Raspbian GNU/Linux 9 (stretch) following @janw's tutorial but facing some errors:
E: Unable to locate package php7.4-⦠then I was able to solve ...
2
votes
2answers
81 views
Access 192.168.2.x from 192.168.0.x
My Rpi-2 is connected to my home router which assigns an IP address 192.168.0.x to all its clients. I have created a network bridge on this rpi so that it shares the main routers connection with the ...
0
votes
1answer
140 views
RPi will not boot to command line [closed]
My RPi 2 (jessie) still boots to desktop, if I configure CLI in raspi-config.
I also tried what was recommended here:
sudo systemctl set-default multi-user.target
sudo ln -fs /lib/systemd/system/getty@...
2
votes
3answers
370 views
MySql backup database every night
I have service and MySql database on my Raspberry Pi 2B. Yesterday, my SD card in my phone died.
I started thinking about database backup on my Raspberry Pi.
Anybody have any experience with this? I ...
0
votes
0answers
42 views
Load cell changing over time
I'm using a 1kg load cell beam (see example at bottom) connected to a HX711 board then connected to the Raspberry GPIO.
I'm running this Python3 code: https://github.com/gandalf15/HX711/blob/master/...
0
votes
0answers
37 views
I see two Octopi instances on my Raspberry Pi - why, and how can I stop this?
I installed Octopi on a brand new R Pi straight out of the box, connected it to my Wireless network and to my Ender3D and all went well for a few days, until I started having odd symptoms, such as ...
0
votes
1answer
42 views
Update file to text file on webpage [closed]
(If this is the wrong stack please let me know)
Consider the following: I have a nodejs file called stbot.js. This file I code on my laptop and transfer to my pi via github. However it kinda annoying ...
0
votes
1answer
38 views
How to connect raspberry pi to cellphone tower and communicate with it by Android phone [closed]
I need to communicate to my raspberry pi with my android phone via cellphone tower. For example,a raspberry pi is connected to nearest base station, if i enter into that base station's range i want to ...
0
votes
0answers
12 views
Audio output is changing after I exit the ssh session
My RPi2 has both HDMI and jack output audios.
I would like to use always only the jack output. If I connect via SSH to the pi and select the output in alsamixer (using F6), I can activate the audio ...
2
votes
3answers
136 views
Cannot reach Internet after assigning fixed IP address in dhcpcd.conf
Hardware: Pi 2
OS: Raspberry Pi OS 32-bit
No firewall. Running over ethernet (no WiFi card)
I am following a tutorial to set up a Pi as a file server for home. For this, I need to install Samba. ...
0
votes
1answer
34 views
JAVA development environment for Raspberry Pi 2 or perhaps from the command line?
Hi I'm new to Raspberry (Pi 2) and would like to know
(1) if it's feasible to develop simple JAVA apps in a development environment (Eclipse? Others?) or failing that from the command line.
(2) a ...
0
votes
2answers
78 views
Change the read-only to write [closed]
I don't know why suddenly the following message has started to appear.
-bash: cannot create temp file for here-document: Read-only file system
I can't write files, only read, can't use tab to end ...
0
votes
1answer
34 views
playing music from stream [closed]
I have a raspberry pi 2 model B and a raspberry pi 1 (I think, it doesn't have any version number on it and I have had it for a long time and I don't quite remember exactly the version).
I think the ...
1
vote
1answer
76 views
Installing fresh image of operating system on Raspberry Pi 2
I have an older Raspberry Pi 2 that I'd like to put the latest compatible OS on. The specs of my Raspberry Pi:
Raspberry Pi 2 Model B 1 GB from Canakit.com
It came with a 8 GB SD card.
I bought it ...
0
votes
1answer
53 views
Raspberry Piv2 Camera NoIR displays pink colors in video feed!
I want to ask that I have a piv2 NoIR camera that gives pink colors in a camera stream running live on my Jetson Nano, So I want my piv2 camera to display normal colors then what can I do? Do i need ...
1
vote
1answer
45 views
Raspberry Pi 2B missing RAM
weird thing here. I noticed my Pi model 2B is reporting a smaller amount of available RAM than before (~700Mb vs 1Gb).
[root@raspberry ~]# free -m
total used free ...
-1
votes
1answer
141 views
Raspberry Pi & Motor Control [closed]
I am looking to use raspberry pi to control a motor that has multiple speeds but want all speed and timing to be controlled on the pi. Would the proper setup be a breadboard with a servo motor ...
2
votes
2answers
561 views
Using PWM with RPi.GPIO in Python
Scenario: I want to control a PC fan using the Raspberry Pi. The 4-wire-fan (MGT9212UR-W25) has its own power supply (12V) and can be controled via PWM. I would like to control it with a Python script ...
0
votes
2answers
29 views
Unable to upgrade my model 2B Pi running Jessie
I am trying to update all of the software on my model b pi.
I have cleared as much space as possible - then did df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 6.0G 5.2G 450M ...
1
vote
1answer
56 views
Can Rpi GPIO pins be used to drive a DC motor? [closed]
I tried to GPIO pin to high and I cannot see output voltage. I try every solution but no one works for me.
import RPi.GPIO as g
g.setmode(g.BOARD)
g.setup(16, g.OUT)
g.output(16, g.HIGH)
I look GPIO ...
0
votes
1answer
107 views
Reconfigure pi GPIO default states
The default states (right on boot), on my pi are:
+-----+-----+---------+------+---+---Pi 2---+---+------+---------+-----+-----+
| BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi ...
1
vote
2answers
388 views
How to turn off relay when RPi shuts down
I have connected a relay to BCM 14 and by setting its output to HIGH I can turn it on, making a 220V bulb to turn on.
I use for that the following python instructions:
GPIO.setmode(GPIO.BCM)
GPIO....