Most Popular

1500 questions
10
votes
3 answers

Creating halt/wake button?

I have rigged up a wake-from-halt button using pins 5 and 6. These two pins, when connected, will reset power and reboot from halt. I want to use this same button, if I can, to run a command that, when pressed, will shut down the computer using sudo…
Ryan McClure
  • 225
  • 2
  • 9
10
votes
1 answer

Connecting to a Raspberry Pi TightVNC server isn't working with Screenshare on Mac OS X?

I have a tightvnc server set up on my raspberry pi on port 1 but when I try to connect to it from my mac using the built in screen sharing client i get an error: Connection Failed to:192.168.1.127:1 Please make sure that Screen Sharing (in the…
user12174
  • 111
  • 1
  • 5
10
votes
2 answers

How do I stream movies to openELEC via LAN?

I want to streammovies from my PC to the Raspberry Pi where openELEC is installed on. It works just fine. It's installed correctly. But how do I stream movies from a pc to the device? So I won't have to use any external data-storage for the…
SjonTeflon
  • 261
  • 1
  • 4
  • 9
10
votes
4 answers

How to set up ssmtp and send emails?

Im new to raspberry pi. I installed the raspian OS on it. I want to send emails from it using my gmail account. I want to send from the command line interface and from php scripts. I followed this…
omega
  • 201
  • 1
  • 2
  • 3
10
votes
4 answers

Is it possible to stream H.264 with RTSP on Raspberry Pi?

I'm trying to set up a video conferencing system by using two Raspberry Pi boards. How can I stream the H.264 protocol over a real-time streaming protocol via an Ethernet connection? Which OS should I use to develop on the Raspberry Pi board?
sujal
  • 101
  • 1
  • 1
  • 4
10
votes
2 answers

Battery Power Requirements

Is this Maplin Power Bank 4000mAh pwerful enough to power the Pi with all of the peripherals below? This is useful as I cannot order online, and it is currently £15. I have a Raspberry Pi Model B, which I plan to use build a small two-motor robot.…
Wilf
  • 2,513
  • 3
  • 22
  • 38
10
votes
5 answers

How to wire a stepper motor?

I recently bought one of these stepper motor and driver boards - and I cannot find any documentation how to connect it to the Raspberry Pi - I'm attempting to use the AdaFruit tutorial and while I've gotten all of the connections made to the…
Steve French
  • 209
  • 1
  • 3
  • 13
10
votes
1 answer

How to remotely reboot halted Pi

I'm thinking of building an array of Pis but I'd like an intelligent method of powering them, i.e., I would like power to each to be controllable via USB. I like the USB GPIO Module suggestion given here, however, I would like to know if the reset…
hfaran
  • 201
  • 1
  • 5
10
votes
1 answer

Can I run hardfp software on a softfp kernel?

How to build a GCC 4.7 toolchain for cross-compiling? explains how to build a cross-compiling GCC and advises choosing softfp, but I understand that hardfp would be much faster. Will software compiled for hardfp work on a softfp kernel or is the ABI…
Alex Chamberlain
  • 15,530
  • 14
  • 67
  • 113
10
votes
6 answers

Why does my Raspberry Pi keep on rebooting?

I have a Raspberry Pi running Debian. The boot.rc file in the boot partition is replaced with the boot_enable_ssh.rc so that I can access it with ssh. After that did not work, I connected it to a screen and watched the output. The boot process seems…
Till B
  • 2,353
  • 4
  • 19
  • 16
10
votes
3 answers

ERROR: Environment '/home/pi/.virtualenvs/cv' does not contain an activate script

I am trying to install opencv 4 on my raspberry pi 4 using these instructions from this website but I have come across an error when I run the command mkvirtualenv cv -p python3. The error is found below. Please do help me guys as I have searched…
user3880651
  • 189
  • 2
  • 3
  • 9
10
votes
3 answers

Sudo permissions disaster

I just got a Pi-4. I'm not sure if I did something wrong while setting it up, but after getting it running I noticed that sudo commands required no passwords. I tried to change this, following some advice I found here: How to change user pi sudo…
Absurdistan
  • 111
  • 1
  • 4
10
votes
1 answer

Ubuntu server on RPI 4 boot hangs on cloud init

I've installed the image ubuntu-19.10.1-preinstalled-server-arm64+raspi3.img.xz on an sd card and am trying to boot ubuntu server for the first time on my raspberry pi 4. I get to this stage in the boot and it hangs: ubuntu 19.10 ubuntu…
Preston
  • 153
  • 1
  • 1
  • 9
10
votes
4 answers

How can I start an mp3 from the beginning every time a headphone is plugged in?

I'm doing an audio installation where multiple headphone jacks are on a wall and the user will plug into the jacks and each jack plays an mp3 that starts playing from the beginning when it gets plugged in. Is this possible with an RPi? What is the…
Pablo Gnecco
  • 117
  • 4
10
votes
4 answers

NOOBS stuck at rainbow screen - Raspberry Pi 4

I formatted my SD card to fat32 using GParted and copied all the files from the official NOOBS Lite download: https://www.raspberrypi.org/downloads/noobs/. I unzipped using unzip command on the terminal. When I turn on the rainbow appears and the Pi…
Sebastian Braga
  • 461
  • 1
  • 4
  • 12