All Questions

Filter by
Sorted by
Tagged with
292 votes
6 answers
1.3m 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 ...
user avatar
  • 53.5k
81 votes
2 answers
109k 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?
user avatar
  • 53.5k
26 votes
3 answers
38k 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 ...
user avatar
  • 39.6k
51 votes
4 answers
261k views

How do I make serial work on the Raspberry Pi3 (PiZeroW, Pi4 or later models)

My Pi3 serial console produces rubbish and fails to respond to the keyboard.
user avatar
  • 53.5k
30 votes
3 answers
63k 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 ...
user avatar
  • 39.6k
98 votes
9 answers
124k 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 ...
user avatar
  • 1,675
17 votes
5 answers
55k views

Should I install NOOBS or Raspbian?

The Foundation site states "Beginners should start with NOOBS – New Out Of the Box Software."
user avatar
  • 53.5k
221 votes
12 answers
923k 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 "...
user avatar
  • 2,313
17 votes
2 answers
27k 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 ...
user avatar
  • 39.6k
50 votes
5 answers
88k 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 ...
user avatar
  • 55.8k
7 votes
1 answer
12k 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-...
user avatar
  • 39.6k
15 votes
2 answers
26k 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 ...
user avatar
  • 39.6k
52 votes
4 answers
82k 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: ...
user avatar
  • 635
11 votes
2 answers
9k 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 ...
user avatar
  • 55.8k
19 votes
6 answers
28k 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?
user avatar
  • 55.8k
325 votes
18 answers
450k 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 ...
user avatar
7 votes
1 answer
14k 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 ...
user avatar
  • 71
80 votes
8 answers
161k 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 ...
user avatar
  • 1,047
5 votes
1 answer
3k 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.
user avatar
  • 53.5k
16 votes
2 answers
18k 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)...
user avatar
  • 39.6k
11 votes
4 answers
20k 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 ...
user avatar
  • 213
3 votes
1 answer
5k 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 ...
user avatar
27 votes
2 answers
43k 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 ...
user avatar
121 votes
9 answers
318k 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 ...
user avatar
  • 1,211
8 votes
2 answers
12k 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 ...
user avatar
  • 2,180
9 votes
2 answers
14k 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? ...
user avatar
  • 419
3 votes
2 answers
5k 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 ...
user avatar
  • 141
2 votes
3 answers
4k views

how to copy sd-card whithout copying the unallocated space

I have a 32Gb SD card and I want to make a light copy of my os to make it work on a 16Gb SDcard. I wanted to copy just the allocated space so I used gparted to resize my rootfs partition. after that ...
user avatar
  • 307
5 votes
2 answers
32k 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 ...
user avatar
  • 59
336 votes
23 answers
180k 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 ...
user avatar
  • 3,943
81 votes
6 answers
199k 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 ...
user avatar
74 votes
5 answers
166k 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: ...
user avatar
  • 1,133
8 votes
4 answers
12k 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 ...
user avatar
35 votes
6 answers
223k 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 ...
user avatar
4 votes
4 answers
14k views

How to program active cooling connected to GPIO

I have Raspberry Pi 3b+ with the case, which has a small 5v fan, which is connected to GPIO. Look to picture below: The Fan runs continuously, but I don't want continuous operation. I want the fan to ...
user avatar
  • 125
3 votes
3 answers
3k 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 ...
user avatar
  • 31
3 votes
2 answers
2k 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 ...
user avatar
162 votes
16 answers
120k 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 ...
user avatar
  • 2,315
1 vote
1 answer
10k views

What are the Electrical Specifications of GPIO pins?

What are the Electrical Specifications of GPIO pins; current limits and voltage levels?
user avatar
  • 53.5k
3 votes
2 answers
4k 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 ...
user avatar
97 votes
7 answers
188k 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 ...
user avatar
55 votes
4 answers
44k 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 ...
user avatar
  • 7,385
11 votes
1 answer
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?
user avatar
  • 55.8k
4 votes
1 answer
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 ...
user avatar
58 votes
8 answers
223k 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 ...
user avatar
  • 17.1k
3 votes
2 answers
14k 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 ...
user avatar
  • 55.8k
3 votes
2 answers
13k 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: $...
user avatar
1 vote
3 answers
12k 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 ...
user avatar
287 votes
14 answers
182k 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 ...
user avatar
183 votes
5 answers
386k 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 ...
user avatar
  • 22.1k

15 30 50 per page
1
2 3 4 5
83