Questions tagged [raspberry-pi]

Ultra low-cost computer the size of a credit card. Also check the Raspberry Pi SE: http://raspberrypi.stackexchange.com/

Filter by
Sorted by
Tagged with
43 votes
6 answers
250k views

How do I set DNS Servers on Raspberry Pi?

I want my Raspberry Pi to use OpenDNS to resolve domain names. How can I modify this setting?
Josiah Sprague's user avatar
27 votes
6 answers
5k views

What do I need to do to have my Raspberry Pi host a webpage with dials indicating CPU temperature, CPU load, etc., in real time?

I am good with Unix commands and scripting, but I have nearly no web experience. I have a script that grabs metrics I’m interested in, like CPU load or system temp and updates a file every 10 seconds. ...
jake9115's user avatar
  • 1,219
25 votes
5 answers
51k views

iptables/1.8.2 Failed to initialize nft: Protocol not supported

I'm having a problem using iptables on my Raspberry PI. I've just downloaded a fresh version of Raspbian Lite on my PI and all I'm trying to do is check my iptables rules but it's not working and I'm ...
Kenan's user avatar
  • 251
22 votes
8 answers
97k views

How to make Raspberry Pi use an external USB sound card as a default

Does anyone know how to change the sound card boot priority? All tutorials are telling me to edit /etc/modprobe.d/alsa-base.conf, but the file is missing in Raspbian Jesse.
Carl Hudson's user avatar
21 votes
3 answers
189k views

How to tell which services run at startup on Raspberry Pi? (raspbian)

I have some services that run on boot but I've actually forgotten how I set them up! If I want to change their activity how might I do that? For instance, maybe I want to disable a service from ...
user1502186's user avatar
21 votes
6 answers
56k views

can I display a JPG or PNG to the framebuffer (/dev/fb*)?

I know I can capture the framebuffer in linux using something like cp /dev/fb0 ~/myimage and re-display that by coping back to the device like so cp ~/myimage /dev/fb0. What format is the framebuffer ...
ndmweb's user avatar
  • 391
21 votes
4 answers
46k views

TigerVNC viewer: no matching security types

I'm trying to remote control the desktop of a Raspberry Pi (Raspbian Jessie) from a Samsung Chromebook (ARM Arch Linux). The VNC server running on the Pi is RealVNC. The VNC viewer on the Chromebook ...
rodrunner's user avatar
  • 499
20 votes
4 answers
83k views

How do I auto mount a USB drive that all users can write to?

I'm trying to set up a Raspberry Pi to run BitTorrent Sync to back up my files to an external hard drive, but I'm running into some frustrating issues. First, I need to set up the USB hard drive to ...
Josiah Sprague's user avatar
19 votes
2 answers
33k views

Bluetoothctl connects and disconnects repeatedly

I am using a Raspberry Pi Zero with a Iot pHat and was able to ssh into the Pi using a USB cable using this tutorial. I then set up my home WiFi with the pHat. Then I powered up the Pi with a separate ...
Jacolack's user avatar
  • 293
18 votes
5 answers
37k views

Wired to wireless bridge in Linux

I am attempting to set up my Raspberry Pi as a bridge, using Debian wheezy. I have a hostapd.conf: (some details changed for security, and yes, I know WEP is no good)... interface=wlan0 bridge=br0 ...
adrianmcmenamin's user avatar
18 votes
5 answers
40k views

Force spin-down of external hard-drive on linux (raspberry pi)

I'm currently setting up a home-server using a Raspberry Pi with an external hard-disk connected via usb. However, my hard-drive will never spin down when being idle. I tried already the hints ...
user258346's user avatar
17 votes
1 answer
135k views

Starting and stopping X11 and LXDE from command line

I have a Raspberry Pi with Debian Wheezy (Raspbian) and so far I've managed to learn quite a lot about Linux just playing around, but I have a few questions for all you seasoned Linux pros out there. ...
radian's user avatar
  • 193
15 votes
6 answers
18k views

Raspberry Pi SSH Lag

Yesterday I got my Raspberry Pi B+, which I use via SSH. Sometimes the SSH typing takes about 5s and more to respond with an visual feedback after a time of idleness, after that lag everything just ...
user avatar
14 votes
1 answer
17k views

How to share a folder as an USB mass storage device (from a raspberry pi)

I'd like to do something quite simple ... in my mind. I've got an "old" photo frame with an usb port and SD card slot (but without networking) that I would like to keep in sync with my NAS "Photo ...
Cerber's user avatar
  • 257
11 votes
2 answers
26k views

Debian apt-get update 404 not found error

My Raspberry Pi 3 is having problems. When I try to run apt-get update, I get a 404 not found error. I am very new to Linux and I am not sure what is wrong. Here is the error code: pi@raspberrypi:~ $ ...
mteam88's user avatar
  • 113
11 votes
1 answer
6k views

Why does ping require the setuid bit?

In the Jessie version for the Raspberry Pi, ping requires the setuid bit to be set. What is the rationale for this?
Old Geezer's user avatar
  • 1,197
11 votes
3 answers
19k views

How can I read input from the hosts keyboard when connected via SSH?

I'm currently experimenting with an RFID card reader that emulates a keyboard. When you connect a card, it will read out data from it and then emulate keystrokes according to configuration. I've ...
Oliver Salzburg's user avatar
11 votes
2 answers
28k views

Can I use dd to clone a larger SD card to a smaller SD card if the actual partitions will fit?

I have a 16GB SD card that has a few partitions on it (it's actually the card for a Raspberry Pi). I have several other 4GB cards that I want to clone the primary card to. The 3 partitions on the ...
Charlie Schliesser's user avatar
11 votes
1 answer
20k views

How to enable network with a raspberry pi emulated on qemu?

I'm trying to emulate a raspberry pi on my ubuntu 13.04. I installed qemu and it works well except for the network. I followed this procedure. On the virtual machine, the file /etc/network/interface ...
Dougui's user avatar
  • 233
11 votes
1 answer
2k views

Show password characters when logging in to Linux

I am setting up a long-range wireless serial terminal (with a pair of XBees, if anyone is wondering) connected to my Linux box. It's going great, but sometimes a keystroke doesn't go through. This ...
Skylar Ittner's user avatar
11 votes
4 answers
53k views

Raspberry pi cannot ping router or internet addresses over wifi bridge

I recently set up a WNR2000v3 router running DD-WRT as a sort of repeater bridge using the "Atheros" version of this tutorial (we'll call this 'router 2'), which is repeating a Medialink Wireless-N ...
Paul's user avatar
  • 612
10 votes
2 answers
15k views

"Missing LSB tags and overrides" error on /etc/init.d script

I made a script as showed in this tutorial: http://edv-huber.com/index.php/problemloesungen/15-custom-splash-screen-for-raspberry-pi-raspbian But after executing a command: insserv /etc/init.d/...
tarzanno's user avatar
  • 187
10 votes
1 answer
10k views

Raspberry Pi won't bring up wlanX interface - multiple wireless interfaces

Let me jump straight in. I am using a raspberry pi 3 running latest version of raspbian (pixel) as a router/wifi hotspot I have 3 wireless interfaces: built in wifi interface (brcmfmac) TP-Link ...
CybeX's user avatar
  • 1,385
9 votes
2 answers
19k views

Does the Raspberry Pi 2 put USB external drives to sleep when not in use for a while?

I recently got a LaCie 2TB Thunderbolt bus-powered USB external rugged drive. I am using it with the Raspberry Pi 2 and it works fine. It's being used as a remote backup via rsync. However, I am use ...
Edward_178118's user avatar
9 votes
3 answers
49k views

How to have multiple servers on one IP address

I am having trouble figuring out how to have multiple servers (that do different things) on one IP address. I would like the subdomains to point to different applications. Let me give an example of ...
monarch8's user avatar
9 votes
2 answers
19k views

Does the Raspberry PI support WOL (Wake-on-LAN)?

I've been contemplating running a Raspberry PI as a carputer. One thing I'm really interested in is whether I could get it to Wake-On-Lan. My thinking is that I'd like to wake the device up before I ...
Jon Cage's user avatar
  • 2,577
9 votes
7 answers
5k views

Is there a Linux distro that will easily run "embedded style" on a Raspberry Pi? [closed]

I need a Linux distro that will give me the following: Run on a Raspberry Pi Can reliably survive power loss (like via a read-only filesystem) I've been able to hunt down some documentation on how ...
Dan Harper's user avatar
9 votes
3 answers
62k views

Which Allocation Unit Size do I have to choose for my SDHC card?

I'm formatting my SDHC 4GB card before putting an OS on it for my Raspberry Pi. It says "allocation unit size" 32 KB and gives me options of up to 1024 MB. What do I do about that?
TomLawson's user avatar
9 votes
1 answer
3k views

Raspberry pi wpa_supplicant can't connect on a specific wifi. CTRL-EVENT-ASSOC-REJECT status_code = 16

I'm having trouble connecting to a specific wifi using raspberry pi. Here is the output when I check /var/log/syslog: Jun 19 09:44:52 raspberrypi wpa_supplicant[447]: wlan0: Trying to associate with ...
vanir's user avatar
  • 201
8 votes
1 answer
11k views

How can I remove this "zombie" mdadm array?

Admittedly I'm not too familiar with MDADM. I recently set up an array for a NAS, but incorrectly sized the partitions in my setup script, and need to remove the array, re-partition the disks, and re-...
Ralph's user avatar
  • 329
8 votes
4 answers
19k views

Why is Samba SMB slower than HTTP/NFS/FTP transfer on NAS on my LAN?

I want to set up a NAS which I have done most recently with a Raspberry Pi 2 (quad-core ARM Cortex-A7, 1GB RAM, 32GB microSD) running Raspbian “Jessie”: I have a laptop—an HP Pavilion G6—running ...
teak's user avatar
  • 89
8 votes
0 answers
8k views

Does Raspberry Pi 4 support AES hardware acceleration?

I have Raspberry Pi 4 B (4GB version), I wonder if it supports AES hardware acceleration (so some special instruction set for CPU for faster encryption). According to https://en.wikipedia.org/wiki/...
tomsk's user avatar
  • 219
8 votes
1 answer
700 views

dd always fails to write one partition on first try; succeeds on second

For a robotics project, I've assembled a make target that uses dd (actually dcfldd) to write a Raspbian Jessie image to SD card. This way, I can be assured that my environment is reproducible from ...
tsbertalan's user avatar
7 votes
2 answers
10k views

Linux (v4l) webcam - make settings "stick"

My Logitech camera (C300) is properly detected and present at /dev/video0. However, by default the image has contrast and saturation set to maximum, which significantly degrades the image quality. I ...
petr's user avatar
  • 615
7 votes
3 answers
13k views

Debian ARM and Brother DCP195C with CUPS

I want to have acces to my DCP 195C printer (Brother) over LAN. For this purpose I have bought an raspberry pi and installed CUPS on it. CUPS runs fine and everything else is running smooth as well. ...
Sven Niehus's user avatar
7 votes
4 answers
16k views

Using a Raspberry Pi as a VPN?

So I'm sure many of you have heard of the new Raspberry Pi project. I was looking at messing around with Model B, which has the following relevant specs: Broadcom BCM2835 700MHz ARM1176JZFS ...
sudo rm -rf's user avatar
7 votes
2 answers
11k views

How much space does Raspbian use?

I can't find any info about how much space Raspbian uses. I have checked the wikipedia article about it and the official FAQ.
Tyilo's user avatar
  • 2,737
7 votes
1 answer
34k views

how to troubleshoot wireguard connection problems?

I am trying to configure a VPN server with WireGuard in order to have access to my local network when I am outside home. I configured a raspberry pi to be the Wireguard 'server' and I have a laptop ...
jlunesc's user avatar
  • 81
7 votes
1 answer
3k views

How to install the Ubuntu OS in Orange Pi 4G IoT?

I have recently buy an Orange Pi 4G IoT and I have installed the Android 6.0 successfully. But for my project need I want to install the Ubuntu OS in it. Can anyone help me. Previous Work Download ...
ram786kumar's user avatar
6 votes
3 answers
824 views

How can computers figure out the current minute, but not hour/year?

Staring at my Raspberry PI, I can see that the devices clock is going wrong - an error that you can find on many computers. However, even though the month and hour is wrong; the minutes are still ...
Zar's user avatar
  • 265
6 votes
3 answers
31k views

DHCP failure when rebooting RPI 2

When we start up my Raspberry pi 2, we get the following error: When the RPI is rebooted, we are getting an IP and we are able to surf on the internet, so we don't know what the error exactly means. ...
Vanch's user avatar
  • 163
6 votes
2 answers
40k views

Port Forwarding Samba

I am currently running a SAMBA server on my raspberry pi, the problem is that I am only able to access the SMB Server from within my home network. I want to portforward my SMB server so that i can ...
Mateo's user avatar
  • 109
6 votes
2 answers
11k views

Kali for Raspberry Pi 3: exploitdb update hangs and does nothing

I have a serious problem in my Kali for Raspberry Pi 3: I've followed a video on YouTube to expand Kali and install a full version. I've started the process, and after about 4 hours, it has frozen and ...
user avatar
6 votes
1 answer
36k views

How does a Raspberry Pi 4 truly compare against a modern desktop CPU? [duplicate]

I am trying to find raw benchmark numbers between any fairly modern desktop processor and the Raspberry Pi 4gb/8gb, but I am struggling to do so. I understand that there are architectural differences ...
techxz's user avatar
  • 63
6 votes
5 answers
4k views

Why does iftop show 'b' characters instead of lines?

I am connecting to my Raspberry Pi 4 over SSH. Although I see iftop on all captures as having a nice frame, mine shows 'b' characters instead of lines. The curious thing is, the corner pieces and all ...
Dalofeco's user avatar
6 votes
2 answers
17k views

Why does root cron job script need 'sudo' to run properly?

I'm running this simple script on my Raspberry Pi to auto update so I can forget about it. It also keeps a log that says whether the update was successful. The script is update.sh: #!/bin/bash echo "...
freejuices's user avatar
6 votes
2 answers
10k views

How to find Raspberry Pi on Network

I have a Raspberry Pi connected to the Internet via LAN or via wireless. How do I scan my local network for its IP address so I can SSH into it? While I can just connect it to a monitor and manually ...
im_benton's user avatar
  • 163
6 votes
1 answer
28k views

Change owncloud data directory to an external drive

Owncloud 5.0.9 is installed on my raspberry pi and is working flawlessly. But since my raspberry pi hasn't much space, I wanted to move the data directory on an external drive. I have a 1,5GB ...
mdcq's user avatar
  • 260
6 votes
2 answers
10k views

How to use multiple Raspberry Pi for creating single network (mesh) of access points

I have multiple raspberry pi 3 model B boards with an external wifi adapter attached to them. My purpose is: Create a mesh network of RSP devices. Each RSP board should have their own AP and clients (...
Mahesh Jena's user avatar
6 votes
1 answer
8k views

Debian eth0 to wlan0 forwarding, with openvpn

I'm using "raspian" (Debian for the raspberry pi), and would like the raspberry-pi to serve internet access through eth0, using wlan0. The catch here is that while wlan0 is connected to my router, I'd ...
Der Zauberer von Oz's user avatar

1
2 3 4 5
35