All Questions

Filter by
Sorted by
Tagged with
220
votes
5answers
949k views

How do I set up networking/WiFi/static IP address?

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? (This is a Dorothy Dixer to hopefully catch the hundreds ...
67
votes
2answers
73k 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?
44
votes
3answers
215k 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.
7
votes
2answers
16k 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 ...
14
votes
3answers
9k 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 Setting up a Raspberry Pi as an access point in a standalone network (NAT). But that needs many different ...
78
votes
8answers
92k 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 ...
188
votes
12answers
756k 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 "...
12
votes
2answers
12k 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 ...
37
votes
4answers
60k 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 ...
48
votes
4answers
55k 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: ...
10
votes
2answers
6k 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 ...
18
votes
6answers
26k 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?
298
votes
17answers
412k 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 ...
3
votes
1answer
2k 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-...
11
votes
4answers
17k 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 ...
74
votes
7answers
131k 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 ...
8
votes
2answers
7k 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 ...
102
votes
9answers
267k 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 ...
64
votes
6answers
132k 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 ...
21
votes
2answers
31k 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 ...
5
votes
1answer
5k 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 ...
61
votes
5answers
126k 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: ...
7
votes
1answer
7k 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 ...
311
votes
21answers
149k 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 ...
155
votes
16answers
113k 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 ...
88
votes
7answers
176k 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 ...
48
votes
4answers
35k 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 ...
7
votes
3answers
24k views

Should I install NOOBS or Raspbian?

The Foundation site states "Beginners should start with NOOBS – New Out Of the Box Software."
1
vote
1answer
7k views

What are the Electrical Specifications of GPIO pins?

What are the Electrical Specifications of GPIO pins; current limits and voltage levels?
10
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?
50
votes
8answers
192k 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
10k 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 ...
2
votes
2answers
730 views

Rpi3 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 ...
1
vote
2answers
3k 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 ...
254
votes
14answers
150k 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 ...
171
votes
5answers
329k 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 ...
44
votes
10answers
33k 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
10k 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: $...
26
votes
6answers
156k 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 ...
81
votes
5answers
177k views

How do I prevent the screen from going blank?

I am running the Debian wheezy beta and using my Pi to display my geckoboard dashboards using midori, as a result I want to prevent the screen from going blank, which it does after 10 minutes (though ...
48
votes
5answers
107k views

What is the maximum / minimum operational temperature?

As per the title, what are the maximum and minimum operational temperature ratings of the Pi before it stops reliably working? Could this also depend on the SD card in use?
4
votes
1answer
3k 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 ...
94
votes
2answers
192k 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 ...
102
votes
11answers
139k views

How do I build a UPS-like - battery backup - system?

As we all know, the Raspberry Pi doesn't really use that much power (5v + 700mA is the spec). I'd like to build a battery backup for power outages in a DIY-ish fashion. I don't need surge protection ...
56
votes
5answers
144k views

Connect Pi to an old laptop screen

So I recently received my Pi in the post and I'm now trying to think what to use it for. I've had a look around and I quite like the idea of attaching a screen to it and using it as an RSS Reader/...
74
votes
7answers
101k views

Upgrade to Raspbian Jessie

How can I perform an upgrade from Raspbian Wheezy to Jessie?
63
votes
6answers
119k views

Disable screen blanking in X-Windows on Raspbian [duplicate]

We intend to use a RPi at work to drive a status display panel - it will show our project's bug status and a few other statistics of vital importance. I've been trying stop the screen-saver from ...
4
votes
2answers
3k 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)...
5
votes
2answers
4k views

Why is it necessary to “expand the file system”?

I'm new to RPi and and confused about why a step to "expand the file system" is frequently listed as part of the standard instructions for setting up a RPi (using a downloaded OS image). Why is it ...
247
votes
15answers
553k views

How do I turn off my Raspberry Pi?

Should I just pull the plug? Or is it best if I exit LXDE and any other running processes first?

15 30 50 per page