Questions tagged [raspbian-stretch]

Raspbian-Stretch is a GNU/Linux operating system derived from Debian 9, initially released in August 2017. Raspbian is the most widely used Pi based distribution and the one recommended by the Raspberry Pi Foundation, who distribute their own images of it in 3 flavours, a full version with Desktop GUI and recommended software, Desktop GUI, and a "lite" version without any GUI pre-installed.

Filter by
Sorted by
Tagged with
74
votes
7answers
104k views

Upgrade to Raspbian Jessie

How can I perform an upgrade from Raspbian Wheezy to Jessie?
24
votes
3answers
27k 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 ...
21
votes
1answer
43k views

How can I use an external USB sound-card and set it as default?

I've got an external USB sound-card from C-Media running on my RPi3. I can play some recordings using aplay/arecord by specifying the card index and ALSA plugin. However, many other sound files does ...
17
votes
3answers
80k views

Enabling SSH by default on Raspbian Stretch

I have a Raspberry Pi 1 Model A running an image of Raspbian Stretch Lite. I've noticed that when I power on my pi and allow it to start up, I can't seem to SSH into it from my Mac laptop. First, I ...
16
votes
2answers
76k views

What is the latest sources.list for Raspbian?

Raspbian Repository suggests that Wheezy would be the "official" current suite of the Raspbian distribution. I cannot believe that, though, because I have been using "Jessie" as "stable" instead for ...
15
votes
1answer
5k views

How to get touchscreen right click on Raspbian Stretch

I am currently using Raspbian Stretch with a Waveshare 7 inch touchscreen, and I would like to get right click input (preferably with two finger or long touch). There appear to be no solutions for ...
14
votes
4answers
3k views

How to identify a Pi

I have a stack of five Pis, each of which have a separate hostname and are on the same network. I need to physically identify each Pi from another Pi, perhaps by flashing the onboard LEDs in a ...
14
votes
1answer
11k views

Configuring `unattended-upgrades` on Raspbian Stretch

I recently upgraded from Jessie to Stretch and received a new version of the configuration file for unattended-upgrades. Oddly, this new version references Debian instead of Raspbian. pi@kegerator:/...
13
votes
2answers
19k views

How to permanently disable swap on Raspbian Stretch Lite

I'm at my wit's end; it seems there's no way to tell Raspbian Stretch Lite to permanently disable swap space. Now, it's a bit of an edge case, wanting to keep swap turned off (in this case it's for a ...
13
votes
2answers
24k views

ifup and ifdown do not work on raspbian stretch lite 2017-09-07-raspbian-stretch-lite.img

I just installed a clean image of the latest Raspbian Stretch Lite. Specifically - 2017-09-07-raspbian-stretch-lite.img ifconfig shows that my wifi interface wlan0 is detected and up. eth0: flags=...
11
votes
1answer
5k views

Why does the SHA256 of Raspbian file image never correspond to the one indicated on the website?

Every time I download Raspbian (last time Raspbian Stretch with desktop) I try to verify SHA256. However, every time the result is different from the one on the website, although I am quite sure the ...
11
votes
1answer
6k views

How to INVERT SCROLLING DIRECTION on trackpad in Raspbian Stretch?

I would like to invert the scrolling direction so that when I scroll down (using two fingers in a downward direction) on my trackpad, the page also moves down (i.e. to content lower down). I did this ...
11
votes
1answer
3k views

Automatically Create Hotspot if no Network is Available

I want to automatically create an access point, if there is no network found, so that I can connect to my Raspberry Pi everywhere. If nobody is connected to the hotspot for a while it should search ...
9
votes
2answers
12k 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)...
9
votes
5answers
7k views

I2S DAC device support (kernel drivers?) and noise (“pop”, “crackle”) on playback

I am trying a Adafruit I2S 3W Stereo Speaker Bonnet for Raspberry Pi - Mini Kit, which is built around two MAX98357 (datasheet: adafruit, maxim), on a Raspberry Pi Zero W with Raspbian Stretch (...
8
votes
3answers
22k views

How do I restart sshd on raspbian?

How do I restart sshd on raspbian stretch? This does not work: pi@raspberrypi:~/.ssh $ sudo systemctl restart sshd Failed to restart sshd.service: Unit sshd.service not found.
7
votes
5answers
20k views

Raspberry Pi Custom SSH/Normal Login Message

I am currently using Raspbian Stretch Lite and would like to know how, if possible, I could make custom login messages. e.g Currently, I get this: Linux RPi 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 ...
7
votes
5answers
11k views

How can I use an init ramdisk (initramfs) on boot up Raspberry Pi?

I need to load driver on early stage booting. For development I use LVM (logical volume manager) so I can easily revert test setups to the default image from a snapshot. For this I have to load the ...
7
votes
4answers
2k views

Why can't I install Postgresql-10? (how does the raspbian archive work)

I was recently trying to install Postgresql-10 on my raspberry pi running Stretch. When I run sudo apt-get install postgresql-10 I get E: Unable to locate package postgresql-10. However, when I go ...
7
votes
2answers
6k views

Raspberry Pi DHCP Server: clients not getting IP addresses

I am relatively new to networking, so please bear with me. For a purely educational project, I've set up a network where the Raspberry Pi 3 running Raspbian Stretch is to function both as a router and ...
7
votes
1answer
671 views

USB OTG on Compute Module 3

Has anyone ever tried configuring the USB of the Compute Module 3 as USB OTG? In the default kernel (Raspbian Stretch - Kernel7), support for usb otg appears to be disabled. Has anyone managed to ...
6
votes
4answers
1k views

How to get the release date of OS in raspberry pi

I can get the information about which os I am using by cat /etc/os-release. Which command should I use to get the release date of Raspbian OS, for example 2018-11-13. Thanks
6
votes
4answers
16k views

Cannot set up WiFi on Raspberry Pi Zero W running Stretch

I have been trying to connect to my wireless network for several days now with my Raspberry Pi Zero W running Stretch (2017-08-16 release). I have read many threads on how to setup wifi, including the ...
6
votes
1answer
6k views

How to stop XRDP service from autostarting

I'm using Raspbian Stretch and I installed XRDP from APT: sudo apt-get install xrdp After that, the XRDP service is started automatically on boot. Now, I would like to disable the autostart, so I ...
6
votes
2answers
4k views

Predictable Network Interface Names inconsistently applied in Stretch

I have a PI 3 B running Stretch, and I have enabled Predictable Network Interface Names, using raspi-config. However, the naming is not being consistently applied. The results of ifconfig are ...
6
votes
3answers
19k views

raspi-config network option not working

I am trying to turn on the network option in raspi-config, but when I do, I get this error: could not communicate with wpa_supplicant Then I hit enter to continue and I get this message There was ...
6
votes
4answers
20k views

“Permission denied” for Raspbian default SSH password

I'm trying to set up a Raspberry Pi Zero W as a headless device on my local network, and am performing the initial setup with a fresh copy of Raspbian Stretch I've tried installing both the latest ...
6
votes
3answers
3k views

Is it possible to use MariaDB data on an external USB hard drive?

I have a rpi3 and successfully installed MariaDB / PHP7 / Nginx server combination. How ever i want to keep the data on a USB HD. Security of the data is not critical, but the amount of writes to the ...
5
votes
1answer
8k 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-...
5
votes
1answer
5k views

How to setup an unprotected Ad Hoc (IBSS) Network and if possible with WPA encryption?

There are several tutorials out there to setup an Ad Hoc network, for example Ad Hoc setup in RPi 3. But how can I do this using systemd-networkd? And all what I've found is using unprotected ...
5
votes
1answer
4k views

Raspberry Pi Crashes when I try to change screen resolution

I am running Stretch on a Raspberry Pi 3 and have been trying to change my screen resolution (connected to some Samsung touchscreen via HDMI) via sudo raspi-config the menu loads properly and I can ...
5
votes
3answers
7k views

Could not connect to raspbian.raspberrypi.org in raspberry pi 3

sorry i am a newbie, when i want to sudo apt-get update i can't connect to raspbian.raspberrypi.org, and when i click the link is not responding, but when i use my handphone to acces the link with vpn ...
5
votes
2answers
886 views

netperf command doesn't exist on raspbian

I am trying to run some tests about network on my Raspberry Pi 3 B+, and I have raspbian on it. I installed flent via apt install flent, and I ensured that non-free repository is enabled. I still can'...
5
votes
2answers
8k views

Raspberry Pi 3B+ freezes randomly

General setup My RPi is connected to a mouse, keyboard, and monitor. My swap size is set to 1000 MB and I'm not using wifi. Problem The RPi freezes randomly, meaning the GUI is frozen, no SSH ...
5
votes
2answers
11k views

Raspbian Stretch Routing/VLAN

I would like to have a network for 10+ Pi with a switch (192.168.42.x). This switch is connected to Internet via one port (to an another switch). I try to have one Pi with the ip (eth0) 192.168.1.127 ...
5
votes
3answers
5k views

Simultaneously connect to a wifi network and create a wifi AP

I have successfully set up my Pi 3B+ as an access point so it can create and broadcast it's own network SSID "wallPi" on the internal wlan0. My goal is to make a video wall using this Wi-Fi network. ...
5
votes
2answers
10k views

Raspberry Pi Zero Stretch /etc/resolv.conf DNS problem

I cannot use apt update as every reboot my sudo vim /etc/resolv.conf file resets to the below # Generated by resolvconf search home nameserver 127.0.0.1 I have tried to change the nameserver to a ...
5
votes
1answer
838 views

Raspbian file manager right click menu

Alright, so I'm looking to add an element to the right-click menu, in Raspbian's file menu. When you right-click in "negative space" in the FM, you get a litany of options: Create New > Paste Select ...
4
votes
1answer
3k views

pi1, armv6, how to disable armhf packages?

I dusted off a Pi 1, which is armv6, then installed Raspbian on it. The base OS works, but many of the packages I install won't even start- they say illegal instruction. That's because the armhf ...
4
votes
3answers
9k views

What have you done to make generic TFT touchscreen display work?

I made the mistake of buying a cheap 3.5in 480x320 TFT display from a Chinese retailer. its unbranded, customer service is awful, no software was sent with it. I was sent a file in Chinese that was ...
4
votes
2answers
7k views

Why is hostapd masked after installation?

My question is somehow related to this question: hostapd doesent work anymore I have a fresh Raspbian Stretch system and then install hostapd via sudo apt-get install hostapd there are no error ...
4
votes
2answers
4k views

Switching to a different wireless network when it is available

I have a Raspberry Pi 3B running Raspbian Lite Stretch (2018-03-13). I have an IoT device that broadcasts an AP. I want my RPi to join this AP whenever it is available (i.e., the IoT device is on). ...
4
votes
3answers
9k views

Raspberry Pi 3 and V4L2 C++ Capture Code for JPEGs

I have a Raspberry Pi 3 with the latest Raspbian Stretch, and the Sony 8MB official camera. I can save a good looking JPEG with the following commands: v4l2-ctl --set-fmt-video=width=2592,height=...
4
votes
3answers
7k views

Launch a GUI Tkinter program on boot

I am trying to auto launch a Tkinter/Python program when the Raspberry Pi boots up. Ideally I would like to boot the Pi into the console and then launch a GUI Tkinter Python program. In testing – not ...
4
votes
2answers
5k views

“mount error(112): Host is down” on stretch, but not jessie! Why?

First, some background: the CIFS drive I am trying to mount: PASSPORT2TB is connected via USB to a small wifi AP running OpenWRT, and it is shared via the Samba server on that (OpenWRT) host. I want ...
4
votes
1answer
8k views

How to disable automatic wifi connection on wlan0 (Stretch)?

I'm building wifi-router (hostapd, dnsmasq) on Raspberry pi 3 (Raspberrian Stretch). Wlan0 configured as static IP adapter for hostapd. It works fine for eth0 -> wlan0 direction. In this case, ...
4
votes
1answer
15k views

Install USB wifi dongle on Raspberry Pi 3

I have a Raspberry Pi 3 with Stretch and wish to install a Realtek USB WLAN adapter. There are various tutorials on how to do this in the Pi 2, but none on the Pi 3 since it has a built-in wifi ...
4
votes
1answer
3k views

Unable to Reconnect WiFi on Pi 3 after Connection Drop

Question What is the current proper way to force reconnection to a WiFi access point? (Or even better: automatically reconnect after the connection is dropped?) The only way to reconnect that has ...
4
votes
1answer
13k views

Cloning the Raspberry Pi SD Card as a balenaEtcher-ready instal-able image

I'm currently working on a Raspberry Pi 3 Model B+ with Raspbian Stretch, and I have installed several libraries such as TensorFlow and OpenCV. These installations took quite some time to do, and I ...
4
votes
1answer
1k views

Setting up Bluetooth to Act as a Headset

Background: I'm working on a project to connect a Motorola XPR 7550e to a Raspberry Pi B3+ via Bluetooth. The idea behind it, is to run a NodeJS application that listens to the radio and transmits it ...

1
2 3 4 5
17