Raspberry Pi Ubuntu quickstart: Difference between revisions

From Bitpost wiki
No edit summary
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:
        ....
    # 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
  sudo service sshd start


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]].

Revision as of 22:30, 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 22.04 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

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