21
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....
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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)...
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 ...
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 ...
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
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. ...
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 ...
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
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, ...
4
votes
Accepted
How can I reset my ~/.bash_profile?
Copy it from /etc/skel/.profile. You'll also find .bashrc in /etc/skel
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 ...
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 ...
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=...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
3
votes
Accepted
RasPi4b Rasbian Lite Buster black screen after boot
Commenting out the FKMS line in the config.txt file has fixed my issue, see https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=252712&p=1542121#p1542121 for full
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
raspbian-lite × 141raspbian × 33
raspbian-stretch × 24
pi-4 × 18
raspbian-buster × 17
networking × 13
ssh × 11
pi-zero-w × 11
pi-3 × 10
wifi × 9
pi-3b+ × 9
usb × 7
boot × 6
ethernet × 5
touchscreen × 5
audio × 4
pi-zero × 4
boot-issues × 4
python-3 × 4
kernel × 4
gui × 4
systemd × 4
pi-2 × 3
sd-card × 3
i2c × 3