Raspberry Pi OS quickstart: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 9: Line 9:
  sudo rpi-imager&
  sudo rpi-imager&
  # pick Raspberry Pi OS LITE (32-bit or 64-bit?  I am trying both...)
  # pick Raspberry Pi OS LITE (32-bit or 64-bit?  I am trying both...)
* Plug power, keyboard and HDMI cable into pi and boot it up
* Plug keyboard and HDMI cable into pi
* Go through setup wizard: US, username m, etc.
* Optionally plug in ethernet too, if you want those higher speed transfers
* Plug in power, boot it up and go through setup wizard: US, username m, etc.
* Run config to set hostname, and turn on ssh and wifi:
* Run config to set hostname, and turn on ssh and wifi:
  sudo raspi-config
  sudo raspi-config
Line 17: Line 18:
  # 3 Interface Options > I2 SSH > Enable
  # 3 Interface Options > I2 SSH > Enable
  # 6 Advanced Options > A1 Expand Filesystem
  # 6 Advanced Options > A1 Expand Filesystem
  ip a # capture the MAC address, add (MAC,hostname,IP) entry to bitpost dnsmasq
  ip a # capture the MAC address, add a wifi (MAC,hostname,IP) entry to bitpost dnsmasq, optionally add wired too
  reboot
  reboot



Revision as of 23:33, 2 June 2022

Raspberry Pi OS

Raspberry Pi OS is a debian distro that now supports my 4k Sony "monitor" out of the box, nice. I re-installed to carambola in 2022/06.

Built-in installation

  • Use the Imager to grab an image and burn to an SD card
sudo dpkg -i imager_1.7.2_amd64.deb
sudo rpi-imager&
# pick Raspberry Pi OS LITE (32-bit or 64-bit?  I am trying both...)
  • Plug keyboard and HDMI cable into pi
  • Optionally plug in ethernet too, if you want those higher speed transfers
  • Plug in power, boot it up and go through setup wizard: US, username m, etc.
  • Run config to set hostname, and turn on ssh and wifi:
sudo raspi-config
# 1 System Options > S4 Hostname > (eg: carambola)
# 1 System Options > S1 Wireless LAN > Enter 2.4 SSID + pw
# 3 Interface Options > I2 SSH > Enable
# 6 Advanced Options > A1 Expand Filesystem
ip a # capture the MAC address, add a wifi (MAC,hostname,IP) entry to bitpost dnsmasq, optionally add wired too
reboot

You can now ssh from a more comfortable location to set things up.

Setup over ssh

ssh m@carambola
# you may want to run the config tool again and tweak things...?  i didn't bother...
sudo raspi-config

That's basically it.

Expand

You now have a barebones Pi to grow into whatever you need. I'm hitting carambola with ROS!