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.
adm Allows access to log files in /var/log and using xconsole
dialout Allows access to serial ports/modem reconfiguration, etc.
cdrom Uncreatively, ...
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 content you can modify /etc/motd but if you want to generate dynamic content then you should add scripts to the /etc/update-motd.d directory.
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 answer your question directly, here's how to remove the GUI:
sudo apt-get remove --purge x11-common
sudo apt-get autoremove
The first line invalidates a lot of ...
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 to inactivity. Your RPi and any services (your webserver for example) will continue to run, and respond to http requests.
And wrt PuTTY, while this is not a ...
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 how I understand the setup so far with this example. I assume wifi and wired ethernet are bridged on the router (having the same ip address range).
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 physical access to an unpowered computer. As long as the computer is running it must decrypt the storage to be able to run, so it doesn't help when an intruder ...
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 the Hardware itself.
If someone finds a more definitive answer, please let us know!
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 following (on my iMac) to disable ONLY for my local network (for which it is unnecessary). You may get warnings, but get the option to connect.
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 port 22 from your router to your Pi. (Port 22 is the standard port for ssh.) In the input form that you have, it looks like that will require a row that looks ...
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 systemd service so that your camera will start shooting as soon as the Raspberry Pi is ready.
Download Raspbian lite and write it to an SD card, e.g. with Etcher.
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
And everything was just fine. Also there was just also a little issue with the web app's splash page.
I thank everyone for all recommendations and answers! I will upvote what I can!
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 to get no GUI, as that is exactly what you would get if you connected the Pi to a monitor using HDMI.
However, I can confirm that using SSH will work normally. ...
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 setup on OSI Layer 3.
Nowadays we have mainly two VPN programs that are mostly used: the modern and up comming Wireguard and meanwhile classic OpenVPN. I would ...
You can find the config in ~/.config/mimeapps.list
This how it looks for me after editing it:
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 repositories.
sudo apt update
sudo apt install python-opencv
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 and Turkic languages
You may need to reboot to see the effects of this change.
The Linux console still pretty much thinks there are only 256 places in a ...
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 are the last half of the ethernet MAC address (no idea how pi3 wifi MAC address is "calculated")
Then, by creating a systemd.link file, you can override the ...
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 already has them, otherwise it would not be working. Unfortunately, many I2C vendors put pullups on their boards; the better ones put solder jumpers that you can ...
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 hardware floating point for the old CPUs used in the Pi.
Raspbian was created to allow for hardware floating point and is based on Debian.
The Foundation ...
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 Linux. And Raspbian Lite uses less CPU and memory uses because of no GUI.
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) system: Software that provides the basis of a desktop GUI, which is mostly about relationships with the kernel and hardware. The predominant windowing system ...
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 many of the log files in /var/log.
netdev members can manage network interfaces.
sudo group members can execute any command (If the goal is to have a lower ...
Just do an update, this is a known problem with the latest Raspbian Stretch image. When you enable the VNC server, this can happen. Alternatively, if you don't need the VNC server, you can disable it.
sudo apt-get update
sudo apt-get upgrade
The error ---[end Kechallengernel panic - not syncing: VFS: Unable to mount root fs unknown-block(179,7)
random: crng init done
is often mentioned when a corrupt image have been transferred to a SD card or when a SD card is faulty or kernel bugs.
I have replaced a corrupt SD card due to this cause and that solved my challenge.
I don't have Lite, but it sounds like this is the same situation as when I press Ctrl+Alt+F1 to get a pure console session on full Raspbian Stretch. That is, by default I cannot scroll up more than a full screen at 1080p resolution.
For me, it worked when I resolved this by editing /boot/cmdline.txt and appending fbcon=scrollback:1024k
After rebooting, ...
I spent a while running down a rabbit hole on this and I wanted to add something. The motd solution provided here works for the message displayed after the login is authenticated (after entering the password). And that is what I was looking for. So thanks.
But in the process I also found this tid-bit that someone might find useful since it is related...