Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
0
votes
0answers
28 views

How to Type Unicode Characters

I want to show if a code is locked or unlocked and a fun way I thought of would be to use a unicode character. How would I type Unicode characters such as “🔒” (U+1F512), or is that beyond the pi's ...
-1
votes
0answers
11 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
18 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
34 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
46 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
0answers
63 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
33 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
125 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
37 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
39 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
32 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
35 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
33 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
33 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
290 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
18 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
25 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
44 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
42 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
68 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
30 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
332 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
24 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
124 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
50 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
68 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 ...
1
vote
3answers
68 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
45 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
75 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 ...
0
votes
1answer
246 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
71 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
91 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','...
0
votes
0answers
19 views

Which screen size in Pygame for an 3.5 inch LCD?

i try to fill out my whole LCD screen in Pygame with the best sharp resolution possible. So there is a difference between computer screen and the LCD. My LCD has resolution is 480×320. So choosing ...
-1
votes
2answers
194 views

Reading analog sensor value of 0-10Vdc with 12/16bit resolution

Dear all, I am using below model for reading analog value. I wanted to measure 0-10VDc &0-30Vdc .i wanted use it application where accuracy important. if i wanted to 12/16bit resolution of value ...
1
vote
1answer
33 views

ALPR on Raspberry Pi [closed]

I'm looking to do a quickie - that is, a simple project for ALPR on the Raspberry Pi. I would prefer to have the ALPR engine on the Raspberry Pi so that I don't have to send images over to the cloud. ...
0
votes
1answer
48 views

L298N H-Bridge motor control code issue

I am learning how to build a basic robot using a raspberry pi and an L298N h-bridge. I have followed this tutorial successfully i:e the single DC motor I have connected does work in response to the ...
0
votes
1answer
202 views

Using GPIO between two radio programs

So I have two programs that are meant to talk to radio's via GPIO pins but need them to talk to each other via GPIO Eg.. Program 1 PTT = 12 COS = 16 Program 2 PTT = 16 COS = 12 So basicly when ...
1
vote
0answers
136 views

JSch / Java SDK 1.8 - getting Auth Fail from working key file

I'm having an issue with JSch using the ARM variant of Java 8. Using SSH works fine with the key: pi@raspberrypi:~ $ ssh -i .ssh/Pi2Desktop2 -p 22 astump@192.168.1.2 Welcome to Ubuntu 18.04.2 LTS (...
1
vote
0answers
28 views

efficiency of python sleep function to set a raspi pin HIGH and pause the script

I am continuously measuring some parameters using Raspberry Pi. I am using Python. When the measured value is higher than a particular value, I want to set a GPIO pin high (for some LED indicator) and ...
1
vote
1answer
23 views

how to implement a video stream unto a webpage using a Raspberry Pi and being able to see the terminal without connecting HDMI cables

i am quite conversant with Raspberry Pi and python language which i love very much that i was looking at videos on Youtube about Raspberry pi and i came cross this video which got me really intrigued ...
1
vote
0answers
49 views

How to connect to the pi with xrdp installed using Microsoft Remote Desktop on another network

Hello I have a raspberry pi 2b with xrdp installed. At home I can connect to it in rdp and ssh without any problems. The pi has the ssh and rdp ports forwarded. From another network, I can connect to ...
1
vote
1answer
32 views

How to stream music from pi to computer through browser interface?

I have a Raspi with connected USB drive that contains my mp3 collection. It is currently set up as a NAS using Samba. Is there a package that allows me to stream the music from the RasPi to my ...
0
votes
0answers
21 views

PI3 b+ - NOOBS 2.7/2.8/3.0

I have a problem with my new Raspberry. I have 3 devices to play a video from a website 24/7. One of them freezes many times after hours. Temperature is about 50°C, I use Chromium v65, use VNC, no ...
0
votes
0answers
348 views

Prevent Raspberry Pi From Sleeping

want to prevent Raspberry Pi from going to sleep I tried below mentioned Solution but my pi is going to sleep every 10 min. I am using Raspbian OS with Raspberry Pi 2 1.I installed xscreensaver and ...
0
votes
0answers
351 views

ffmpeg for h264 encoding on raspberry pi2

I'm working on my Rasperry pi 2B, with Raspbian 2019-04 and I have compiled ffmpeg as described here: https://www.reddit.com/r/raspberry_pi/comments/5677qw/...
0
votes
1answer
205 views

ADC with Raspberry pi to record sound

I am trying to record sound through sound sensor module and I found that raspberry pi does not have analog input system. I bought an ADC chip (MCP3008) to convert analog to digital signal so that ...