35 votes

How to setup Network Manager on Raspbian

I have found how to get NetworkManager (and systemd-resolved) working on Raspbian 9 (Stretch). NetworkManager is very useful when you need to manage multiple VPN connections with split DNS, wifi ...
giox069's user avatar
  • 451
12 votes

How to setup Network Manager on Raspbian

This page ranks quite highly in search results for people looking for networking help on Raspberry Pi. Unfortunately, the steps detailed here are out-of-date as of Feb 2020. At that point in time, to ...
Jonathan Sanderson's user avatar
6 votes
Accepted

Copy multiple partitions to one .img file

There is no magic in the image file. It's simply a bit-for-bit copy of a chunk of the sd card. What you want to do is figure out exactly where the second partition ends, and copy from the device file ...
JayEye's user avatar
  • 1,898
5 votes

Automatically uninstall all non-essential packages

While I fully agree with @goldilocks that being obsessive about the number of installed packages is pointless, there's one useful trick I want to share. All packages in the system basically fall in ...
Dmitry Grigoryev's user avatar
4 votes

How do I change the Desktop wallpaper from the cli

None of the above worked for me. So here is the solution for Raspbian Stretch pcmanfm --set-wallpaper yourfile.jpg The file can be on any path that is available to read by the user. Here I have ...
Chiwda's user avatar
  • 171
4 votes
Accepted

Is there some kinda serial number available from OS level?

In C# Mono I'm doing this: private string GetRpiSerial() { CommandSync("cat /proc/cpuinfo | grep Serial | cut -d ':' -f 2 > /home/pi/serial.txt"); using (var sr = new StreamReader("/home/...
Tico Fortes's user avatar
4 votes
Accepted

Until when does Raspbian Wheezy receive *security* updates?

Wheezy in general has been handed over to the Debian LTS team as of 25 April of this year (2016). The official answer for LTS support is May 31, 2018 (https://www.debian.org/News/2016/20160425.en.html)...
Brandon Denning's user avatar
4 votes
Accepted

How to complete upgrade from wheezy to Stretch?

I do not recommended to upgrade Raspbian from Wheezy (Debian 7) to Raspbian Stretch (Debian 9) and skip Raspbian Jessie (Debian 8). Fyi: table of Debian releases Option 1: upgrade from 7 to 8 to 9 ...
Fabian's user avatar
  • 1,260
3 votes

How to setup Network Manager on Raspbian

Chien's answer will create a non persistent change and dhcpcd will restart after after reboot. The clash will give the device two IPs per interface. A persistent solution would be: sudo apt install ...
James's user avatar
  • 31
3 votes
Accepted

Is Raspbian Wheezy Compatible with the Pi Zero?

The last official Raspbian Wheezy image was 2015-05-07 and official images moved to Jessie afterwards. This was 5 months before the Zero was released, so didn't contain the firmware for the Zero or ...
Mike Redrobe's user avatar
3 votes

Automatically uninstall all non-essential packages

In his answer, goldilocks wrote “‘non-essential’ is hugely subjective”, and this is essentially correct. However, the package maintainers have their own idea of how important a package is, and this ...
Edgar Bonet's user avatar
3 votes

Problems in upgrading pip packages

Three Suggestions Use Virtualenv for development and custom applications, System python is for installed programs System python is better suited for system utilities which are built against the ...
crasic's user avatar
  • 3,003
2 votes

How do I change the Desktop wallpaper from the cli

I've been trying to find a solution to this for ages - with all other attempts failing - and finally came up with a solution what works! Caveat: This is using Buster on a RasPi4, and I've not ...
s3dev's user avatar
  • 233
2 votes

Disabling USB ports

Each USB host controller in Linux exposes a setting called authorized_default, which controls the state of any new connected devices. Setting it to 0 makes all new devices disabled by default: for ...
Dmitry Grigoryev's user avatar
2 votes

Disabling USB ports

sudo sh -c "echo 0 > /sys/devices/platform/soc/3f980000.usb/buspower" Will disable the USB ports but also the LAN port. sudo sh -c "echo 1 > /sys/devices/platform/soc/3f980000.usb/buspower" ...
Lennart's user avatar
  • 76
2 votes

2.8" TFT Touchscreen with pygame script from console

If calibration shows the right coordinates, but pygame does not, then the most common cause is the SDL library version needs to be updated to 1.2. This is what bit me for a while as well with the same ...
Bill's user avatar
  • 21
2 votes
Accepted

Bluetooth AutoConnect on reboot , car setup with scripts

I guess I was able to answer my own question. At the end of my /etc/rc.local File I added the following line after of course I manually trusted my MAC address echo "connect AA:BB:CC:DD:EE:FF \...
Brett Reinhard's user avatar
2 votes

How to insert RPi 2 microSD card into RPi 3 without upgrading to Jessie?

Update the system to Jessie Insert SD card into Pi 3 Upgrading shouldn't touch any installed stuff on your SD card. If updating the kernels, modules, etc. are OK, I'm sure you'll be okay with Jessie. ...
Aloha's user avatar
  • 7,156
2 votes

SSH session keeps exiting my terminal

If it is a timeout issue (although usually the timeout should be long enough at least for a dist-upgrade; how long does yours take?), then you can configure a keepalive in your SSH config file by ...
Simon A. Eugster's user avatar
2 votes
Accepted

libkrb5.so.3 Missing

apt-cache search libkrb5 sudo apt-get install --reinstall libkrb5-3
joan's user avatar
  • 71.1k
2 votes
Accepted

Can not ssh on remote host

I'd close this as off-topic (and maybe it still should be), but I do have something to point out which provides a clue. From the working, older version of SSH: debug2: kex_parse_kexinit: ecdh-sha2-...
goldilocks's user avatar
  • 58.9k
2 votes
Accepted

How to install node-connect on an old Model B?

running an up-to-date Raspbian 7 Wheezy Kind of a contradiction. The most up-to-date Wheezy is still effectively out-of-date as it is no longer being updated. Could I upgrade this board to the ...
goldilocks's user avatar
  • 58.9k
2 votes

Real VNC on Raspbian Wheezy

I'm a beginner like you but I think I can help you. You should be using Raspbian Jessie. Wheezey is obsolete. You can download Raspbian Jessie from here. Choose RASPBIAN JESSIE WITH DESKTOP. It has ...
Konrad Oeo's user avatar
2 votes

WiFi Interfacing using Python

A lot of modules on windows will not work for raspbian because it is a debian derivative. So it could be that you have to change different modules you´ve been working on windows, because they are not ...
bierschi's user avatar
  • 350
2 votes

WiFi Interfacing using Python

I have two laptops, and one of them runs Ubuntu. This is easier to me than running virtualbox, but I'm lazy. A more affordable solution would be to purchase a used PC and put the Linux distribution ...
NomadMaker's user avatar
  • 1,560
2 votes

Apache HTTP server failed to start - how to stop other servers from listening on ports?

You can stop lighttpd if you run sudo systemctl stop lighttpd If you are sure to disable lighttpd (don't want to run it again). sudo systemctl disable lighttpd
SISMO's user avatar
  • 21
2 votes

Whats the last Raspbian OS image that works well with an old Pi B+?

I have most Pi from the 2013 model B to Pi4. They all work with the latest Raspberry Pi OS. The latest models are noticeably faster - because they have multi core processors and more RAM, but I still ...
Milliways's user avatar
  • 60k
1 vote

I want to go back to Raspbian Wheezy: is it possible?

If you absolutely have to do this, it's still available here: /raspbian/images/raspbian-2015-05-07
scruss's user avatar
  • 9,068
1 vote
Accepted

Insert RPi 2 microSD card into RPi 3. How?

DO NOT run rpi-update It is unnecessary and can install untested software, although in this case (just after an upgrade) it probably won't hurt. Yes it will work. Just simple insert your card to ...
Huczu's user avatar
  • 1,251
1 vote
Accepted

Error after (trying to) upgrading Raspberry Pi 1 from Wheezy to Jessie

The Foundation do not support upgrade from Wheezy to Jessie. There are good reasons for this. It is not impossible (and many have succeeded) - Apple and Microsoft both do similar, but they have much ...
Milliways's user avatar
  • 60k

Only top scored, non community-wiki answers of a minimum length are eligible