Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [raspbian]

Raspbian is a GNU/Linux operating system derived from Debian. Version numbering follows that of Debian and the current stable is 9 (Stretch). Raspbian is the most widely used Pi based distro and the one recommended by the Foundation, who distribute their own images of it.

1,614 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
2answers
854 views

Pi won't boot after initramfs update

I have been trying to get Raspbian Jessie, installed from the image to boot with an encrypted root partition. I was successful in following the guide here. When I boot the Pi, it drops to an ...
7
votes
1answer
880 views

Thermal printer with Raspberry Pi 2 outputs only Chinese chars

Following thermal printer + raspi2 tutorial for printing images (https://learn.adafruit.com/networked-thermal-printer-using-cups-and-raspberry-pi/connect-and-configure-printer), I've already connected ...
7
votes
2answers
8k views

Configuring Raspberry Pi 2 to use USB Microphone and Headset as default device on Jessie

I am attempting to setup a Plantronics .Audio 400 DSP with a Raspberry Pi 2 Model B as the default device with Jessie installed. Headset Link: http://www.plantronics.com/us/product/audio-400-dsp So ...
5
votes
1answer
1k views

GY-521 module / MPU-6050 3x Accelerometer not detected by i2cdetect

I got this GY-521 module (https://www.aliexpress.com/item/MPU-6050-3-Axis-gyroscope-acce-lerometer-module-3V-5V-compatible-For-Arduino/2035920870.html?spm=2114.13010608.0.0.pRpLS4) and no matter what ...
5
votes
3answers
3k views

Suddenly unable to connect to 5GHz wifi network (PiZero)

OS is Raspbian Jessie with latest updates. Everything is stock packages, no special configuration either. It just runs eJabberd at the moment. As of a few days ago, I have stopped being able to ...
4
votes
0answers
51 views

Multiple USB modems issue with HUB external power

When I connect 6 modems ZTE WCDMA Technologies MSM into USB hub Terminus Technology Inc. Hub everything works fine. Modems are detected as eth0, eth1, eth2, eth3, eth4, eth5 When one more modem is ...
4
votes
0answers
158 views

Custom camera driver

Is it possible to write a driver, say for a OV camera, based on the existing drivers at the RPI git repo? As is I understand, with a datasheet for a sensor it should be possible to write a similar ...
4
votes
1answer
830 views

How do I install the DisplayLink driver for Ubuntu on Raspbian?

I have a Raspberry Pi 3 Model B v1.2 with Raspbian Stretch 9.1 as an OS. I have the USB graphics adapter Kensington K33907. How can I proceed to install the DisplayLink driver for Ubuntu on Raspbian? ...
4
votes
1answer
515 views

Raspberry 3 dooes not boot any more after “sudo init 1”

Trying to change my root password I followed a hint that I just had to type sudo init1 and then passwd and I would be able to change the root password. But that was not right. After typing sudo init ...
4
votes
1answer
222 views

BTSync update: 2.0.93 => latest

Years ago I installed BTSync from debian.yeasoft.net repo. My /etc/apt/sources.list.d/btsync.list: deb http://debian.yeasoft.net/btsync wheezy main contrib non-free deb-src http://debian.yeasoft.net/...
4
votes
1answer
460 views

Raspbian Jessie+ breaks SPI (RFID Reader MFCR 522)?

Long version: I have a very odd problem: I connected a Mifare MFRC 522 RFID Reader to my raspberry Pi (it handles communication via SPI). For that I used one of the many Tutorial already on the ...
4
votes
2answers
1k views

Wifi raspberry pi 2 problem

My wifi adapter worked fine with the Rapsberry pi B but when I update to Raspberry pi2 it doesn't work. I'm using wheezy and when I run lsusb I get: Bus 001 Device 002: ID 0424:9514 Standard ...
4
votes
0answers
953 views

Full duplex Audio With USB Sound Card

I setup Raspberry Pi with external usb sound blaster sound card. My Goal is to be able to record and play audio simultaneously. I setup and configured it to be the default sound card as follows: sudo ...
4
votes
1answer
792 views

wpa_supplicant crashing(?)

I just got my Raspberry Pi B+ together with a WiFi dongle from ThePiHut and am now trying to connect it to my WiFi. It works, at least sometimes. After booting the Pi, I do not get an automatic ...
4
votes
1answer
3k views

AirPlay Video without XBMC?

I have my Raspberry Pi set up as an audio AirPlay server and I was wondering if it's possible to set it up to show video as well. I know that Raspbmc has this functionality, but I'd rather stick with ...
4
votes
1answer
2k views

Trying to get wifi working on brand new Raspbian installation

I just installed Raspbian Wheezy (2014-01-07-wheezy-raspbian.img) on my Raspberry Pi, connected it to my AirPort with an ethernet cable and booted it with this wifi dongle (Sitecom N300) inserted: As ...
3
votes
0answers
99 views

Raspberry Pi 4: Console on first HDMI screen, X11 on second HDMI screen

The new Pi 4 has two HDMI Ports. After booting Raspbian, the first screen (HDMI-0) should display the console and the second screen (HDMI-1) should display the X11 desktop. My first thought was ...
3
votes
1answer
411 views

Raspberry Pi 4 - screen rotation

I just got my new Raspberry Pi 4 and I'm trying to rotate the screen. Usually on previous Raspberry versions I did that simply by putting display_rotate=1 to config.txt, but when doing this on ...
3
votes
0answers
35 views

How do I build just some in-tree modules for the Raspbian kernel?

I would like to cross-build some in-tree modules (capi, gigaset) that are included in the kernel source but not in the standard Raspbian kernel. My toolchain is using the tools from https://github....
3
votes
0answers
234 views

sources.list broken in Raspbian

I have updated the /etc/apt/sources.list file and ended up breaking it. I've restored it to its original contents from my backup as follows deb http://raspbian.raspberrypi.org/raspbian/ stretch main ...
3
votes
0answers
38 views

Not able to ssh into RPI Zero W with raspbian Lite?

I have for weeks now tried to ssh into my RPI zero, and I cannot figure out what is wrong here. I've been using this guide https://desertbot.io/blog/ssh-into-pi-zero-over-usb. The installation ...
3
votes
0answers
323 views

Raspberry Pi Zero W Alexa Microphone Not detecting, but speaker works

So I have looked online and I even got different mics and adapters to get this working, but it still doesn't work. I was able to successfully setup my Alexa Pi on the RPi Zero W, because when I boot ...
3
votes
0answers
556 views

Why doesn't extract-vmlinux work with Raspbian's /boot/kernel*.img?

To monitor if a reboot is necessary, I wanted to compare the version of /boot/kernel*img against the version of the running kernel. To get the kernel version of a compressed linux kernel image (...
3
votes
0answers
487 views

Accelerated Numpy on Pi 3 B+

I'm looking to do some work with NumPy on my Pi 3 B+, and I'm not sure what the deal is with optimization, blas, etc. I installed libatlas using: sudo apt-get install libatlas-base-dev Following ...
3
votes
0answers
659 views

Setting up Pi Zero W Wi-Fi through USB SSH

I am having lots of problems connecting my raspberry pi zero to wifi. I have followed a number of tutorials. 1. What I have tried This was my wpa_supplicant.conf file ctrl_interface=DIR=/var/run/...
3
votes
1answer
3k views

Failed to connect to non-global ctrl_ifname: wlan0 error: No such file or directory

I was following this Raspberry Pi documentation (https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md) about connecting to wireless connection. My SSID and password are ...
3
votes
1answer
199 views

GTK Warnings and libGL errors when using x11-Forwarding on SSH

I'm having issues when working on my RaspberryPi via SSH on MobaXterm that I can't resolve by myself. Appearantly there are some driver issues when using SSH and running programs that require the ...
3
votes
0answers
21 views

Is it possible to have a Pi as an access point that forwards packets to another Pi that's connected to the internet?

Essentially a long range wifi extender. What I'm wondering is possible if whether you can have a setup such that a user can connect to the first Pi, make an HTTP request that gets forwarded to a ...
3
votes
0answers
575 views

Slow pip Raspberry PI 1

i have a issue with slow pip on Raspberry PI 1 on fresh install Raspbian Stretch. When i ran pip freeze it take a long time. pi@raspberrypi:~ $ time pip freeze > /dev/null real 0m43.337s user ...
3
votes
0answers
2k views

Raspberry pi stuck on boot at Starting Terminate Plymouth Boot Screen

I just had a problem with my raspberry pi 3 model b because I accidentally powered it of incorrectly, then I decided to go into recovery mode and reinstall raspbian, I am using NOOBS, the raspberry pi ...
3
votes
0answers
5k views

Raspbian Stretch: WiFi configuration from hotspot

I'm looking for a webserver to configure the network using the AP that works with the latest Raspbian Stretch. If I'm not wrong these projects rely on the old name scheme: https://github.com/sabhiram/...
3
votes
1answer
311 views

Started picamera.start_preview() in Raspbian but don't see anything

I started picamera.start_preview() in Raspbian but I don't see the preview window which I thought was supposed to appear. import picamera cam = picamera.PiCamera() cam.start_preview() <picamera....
3
votes
1answer
180 views

Can't find out why my program won't read analog values (Using MCP3004)

I am using wiringPi and C. I have a flame sensor and a MCP3004 ADC. Here is the program that I wrote, but I can't figure out why it won't read the analog values from the flame sensor. #include <...
3
votes
1answer
2k views

Getting raspbian repositories on Kali Linux on Zero

I have been working with the Kali Linux distribution built for the Raspberry Pi Zero, and am running into a bit of a problem. It is running fine, but I am having trouble installing Raspbian packages ...
3
votes
0answers
5k views

Setting up a DHCP server on a Pi v3B with Raspbian Jessie?

I'm attempting to set up a Pi as a DHCP server for a private network of ~10 machines. The pi will be connected to a network switch. So far I've been following this well written guide: https://www....
3
votes
1answer
3k views

Installing NodeSource Node.js v7 on Raspberry Pi 1

I want to install NodeSource Node.js v7 on my Raspberry Pi 1, but when I run the code: curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -, I am presented with: ## Installing the ...
3
votes
3answers
246 views

How to create duplicate images, but change a couple of files

I'm in the process of creating around 20-40 rPi's with the same software running on them. Everything about the software running on the different Pi's are identical, except for two things: The ...
3
votes
1answer
1k views

Having trouble with device or resource busy error in aircrack-ng; raspberry pi 3, raspbian

I was using my raspberry pi 3 today trying to launch a deauth attack using aircrack-ng(Don't worry the network is mine). But I'm not here to talk about hacking I actually need help with setting up ...
3
votes
3answers
10k views

Play multiple different .mp4 videos without gaps

I build a video distribution system, where there is one server with a "playlist" of URLs, and multiple Raspberry PIs working as clients, fetching constantly playlist from the server and putting their ...
3
votes
0answers
436 views

Can consolekit sefely be removed, when running headless (no GUI)?

Lately I am getting a lot of the following messages in my /var/log/syslog: Aug 26 07:48:20 raspberrypi console-kit-daemon[2376]: GLib-CRITICAL: Source ID 42 was not found when attempting to remove it ...
3
votes
0answers
494 views

QML without X11

Is it possible to run QML files without X_Desktop environment in raspbian Jessie for Raspberry Pi3? I found this tutorial: EGLFS , but I would prefer if it is possible to compile directly on RPi, ...
3
votes
0answers
423 views

How to install the MINI4x6 terminal font on the latest Raspbian (Jessie-lite)

I'm using a small 3.2" LCD screen and want to get as much text on it as possible (console screen). So far I can choose between Terminus6x12 or VGA8x8, but the MINI4x6 font seems to be missing. I have ...
3
votes
2answers
2k views

Setting up ad-hoc wireless

I have pi 'A' setup to be an adhoc network and using dhcp3-server. /etc/network/interfaces auto lo iface lo inet loopback iface eth0 inet dhcp auto wlan0 iface wlan0 inet static address 10.10.1.1 ...
3
votes
0answers
381 views

Extend router network using Raspberry Pi 3 as access point

I currently am using this guide to create an access point using the RPI3 to create a new network, but what I would like is to extend the network to which the RPI3 is connected via Ethernet so that it ...
3
votes
0answers
2k views

Arecord not working with USB Microphone anymore

Before I start, I'd like to tell you that I've used arecord in the past with the Raspberry Pi 2 using the same USB Microphone and it has worked just fine. For some reason, it doesn't seem to work ...
3
votes
0answers
692 views

Network unreachable error + can't add Gateway IP

I'm having the exact same problem as the poster of this question: "connect: Network is unreachable" on a working wlan0 (connected) interface However, if I try the poster's solution of ...
3
votes
0answers
339 views

Speech Recognition ERROR

I am using a speech recognition library on a Raspberry Pi in Python that I found here and I installed it through pip. I also had to install Pyaudio of their site here. Pip would not work for Pyaudio ...
3
votes
0answers
419 views

How can I fix hanging SSH on Raspbian?

When I log in through SSH on my Raspberry PI 2 i can work for a couple seconds then the connection breaks. I get the error: packet_write_wait If I pin the host I get something like: Request timeout ...
3
votes
2answers
799 views

Unable to make write only smb share

I have the home folder of my Raspberry Pi B+ shared via SMB working fine. Now i'm trying to make a public, write only folder: i edited the configuration like so but it doesn't seem to work. I can't ...
3
votes
0answers
543 views

DS18B20 temperature sensor not found in folder

I've bought the camjam edukit 2 for my pi which includes the DS18B20 temperature sensor. However, after going over the instructions 20 times, rebuilding it a same amount and searching online, I still ...