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.

Filter by
Sorted by
Tagged with
2
votes
1answer
32 views

Is there a conflict between raspbian/raspberrypi versions and python versions?

Can some version of python not run on some version of Raspbian? Is there some thing in the architecture of some version of Raspberry Pi that could make them incompatible with some versions of python?
1
vote
1answer
29 views

Raspberry pi 2b not booting after SD card was ejected while working

So, like the title says: My Raspberry pi 2b is not booting after the card was ejected while working. I was watching some Kodi media, then it froze, I realized that the SD Card was ejected (there is a ...
0
votes
0answers
27 views

How to emulate the u-boot with raspi2 on QEMU

By referred https://www.raspberrypi.org/documentation/configuration/boot_folder.md and What is the boot sequence? I am trying to run u-boot by emulating Raspberry pi 2 on QEMU. I followed https://...
0
votes
0answers
14 views

ALSA lib bluealsa-pcm.c:219:(io_thread) PCM FIFO write error: Broken pipe aplay: pcm_write:2053: write error: No such device

Bluetooth Error Device: Rpi 2 2014 Model B Ver 1.1 also Rpi 3 Bluetooth Headset JBL Everest Elite 750NC Bluetooth Adapter Panda Wireless PBU20 command line: aplay -D bluealsa:DEV=C8:DF:84:20:...
-1
votes
0answers
57 views

Can a project work in one pi and not in another(both working pi's) [closed]

I have two Raspberry Pi 2's and a project on an SD Card that was in one of the Pis until I wanted to change it out (aka green and red light on, white screen on my LCD display), but starting the Pi ...
1
vote
1answer
36 views

Troubleshooting my project xorg error. Services not booting

My /etc/X11/xorg.conf is empty i did have a 99-calibration.conf I put in /etc/X11/xorg.conf.d/ but I had to make the xorg.conf.d/ dir so i migth have already messed up before. Now starting the pi ...
0
votes
0answers
12 views

Is it possible to access an Android Phone's volume permission and control it with RaspberryPi?

I want to have a wireless network using RaspberryPi where it connects with an Android phone, accesses its volume permission and turns it down. Any inputs on how to go about this?
1
vote
1answer
67 views

writing into fifo file and reading it

1.Transmitter side code: A)Recording audio into fifo file(no need to create fifo file separately arecord command will create fifo file): import os os.system('arecord -D plughw:1,0 -d 0 --rate=19200 ...
0
votes
1answer
35 views

Can a voltage at a GPIO pin with no mode set harm the pi

I have a Raspberry Pi 2 Model B, and I plan on using the GPIO pins to detect whether a voltage is present or not. However, the circuit that controls the voltage levels runs independently from the pi, ...
0
votes
1answer
21 views

polling gpio raspberry 2 doesn't work

i'm writing a library for my raspberry pi 2 for gpio control. I'm trying to test a function for read a gpio driven by interrupts with sysfs but i can't do that my function stops in poll() function. ...
-1
votes
1answer
45 views

TFMini Plus LiDAR not working

I'm trying to work with a Benewake TFMini Plus Lidar sensor in a RaspberryPi. I'm using a USB-2-TTL serial adaptor, which is working properly according to the tests I've ran. I'm testing the sensor ...
0
votes
2answers
40 views

Issues running Kivy and Flask together on Raspberry Pi 2 with touchscreen

Setup Kivy 1.11.1 Flask 1.1.1 Python 2.7.13 Issue I have an issue running together a Kivy app and Flask as thread on a RPi2 with a touchscreen. It is similar to the issue mentioned in this post ...
3
votes
1answer
58 views

Unable to reset password on Raspberry Pi (Raspbian Jessie)

I'm trying to follow the directions in https://howtoraspberrypi.com/recover-password-raspberry-pi/. (For future reference in case that tutorial disappears, here is the steps up to the point which I ...
0
votes
0answers
27 views

Raspberry pi wireless WiFi

So I had an idea and wanted to know if it was possible and how to tackle it. So I was thinking if I had a raspberry pi plugged into my router at home via Ethernet cable, could I create some sort of ...
0
votes
0answers
15 views

bridge repeater unsure what to call it

ok here is the set up router 1 ~~ pi ~~ router 2 ~~~ rest of the home router 1= public wifi (aka library) i need the rpi to pick the signal up using a [Alfa Long-Range Dual-Band AC1200 Wireless ...
-2
votes
1answer
31 views

I'm trying to make a shell script that can mount a exFAT drive

Hi I am trying to make a shell script that can create a directory (/mnt/drive) and mount a exFAT drive in that directory on my raspberry pi 2. The problem I am having is that when I try to run the ...
0
votes
0answers
21 views

Use Raspberry Pi 4B as wifi access point and wifi client at same time to function as an extender/repeater [duplicate]

Looked at older threads and found that none of them were working properly and was hoping for an updated tutorial. My main issue is that my Model 3 won't connect to a certain wifi network, and was ...
2
votes
1answer
52 views

OnionPi - No internet connection after adding Iptables rules

I need some help or advices since I've not know what could I do to fix this issue. I've built an onion pi following the adafruit tutorial. This basicly is a wifi hotspot that routes all traffic ...
1
vote
1answer
121 views

Wireless USB Adapter not working on Raspberry Pi 2

I am trying to install a Wireless USB Adapter but Raspbian can't detect it. tp-link TL-WN725N | Raspbian 10.1 | Raspberry Pi 2 Model B I think the drivers were installed correctly, but I just ...
1
vote
1answer
60 views

Pi 2B won't update TeamViewer

I've recently tried to log into my Raspberry Pi (2B with 1GB running Jessie) using TeamViewer and found that my TV software is out of date. I needed to update TV to version 14. When I downloaded ...
1
vote
0answers
137 views

cannot update after adding new source

I am running a raspberry Pi 2B (with GUI disabled) and I added deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi to my sources.list. After this, I ran sudo apt-get update ...
1
vote
1answer
40 views

Remotely Connect to Pi through VNC Outside of LAN Network

I want to be able to remotely access the desktop of my Raspberry Pi 2, running Rasbian Full, from outside of my LAN network. I've been able to easily connect on my network, but I want to be able to ...
0
votes
2answers
509 views

Pi-Hole: How to change DNS via command

I use Pi-Hole on my Raspberry Pi 2. It's very easy to change the Pi-Hole DNS using the Web Interface Settings. But how can I change my Pi-Hole DNS via command in my raspberry pi console? (Raspbian) ...
1
vote
1answer
61 views

Sites unavailable ('Network unreachable') but pings work fine [closed]

I have a Raspberry Pi 2 Model B running Raspbian Buster (upgraded from Stretch). I don't use it very often, but recently I noticed that I can't do apt update because all the repos are unreachable (...
0
votes
0answers
43 views

Can't Install Raspbian Because SD Card Shrunk

I have an 8 GB Kingston SD card that I'm using. I formatted the card with the formatter from sdcard.org and it kept its file size after format. I downloaded the NOOBS 3.2.1 file from RaspberryPi's ...
0
votes
2answers
37 views

How to run a raspberry pi program without connected to a desktop screen

I want to be able to run a raspberry pi program without being connected to a desktop screen so the whole idea is to make an object tracking robot using raspberry pi and a camera. This should be able ...
0
votes
0answers
69 views

Running a mongodb server on Raspberry pi 4 [duplicate]

I am trying to run a MongoDB server with a node.js server and express on a Raspberry Pi 4. I have installed the MongoDB server using sudo apt-get install mongodb. When I try to start the node server I ...
0
votes
1answer
50 views

Possible to stream live-video with (almost) zero-lag using RPi 2B accessible via browser?

I'm an apprentice for becoming an IT specialist. My colleagues and me are trying to set up a Raspberry Pi in order to stream live video in 720p with (near to) zero-lag which has to be accessible via ...
0
votes
1answer
46 views

DHCP configuration in systemd

Currently, I have configured access point using hostapd and using systemd for configure the network ap0 (access point device). the access point configured automatically to use DHCP server. my ...
3
votes
3answers
824 views

PiHole not resolving local DNS entries

I have a piHole set up on my network with address 192.168.2.10 My router is 192.168.2.1 and the DNS settings on the router point to 192.168.2.10 meaning all traffic that goes via the router (which is ...
0
votes
0answers
22 views

Can PiVPN ping the client first to establish VPN connection?

I am trying to setup a PiVPN on my home network. I installed it on my Raspberry Pi 2B and the server seems to be working fine on the Pi. But if I try to login from my phone, I get the 'Server Poll ...
1
vote
1answer
27 views

Does a hat designed for RPi 2 B still work on Rpi4 (GPIO compatbility)?

I'm now continuing the design of a PCB (Pi Hat) that I started with a RPi 2 Model B. Will a RPi4 accept this hat? TL;DR: Does a RPi4 accept a Pi Hat designed for RPi 2 B? Or is there a break in ...
1
vote
1answer
53 views

Routing traffic with 2 VPN Gateways on RaspberryPi

I'm using Raspberry Pi to run OpenVPN client. I have 2 client connectios set up, using interfaces tun0 tun1 The raspberry pi uses interface eth0 to connect to the internet. Then I have USB ...
0
votes
0answers
62 views

Raspbi spi CS line won't drive low

Raspberry pi 2 Model B V1.1 Not sure what's happening here, everything should work. Tried different cables, different pins on the analyzer, different laptop... the CE0 line won't go low. Currently ...
0
votes
0answers
24 views

Resistor breakdown - Raspberry pi 2 Model B Version 1.1

on my raspberry pi 2 model b v 1.1 there is a shorted resistor with a name tag R37. I cannot find a circuit diagram for this particular version of raspberry, so I do not know which SM resistor to buy. ...
2
votes
3answers
84 views

SSH Connection refused, even though the openssh-server daemon is running

I did a fresh installation of Ubuntu Mate on my Raspberry Pi 2. Installed openssh-server (in fact it was already installed), and changed the port to be 10022. However, I cannot access the Pi, from ...
0
votes
2answers
32 views

Connections to my Raspberry PI SSH hang after a while

I have a Raspberry Pi 2 B connected on the network with a static IP. After a fresh reboot, I can connect to it smoothly and it just works: ssh -A <ip> -p <port>. But after, let's say one ...
1
vote
2answers
456 views

Is the 3.5mm audio jack tied to a GPIO pin?

I have a Raspberry Pi 2 B+ and I would like to confirm that the 3.5mm jack isn't tied to a GPIO pin. I could not find any information on this and thought this may be the case but I wanted to double ...
0
votes
0answers
25 views

Raspberry Pi 2b won't produce HDMI output, both LED's on

I have a Rasberry Pi 2b running raspian. It was previously working, however whenever I try to turn it on both LEDs come on prmenantly but nothing is outputted on HDMI. My TV does change from saying ...
2
votes
2answers
127 views

What are the differences in architecture of Model 2 and Model 3B+? (SD card not working in model 3B+)

I have two raspberries (model 2 and model 3B+) and two sd cards. I wanted to swap the cards. The card from model 2 is not recognised in model 3B+. There is no green LED which indicates that the ...
0
votes
1answer
80 views

Pigpio on callback get value

I currently have some code that I found that constantly outputs a value from a digital caliper. However, I want to modify this so that it is inside a function that can return that is returned from ...
1
vote
0answers
90 views

Video lags in VLC (Raspbian Buster) in Raspberry Pi 2

I installed a fresh image of Raspbian Buster in my Raspberry Pi 2. When I run the Big Buck Bunny video in VLC (both in full screen and window mode), the video lags.As far as I can remember, this did ...
2
votes
3answers
72 views

How can I clear space on my Raspberry Pi?

I am not able to get enough space on my Pi — I am only getting 1.3GB free even after deleting all the contents which have a total of 8GB. How can I make more space on my Pi?
1
vote
1answer
48 views

Recover Minecraft Pi world after Accidental system shutdown

While playing the Minecraft Pi on my Raspberry Pi 2B, accidentally the system went off, and when I log on again I'm only able to see the "create world" button. I can't find my last saved world. Is ...
0
votes
0answers
100 views

Pi B 2 Segmentation fault result from airmon-ng - Why?

This is my first post here and I'm a major noob to this RPi stuff. I'm experimenting with aircrack-ng on my own network to test it's weaknesses and want to use my Pi to do it. I installed a fresh and ...
1
vote
0answers
35 views

Take data from raspberry [closed]

I want to sample in the raspberry pi, since I am reading the analog values, the detail is that I need a time function which allows me to have the time in a vector of what I am sampling. there are a ...
1
vote
1answer
521 views

Troubleshooting Ethernet: Network is unreachable

I have a Raspberry Pi 2 Model B V1.1 running Raspbian (I'm not a confident Linux user, but I understand this is the "Jessie" distribution) and have been using it to install matplotlib and other MATLAB-...
1
vote
0answers
21 views

LED Strip on Raspberry Pi Check if its On - Neopixel

How can I check if the one pixel is on or not? Is there any function for that. I've googled but couldn't find anything helpful. import board import neopixel pixels = neopixel.NeoPixel(board.D18, 17) ...
0
votes
1answer
118 views

Detect multiple button presses on circuit

I am totally new to using the Raspberry Pi. Right now I am trying to determine if a Pi could be used to solve my problem or not. I am trying to detect multiple buttons pressed. With this I also want ...
1
vote
1answer
131 views

Speed up SPI transfer

So I need to transfer a byte on the spi interface on raspberry pi. Here's my code in python import spidev import time import binimp fhandle=open("white.txt") initial=binimp.extract(fhandle,'192','...