All Questions

Filter by
Sorted by
Tagged with
266
votes
5answers
1.2m views

How do I set up networking/WiFi/static IP address on Raspbian/Raspberry Pi OS?

I have followed (any one of hundreds) tutorial, and it does not work. How do I set up networking/WiFi/static IP address on the Raspberry Pi? After the Foundation introduced the dhcpcd networking ...
74
votes
2answers
88k views

Raspberry Pi Power Limitations

There are very many, often contradictory, claims about the power requirements and limitations of the Pi. What are the exact requirements?
48
votes
4answers
230k views

How do I make serial work on the Raspberry Pi3 (or later model)

My Pi3 serial console produces rubbish and fails to respond to the keyboard.
19
votes
3answers
20k views

Setting up a Raspberry Pi as an access point - the easy way

I know how to do it the classic way as described for example by the official documentation at Wireless connectivity. But that needs many different components which must play together and each ...
18
votes
2answers
35k views

Access point as WiFi router/repeater, optional with bridge

I need a wireless access point that is bridged with the wired ethernet port and that is connected to another wifi internet router with a client connection as uplink. All devices connected to the RasPi ...
84
votes
9answers
105k views

Can a Raspberry Pi be used to create a backup of itself?

This question answers the question of how I use an external computer to create a backup of my RPi. I'm wondering whether I can create a backup image of the SD card that is currently in use, and ...
206
votes
12answers
845k views

Execute script on start-up

I am trying to execute a script when my Raspberry Pi boots up. I would like the web browser to open up automatically. I have tried to find a simple solution, (like dropping my script in some "...
15
votes
2answers
20k views

Howto migrate from networking to systemd-networkd with dynamic failover

Systemd's systemd-networkd can be used to replace the existing networking system on Raspbian. How does it work with Raspbian on a Raspberry Pi with two interfaces for ethernet and wlan? Can I also ...
13
votes
4answers
42k views

Should I install NOOBS or Raspbian?

The Foundation site states "Beginners should start with NOOBS – New Out Of the Box Software."
39
votes
4answers
71k views

How can I mount a Raspberry Pi Linux distro image?

Normal filesystem images can be easily mounted: mount system.img /mnt Examined, and modified. But when I try this with a Raspberry Pi system image (e.g. raspbian), I get: mount: unknown filesystem ...
50
votes
4answers
66k views

SSH not working with fresh install

I recently liberated an old model B from the loft, put NOOBS on an SD card, and installed the latest version of Raspbian on it. I booted it up, attempted to SSH to it from my Mac, but got: ssh: ...
11
votes
2answers
7k views

Log output of background or boot script

I have a short script which is executed by a system daemon for particular events. I know the event is occurring and the script is executing, but it does not do what I intend. Strangely, it does when ...
5
votes
1answer
6k views

Access point as WiFi router/repeater with additional WiFi-dongle

There are some tutorials to make an access point a WiFi repeater using only the on-board WiFi chip of a Raspberry Pi. But I want to use an additional USB/WiFi dongle as second interface for the up-...
18
votes
6answers
27k views

Can I use Fedora on the Pi 2?

I know Fedora has ARMv7 images. Can those be used on the Raspberry Pi 2, and if so, how?
5
votes
1answer
9k views

Raspberry Pi WiFi to Ethernet Bridge for a server?

I wanted to create a Wifi to Ethernet Bridge on my Raspberry Pi, similar to this one. The problem is: I want to conntect a Network Harddrive (WD MyCloud) to the ethernet side. The Harddrive seems to ...
311
votes
18answers
429k views

How do I backup my Raspberry Pi?

I have been writing programs for my Raspberry Pi (running Raspbian) for a few weeks now and would like to make sure I protect the work I have done. How can I backup the files I have created? Can I ...
78
votes
7answers
143k views

How to automatically reconnect WiFi?

I'm using my pi to monitor my power meters. Data is transferred to PC by WiFi connection using Edimax EW-7811UN USB adapter. When the Wifi connection drops (switched off over night, or shaky ...
11
votes
4answers
19k views

Why am I getting a rainbow screen and flashing red PWR LED with a new Raspberry Pi 3B+?

I think there might be a problem with my new Pi. I'm using the same power supply (purchased from PiHut for my previous 3B) in the new 3B+ but I get the rainbow screen and the red power light flashes ...
24
votes
2answers
37k views

Power a 5V relay from GPIO pins

I have a bank of relays (5) that I'm looking to run from my Pi. I'm using 5V TE Connectivity relays, powered by Sparkfun's high power relay kits, which use a NPN transistor to trigger the relay. So ...
8
votes
2answers
10k views

How do I set Raspbian to use the primary time server time.nist.gov?

I have several Rpi3s running Raspbian. They collect data and I use FileZilla to copy data from one to another. Ideally, I am only copying files that have changes or are new. FileZilla can be ...
107
votes
9answers
288k views

How do I supply power through the GPIO?

I have seen some examples of people powering their Raspberry Pis by wiring a DC "barrel plug" style power supply to the 5V and GND GPIO pins. What considerations should be taken when doing something ...
74
votes
6answers
162k views

Differences between /etc/dhcpcd.conf and /etc/network/interfaces?

I have this configuration in /etc/network/interfaces: auto lo iface lo inet loopback allow-hotplug wlan0 iface wlan0 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf allow-hotplug ...
323
votes
21answers
160k views

Is the Raspberry Pi suitable for running continuously, 24/7?

I would like to run a headless machine to perform some basic automation and statistical generation (e.g. generating netstats, uploading to pvoutput.org), as well as any other trivial batch jobs that ...
63
votes
5answers
139k views

What is the maximum current the GPIO pins can output?

What is the maximum amount of current that can be pulled from a single GPIO pin? Does the maximum current decrease if current is being pulled from multiple GPIO pins? From my research, I've found: ...
2
votes
2answers
3k views

Rpi to Arduino Serial UART Communication Tutorial

I'm trying to connect my Arduino to my Raspberry Pi using the GPIO pins. I understand that the Pi uses a 3.3V signal while the Arduino uses a 5V signal so I bought a bi-directional logic level ...
7
votes
2answers
8k views

Workaround for a wifi bridge on a Raspberry Pi with proxy arp

I want to bridge the wifi interface with the ethernet interface on a Raspberry Pi so any device on the ethernet port becomes a member of the wifi network. Usually this is done by a bridge (OSI layer 2)...
8
votes
1answer
9k views

Reverse the expand root FS

When installing Raspbian, the first thing you're told to do is to expand the file system to stretch across the whole SD card. Works great. But what if I want to save space when doing a disk image. Can ...
2
votes
1answer
3k views

Rpi3 LIRC Library and UART IR Transceiver Setup Problem

I installed the lirc library and I tried to use it, I need this for a project sudo mode2 -d/dev/lirc0 Using driver default on device /dev/lirc0 Trying device: /dev/lirc0 Please use the --raw option ...
158
votes
16answers
117k views

Prepare for ssh without a screen

I have a Raspberry Pi model B at home, but I do not have a screen. My plan is to connect it to the Ethernet and then ssh into it. But this means that the SD card with the operating system (Debian ...
4
votes
2answers
13k views

Raspberry Pi sudo apt-get update not working

I am getting the following message whenever I try to run: sudo apt-get update : pi@raspberrypi:~ $ sudo apt-get update Get:1 http://archive.raspberrypi.org/debian stretch InRelease [8,084 B] Err:1 ...
6
votes
1answer
5k views

Use systemd-networkd for general networking

systemd-networkd can be used to replace the existing networking system on Raspbian. How can I use it for general purposes for networking like DHCP server, name resolution, link-local addresses, mDNS ...
3
votes
3answers
2k views

How can Rpi connect a GPS module?

I've tried reconnecting an old GPS module to the UART pins on my raspberry pi, but it seems it's not able to get a satellite fix. I've had troubles trying to get gpsd started, but I'm able to test ...
94
votes
7answers
184k views

Installing Raspbian from NOOBS without display

I am trying to install Raspbian from NOOBS, but I have no other screen/keyboard available than my laptop screen/keyboard. I find enough information about using a laptop screen/keyboard for a Pi, but ...
51
votes
4answers
39k views

Emulation on a Linux PC

How can I connect an SD card containing a Raspberry Pi OS to my Linux PC, and boot the OS in an emulator? Why won't VMWare work? What are the limitations of this method? Related: Emulation on a ...
28
votes
6answers
185k views

Kernel panic-not syncing: VFS: unable to mount root fs on unknown- block(179,6) running Raspbian on top of NOOBS

When booting, the sequence stops at the following: Kernel panic-not syncing: VFS: unable to mount root fs on unknown-block(179,6) What can I do to get my Raspberry Pi 2 to boot again using the ...
1
vote
1answer
8k views

What are the Electrical Specifications of GPIO pins?

What are the Electrical Specifications of GPIO pins; current limits and voltage levels?
11
votes
1answer
11k views

How can I access Raspbian Jessie packages from Wheezy?

I need a package that's in jessie, the newer version of Raspbian, but not in wheezy, the one I have installed. Can I use it somehow? Can/should I just upgrade to jessie?
4
votes
1answer
1k views

DS18B20 Temperature Sensor - Rpi 3/4 Driver, Wiring, Detection, and Python Programming

I am new in raspberry pi. In my research project, I would like to monitor ground temperature at 60 points. My team decided to set a monitoring system using raspberry pi. As a preliminary test, I ...
3
votes
2answers
2k views

Rpi GPIO Controlling 5V Relay Problem

I am working on a project that requires a camera analyzing some images and activating the appropriate GPIOs to control a relay board. I currently have a touchscreen display, a Raspberry Pi Cam ...
1
vote
3answers
7k views

Raspberry Pi 3b+ not booting

I got a raspberry pi 3 b+ for Christmas and yesterday whilst installing a Pi Hat's Software (Rasp.io Duino) it just flat out died after showing that there was an under-voltage, even though I was using ...
55
votes
8answers
205k views

How can I stream H.264 video from the Raspberry Pi camera module via a web server?

So I got the Raspberry Camera today and got stills working fine. Capture an image in JPEG format: raspistill -o image.jpg Capture a 5-second video in H.264 format: raspivid -o video.h264 I do not ...
3
votes
2answers
12k views

How can I disable autoconfigured networking on Raspbian?

I need to configure my network connection using some low level commands, but I believe the autoconfiguration in Raspbian is complicating this. How can I disable it? And if I do, can I easily restore ...
8
votes
2answers
7k views

How many serial ports are on the Pi 3?

How many serial ports are on the Pi 3? There is one on the GPIO pin that goes to ttyS0. Is there a separate one for USB? I have read somewhere about /dev/ttyUSB0. Is that a separate serial port? ...
1
vote
1answer
857 views

How to Backup/Shrink the image of my working Raspbian SD Card

I want to shrink the image to minimise storage and to efficiently distribute this image to others who may have smaller SD Cards.
266
votes
14answers
160k views

How can I extend the life of my SD card?

I'm not all that keen to buy a USB hard disk, but I'm aware that SD cards aren't suitable for many repetitions of reading and writing. Are there any steps I can take to extend the life of my SD card ...
179
votes
5answers
355k views

How can I resize my / (root) partition?

Even though my SD card is 16GB, the image I flashed onto it was only 2GB and now I can only see 2GB of storage space on the disk. How can I resize the image so that I have more space on my root ...
97
votes
2answers
212k views

How do I force the Raspberry Pi to turn on HDMI?

I have a Raspberry Pi running Raspbmc connected through HDMI to a dumb HDTV. (Does not support HDMI-CEC). If I power on both the TV (both at source and display through remote) and Raspbmc at the same ...
49
votes
10answers
38k views

Can I use Raspberry Pi as a USB peripheral device?

Raspberry Pi has a Micro USB port for power supply. My question is if this port is only for power purposes or can it be used for data as well? I would like to be able to attach my Raspberry Pi as a ...
3
votes
2answers
11k views

/etc/init/d/tightvncserver script fails at boot

This is the tightvncserver init.d script, tightvncserver, in /etc/init.d: ============ ### BEGIN INIT INFO # Provides: tightvncserver # Required-Start: $remote_fs $syslog # Required-Stop: $...
4
votes
1answer
4k views

How to use Arduino devices with Raspberry Pi?

I bought "RFID RC522" & "GY-NEO6MV2", and I need a useful guide for both of them in order to use them with Raspberry Pi 3 Model B. I also want to know if there is a guide or a course for using ...

15 30 50 per page
1
2 3 4 5
69