81

How brave do you feel? It's safest to make a fresh install on a new SD card. The braver way I'd use is: Backup any files which are important to you. With your new or existing install. sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade to make sure wheezy is fully up to date. Edit /etc/apt/sources.list and change wheezy to jessie. There ...


74

If I understand this and that right, the lite distribution is just a Minimal image based on Debian Jessie without the X-server and its components installed. Meaning it uses less space on the SD-card and can run from a smaller SD card. Installing the minimal image will also reduce traffic during updates (as pointed out by Jacob). Any desired package can still ...


60

Instead of a manual cron, you can install unattended-upgrades, which is useful to ensure the latest kernels are installed. It's mostly designed for security. apt-get install unattended-upgrades There are some bits that can be adjusted/configured, but the default is fine.


39

I hope this may help others in the next time: Basically, an upgrade works like this: adjusting the sources to "jessie" update the package lists and upgrade the packages adjusting the sources You can either simply replace every "wheezy" in /etc/apt/sources.list (and /etc/apt/sources.list.d/*) with "jessie" Or you use sed to do the work for you: sudo sed -...


33

I have run sudo touch /forcefsck but what else I have to do? That's stuff that applies more to wheezy; jessie may (or may not) be backward compatible with it, but you might as well do it the new way: Add the following to /boot/cmdline.txt: fsck.mode=force Make sure that file remains all one line. Parameters should be separated with spaces. You'll ...


31

I have been on this project after while (to help my friend doing their paper for graduating) and find the online project doing just fine (although the pi processing the audio is quite lagging the pi, and voltage drop make it freeze as the only way to make it reboot is to unplugged the power cable). This is the step that I've been working on and it works on ...


29

The driver for the screen provides an interface through /sys/. To turn the screen on you can use the command: echo 0 > /sys/class/backlight/rpi_backlight/bl_power and to turn it off: echo 1 > /sys/class/backlight/rpi_backlight/bl_power the brightness can be adjusted using: echo n > /sys/class/backlight/rpi_backlight/brightness where n is some ...


28

For Raspbian (Jessie), this solution worked for me: Create a new .desktop file in ~/.config/autostart/, e.g. sudo nano ~/.config/autostart/autoChromium.desktop Then add the following: [Desktop Entry] Type=Application Exec=/usr/bin/chromium-browser --noerrdialogs --disable-session-crashed-bubble --disable-infobars --kiosk http://www.website.com Hidden=...


27

According to the ALSA Wiki, under the title that reads "How to choose a particular order for multiple installed cards", it states the following: Which card is card number 0, 1 and so is by default determined by module load order. This is particularly useful to choose which card becomes the default one. In theory therefore it is possible to choose ...


27

From a fresh install of Jessie Light, and after an apt-get update you can do: sudo apt-get install --no-install-recommends xserver-xorg xinit The PIXEL GUI: sudo apt-get install raspberrypi-ui-mods then lightdm: sudo apt-get install lightdm I hadn't originally planned to install PIXEL so I had only xorg, xinit and lightdm, but eventually did install ...


26

In its default configuration, unattended-upgrades is broken in Raspbian Buster. It won't install crucial updates for the kernel and other software. Your options are: Recommended Option: Install and fix unattended-upgrades: sudo apt install unattended-upgrades echo 'Unattended-Upgrade::Origins-Pattern { // Fix missing Rasbian sources. "origin=...


22

Enter the command sudo raspi-config. Scroll down to Boot Options and select Console Autologin. Then exit the configuration menu and reboot.


22

Here are some suggestions. Use the raspi-config utility to reset the timezone even if already you used a different tool to set it. sudo raspi-config Manually set the time to be somewhat accurate. NTP sometimes won't update if the time/date is wildly wrong. sudo date -s "01/04/2017 11:00" Manually force time update: sudo systemctl stop ntp.service sudo ...


21

Here is an alternate solution that doesn't rely on PulseAudio: https://github.com/lukasjapan/bt-speaker Install on raspbian as root with: curl -s https://raw.githubusercontent.com/lukasjapan/bt-speaker/master/install.sh | bash It will start a bluetooth speaker daemon that automatically accepts a single client for A2DP/AVRCP and pipes the audio stream ...


16

I'm sure there are lots of differences but none which would make you choose wheezy over jessie. jessie is the more up to date and will be better supported. You should be using jessie.


16

I've adapted the instructions here to our case. First, create the following files in /etc/apt/preferences.d: jessie.pref: Package: * Pin: release a=jessie Pin-Priority: 900 stretch.pref: Package: * Pin: release a=stretch Pin-Priority: 750 Now, creating a matching set for /etc/apt/sources.list.d: jessie.list: deb http://mirrordirector.raspbian.org/...


15

Turns out the file is now called alsa.conf and is found in /usr/share/alsa. Changed the lines defaults.ctl.card 0 defaults.pcm.card 0 to card 1 and that's me up and running. Looks like others have different problems with other sound cards so worth looking at other solutions too. Found some good suggestions (including my solution) here: https://www....


15

I don't think that should be happening. There is an explanation of the thermometer icon here updated last month, and it says it comes on halfway at 80°C, when the CPU should begin throttling due to overheating. Then at 85°C it changes to a full thermometer. However, that is the maximum recommended operating temperature. The Pi should not be getting that ...


14

Systemd users "service bunlde" named target, to achieve different system states while booting the system. You need to change the desired state of the system, from graphical to multi-user. Run systemctl get-default Will show you graphical.target You could change it with sudo systemctl set-default multi-user.target I could recommend this article to ...


14

Method 1 (still recommended, even if you don't like it): Change the password for the user pi Method 2: Remove the file /etc/profile.d/sshpasswd.sh (sshpwd.sh for stretch) It contains the code checking for the password and displaying the message (see this) Notice: Not even via SSH. When I log in to the GUI I get a warning box with the same error. This ...


13

For the Raspberry Pi 2 you can add the following lines to /etc/rc.local: sudo sh -c 'echo none > /sys/class/leds/led0/trigger' sudo sh -c 'echo none > /sys/class/leds/led1/trigger' sudo sh -c 'echo 0 > /sys/class/leds/led0/brightness' sudo sh -c 'echo 0 > /sys/class/leds/led1/brightness' Maybe it works for RPi3 too?


12

Raspbian Jessie no longer has a file called /etc/sysctl.d -- it's now a folder of the same name. According to the read-me file in the same folder, README.sysctl, it basically says that any .conf file will be read in at boot time and processed. Any legal file name will work, but they suggested local.conf, so that's what I used. I created /etc/sysctl.d/local....


12

This worked for me sudo nano /etc/network/interfaces and add the following lines auto wlan0 iface wlan0 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf sudo nano /etc/wpa_supplicant/wpa_supplicant.conf file looks like this country=GB ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid="your ssid" psk="...


12

Open a Terminal window and run: sudo nano /boot/cmdline.txt If in the file you see any mention of a MAC address remove it from the file. Then exit the file with saving. To set a fixed MAC address run: sudo nano /boot/config.txt Add the following line if it does not already exist: smsc95xx.macaddr=B8:AA:BC:DE:F0:12 Again, exit the file with saving. B8:...


11

Is there a way to automatize this process so I won't have to manually do it every time I turn on the Raspberry? That's not needed if question #2 can be solved - and it can... Is there a way to automatize it so that it will always recognize it must get the internet from the Wifi independently of the IP range given by the hotspot DCHP to this interface? ...


11

I've made a Python package for this: github.com/linusg/rpi-backlight. Now you don't need to implement this yourself anymore. (GIF is outdated because API was changed quite a bit in v2, sorry... Below example is correct 🙂) Works basically like the above, example: >>> from rpi_backlight import Backlight >>> >>> backlight = ...


11

Looks like this is going to be part of the newest updates; Desktop & Lite versions: https://www.raspberrypi.org/blog/another-update-raspbian/ When flashing a new Raspbian image, the file system will automatically be expanded to use all the space on the card when it is first booted. On Ubuntu you can edit the image to stop auto file system expansion. ...


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