22 votes
Accepted

What does each of the default groups on the raspberry pi do?

I did a little digging on this and tracked down the purpose for most of the user groups: pi User-specific group. A group is automatically created for each new user; you can ignore this....
apnorton's user avatar
  • 336
11 votes

Raspberry Pi Custom SSH/Normal Login Message

This is, as mentioned, the contents of the /etc/motd file. The actual file shown (/run/motd.dynamic) is constructed using the scripts in /etc/update-motd.d and the file /etc/motd. So for static ...
patthoyts's user avatar
  • 501
8 votes
Accepted

I have installed the full version of Raspbian. What can I do to shift to the lite version?

I don't like answers that simply say install a clean image as if the OP wasn't aware of that possibility and it also disregards the work that the OP has already done on their installation. So to ...
John Hawthorne's user avatar
7 votes

Prevent Pi from sleeping on stretch lite

Easiest question today! Answer: Do nothing! :) The Raspberry Pi is not sleeping... it doesn't have a sleep state (as @goldilocks states in his answer). PuTTY has simply terminated the session due ...
Seamus's user avatar
  • 22k
6 votes
Accepted

Cannot connect to PiVPN Server from WAN but can connect through LAN

Info: To have a simple openvpn server installation for reference look at Simple openVPN with static keys. The first idea seeing the picture was that you confused WAN- and LAN-address. But lets look ...
Ingo's user avatar
  • 42.1k
6 votes

What step am I missing in my installation schema for Raspberry Pi OS on my headless RPI 1 to enable encryption?

As far as I understand you want to have an encrypted storage for the complete operating system that can only be started if you enter a password to boot it. Please note that this only protects against ...
Ingo's user avatar
  • 42.1k
6 votes
Accepted

Couldn't ssh to my Raspberry Pi - "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!"

If you installed a new OS it has a new key. Any existing connection history on your computer is meaningless. Delete it! If you create a ~/.ssh/config you can disable StrictHostKeyChecking. I use the ...
Milliways's user avatar
  • 60k
5 votes
Accepted

Black screen using VNC with Raspbian Lite

You have discovered a "feature" of the Raspbian Lite OS. The way Raspbian Lite differs from Raspbian is it has no GUI, (Graphical User Interface). So when you try to VNC into the Pi, you are going ...
Darth Vader's user avatar
  • 4,206
5 votes

How to enable huge pages in Raspbian Stretch Lite?

Based on the information I can find online (example here), I don't believe the ARM Cortex-A7 used in the Raspberry Pi supports Huge Pages in the L1 TLB, so it most likely won't work properly due to ...
MrChips's user avatar
  • 993
5 votes
Accepted

Will RaspiOS Lite (no Desktop environment) be able to start a software with GUI made with Tkinter?

I assume Tkinter requires a “window manager” from an OS that has a desktop environment. To clarify a few terms that have a specific technical meaning in GNU/Linux based operating systems: Window(ing)...
goldilocks's user avatar
  • 58.9k
5 votes
Accepted

How can I write an image to the RPI4 framebuffer in Raspbian Lite?

The framebuffer wants an image in the 16 bit RGB565 format. This means 16 bit depth and more precisely 5 bits for Red, 6 for Green, and 5 for Blue. The framebuffer just wants raw data so we have to ...
deanresin's user avatar
  • 197
4 votes
Accepted

Port forwarding raspberry pi

To do this you need the IP address of your Pi on your local network. You can get that with ifconfig on the command line. Let's say, for example, that it was 192.168.1.42. Then you want to forward ...
Brick's user avatar
  • 1,377
4 votes

Raspberry Pi Custom SSH/Normal Login Message

That is the "Message of the Day" or "motd" you can find it in /etc/motd sudo nano /etc/motd
Dr.Rabbit's user avatar
  • 1,018
4 votes

Edit iptables to open a port the safest and easiest way (nano?)

The problem got solved by using the following commands: sudo apt-get install ufw sudo ufw allow 22 sudo ufw allow 8090 sudo ufw allow 8092 sudo ufw enable sudo reboot And everything was just fine. ...
MeebusJaximus's user avatar
4 votes
Accepted

How do I trigger periodic remote shooting on a DSLR using a Raspberry Pi e.g. for time lapse (shutter timer), group pictures or self portraits

Use gphoto2 to trigger continuous periodic capture This solution uses gphoto2 to remote control the DSLR and converts a Raspberry Pi to an intervalometer. It sets up the continuous capture as a ...
Pierre F's user avatar
  • 313
4 votes
Accepted

Raspberry not discoverable on local network

You need to use raspberrypi.local on Mac. Whether ping will work depends on the settings of your network. See How to set up networking/WiFi
Milliways's user avatar
  • 60k
4 votes
Accepted

What's the easiest way to get Raspbian with GUI, without software

You can try to start with Raspbian Stretch Lite and then install a desktop of your choice on it. This can easy be done with: rpi ~$ sudo tasksel Then you can select GNOME, Xfce, KDE, Cinnamon, MATE, ...
Ingo's user avatar
  • 42.1k
4 votes
Accepted

How can I reset my ~/.bash_profile?

Copy it from /etc/skel/.profile. You'll also find .bashrc in /etc/skel
Dougie's user avatar
  • 5,301
4 votes

What is the difference between Raspbian Lite and Debian?

Debian is a popular Linux/GNU distribution (Linux is the base operating system, GNU provides applications software packages). When the Pi first came out there was no Debian variant to support ...
joan's user avatar
  • 71k
4 votes

How to convert a Layer 3 VPN to a Layer 2 VPN?

First some general information to get an idea what to do. As you already have found there are in general two ways to configure a Virtual Private Network: a bridged setup on OSI Layer 2 and a routed ...
Ingo's user avatar
  • 42.1k
4 votes
Accepted

how to access to the configuration of my raspberry pi os lite

If you just want to get the configuration of your Pi's kernel, and you plan to do development elsewhere, run sudo modprobe configs; zcat /proc/config.gz > .config, and then copy the .config file to ...
Dmitry Grigoryev's user avatar
3 votes
Accepted

changing default apps in raspbian

You can find the config in ~/.config/mimeapps.list This how it looks for me after editing it: [Default Applications] inode/directory=pcmanfm.desktop audio/mpeg=userapp-mocp-WXKY0Y.desktop video/mp4=...
sezanzeb's user avatar
  • 141
3 votes

How to install opencv on raspbian jessie Lite?

Being two years old, that script has issues such as tying to an older version of OpenCV. Rather than downloading from Itseez's GitHub repo you're better off installing via the Raspbian package ...
jdonald's user avatar
  • 2,904
3 votes

What does each of the default groups on the raspberry pi do?

The pi group is the default group created for the pi user. Each user has a matching group name. dialout allows access to the serial ports. adm is used for system monitoring tasks and gives access to ...
Steve Robillard's user avatar
3 votes
Accepted

Raspbian Lite - Turkish characters appear as squares

As you're using Lite, this is likely a console font issue. You'll need to sudo dpkg-reconfigure console-setup then select UTF-8, then for Character Set, choose # Latin1 and Latin5 - western Europe ...
scruss's user avatar
  • 9,068
3 votes

Raspberry not discoverable on local network

To bring up a Raspberry pi headless is fairly easy, even on WiFi. You first put Raspian on your SD drive. I use etcher from my Linux laptop. This creates too partitions. You need to use a Linux ...
NomadMaker's user avatar
  • 1,560
3 votes

Where does the Raspberry Pi Ethernet MAC get generated?

Here's something I came up with that probably does what you want What this does is get the serial number of the pi (32 bit number from /proc/cpuinfo or OTP location 28) - the last 24 bits of which ...
Jaromanda X's user avatar
  • 2,415
3 votes
Accepted

Using RTC on Raspberry Pi Zero while SDA/SCL pins are occupied

As others have commented, yes, you can have multiple I2C devices (that's the whole point of a bus!) Make sure that you only have ONE set of pull-up resistors on the bus. Presumably your oled card ...
JayEye's user avatar
  • 1,898
3 votes

Raspbian Lite uses less cpu?

Raspbian Lite doesn't have any GUI. It has only a command-line interface. If you want to work on Raspberry with Lite version then you should have a basic understanding of commands and file system of ...
Nikhil Jain's user avatar

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