Raspberry Pi Ubuntu quickstart: Difference between revisions

From Bitpost wiki
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
  sudo rpi-imager&
  sudo rpi-imager&
* Pick Ubuntu server
* Pick Ubuntu server
  OS > Other general-purpose > Ubuntu > Ubuntu Server 22.04 LTS 64-bit
  OS > Other general-purpose > Ubuntu > Ubuntu Server 20.04.4 LTS 64-bit
* Burn microSD
* Burn microSD
* Plug ethernet and keyboard into the Pi
* Plug ethernet and keyboard into the Pi
Line 13: Line 13:
* Plug in the power cable and boot it up
* Plug in the power cable and boot it up
* Log in as ubuntu/ubuntu and perform initial setup
* Log in as ubuntu/ubuntu and perform initial setup
  sudo emacs -nw /boot/firmware/network-config # and add your wifi info
  sudo nano /etc/netplan/50-cloud-init.yaml # and add your wifi info
  ip a # make note of IP and MAC
    ethernets:
  sudo service sshd start
        ....
    # MDM add 444 wifi
    wifis:
        wlan0:
            dhcp4: true
            optional: true
            access-points:
                party-at-108-bring-2.4-beers:
                    password: "blah"
sudo netplan apply
  ip a # make note of wired and wifi MACs, update dnsmasq
  sudo service sshd start # um i don't think this is needed, and we are about to reboot...
sudo reboot


You should now be far enough along to ssh to the machine, reclaim the keyboard, and continue with [[Linux barebones quickstart]].
You should now be far enough along to ssh to the machine, reclaim the keyboard, and continue with [[Linux barebones quickstart]].

Latest revision as of 23:19, 6 June 2022

Ubuntu on Pi is suggested for ROS.

Installation

sudo dpkg -i imager_1.7.2_amd64.deb
sudo rpi-imager&
  • Pick Ubuntu server
OS > Other general-purpose > Ubuntu > Ubuntu Server 20.04.4 LTS 64-bit
  • Burn microSD
  • Plug ethernet and keyboard into the Pi
  • Temporarily plug melange's HDMI into the Pi
  • Plug in the power cable and boot it up
  • Log in as ubuntu/ubuntu and perform initial setup
sudo nano /etc/netplan/50-cloud-init.yaml # and add your wifi info
   ethernets:
       ....
   # MDM add 444 wifi
   wifis:
       wlan0:
           dhcp4: true
           optional: true
           access-points:
               party-at-108-bring-2.4-beers:
                   password: "blah"
sudo netplan apply
ip a # make note of wired and wifi MACs, update dnsmasq
sudo service sshd start # um i don't think this is needed, and we are about to reboot...
sudo reboot

You should now be far enough along to ssh to the machine, reclaim the keyboard, and continue with Linux barebones quickstart.