Raspbian (ARM)
Raspbian is not affiliated with the Raspberry Pi Foundation.- raspbian.org
lsb_release -a
to get version info
uname -a
- `ARMv7 and below are 32-bit. AMRv8 introduces the 64-bit instruction set.
others
uname -m
- check the kernel architecture: arm7* -> 32bit, arm8 64bit
Raspian Images
- The Raspberry Pi Foundation has produced and released their own recommended image of Raspbian / Flash with Etcher or Raspberry imager which is the most convenient for headless configuration (setup wifi + ssh + keyboard) both accept compressed image directly
Running Raspbian on x86 docker
see also Emulating a Raspberry Pi in QEMU
Fist install binfmt-support and qemu-user-static on the x86 host.
Get the rpi-build-docker-img script to download the image from raspberrypi.org and convert if to a docker image.
Raspbian Headless config
Edit the SD Card
The default user/password is pi/raspberry (beware of qwerty config)
Static IP / 2
Edit /etc/dhcpcd.conf
(/etc/network/interfaces
should be left alone.)
How Do I Find Out My Linux Gateway
Enable ssh
the root folder of your SD card (boot
) create a new file named “ssh”, with no extension.
Then connect
Then Configure passwordless access
WiFi
Specify country setting with raspi-config
first
Docker Setup
install Docker compose