Show available networks
nmcli dev wifi list
# or
sudo iw dev wlan0 scan | grep SSID
My Raspberry Pi 4 kept losing its wlan0
interface. I could usually reconnect via Ethernet but, from time to time, I noticed that the eth0
interface would also go walkabout.
I tried a lot of things but the one described here seems to have cured the problem. I have no idea why it works. It just does.
The script shown in the next step should be created on your Raspberry Pi. Please do not make the mistake of selecting the text, copying it into a text editor on your Windows machine, saving the file, and then moving the file to your Raspberry Pi. Unless you take precautions, Windows will add its 0x0d 0x0a
(CR+LF) line endings and those will stop the script from working properly on your Raspberry Pi.
# It works fine for commit `master (Paulchen-Panther-5709d89e/bb40778a-1708095831)`. | |
# Install deps | |
sudo apt-get update | |
sudo apt-get install \ | |
git \ | |
cmake \ | |
build-essential \ | |
qtbase5-dev \ | |
libqt5serialport5-dev \ |
sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
More info here - https://gstreamer.freedesktop.org/documentation/installing/on-linux.html?gi-language=c
dmesg | grep 16MP
" See https://www.youtube.com/watch?v=XA2WjJbmmoM | |
" BASIC SETUP: | |
" enter the current millenium | |
set nocompatible | |
" enable syntax and plugins | |
syntax enable |
" VIM Configuration File | |
" Description: Optimized for C/C++ development. | |
" set UTF-8 encoding | |
set enc=utf-8 | |
set fenc=utf-8 | |
set termencoding=utf-8 | |
" disable vi compatibility (emulation of old bugs) | |
set nocompatible |