Raspberry Pi Ubuntu quickstart: Difference between revisions

From Bitpost wiki
(Created page with "Ubuntu on Pi is suggested for ROS. == Installation == * Install the [https://www.raspberrypi.com/software/ Pi Imager] * Run the Imager and select... OS > Other general-purp...")
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
== Installation ==
== Installation ==


* Install the [https://www.raspberrypi.com/software/ Pi Imager]
* Install the [https://www.raspberrypi.com/software/ Pi Imager] and run it
* Run the Imager and select...
sudo dpkg -i imager_1.7.2_amd64.deb
  OS > Other general-purpose > Ubuntu > Ubuntu Server 22.04 LTS 64-bit
sudo rpi-imager&
* Burn microSD and boot
* Pick Ubuntu server
* Connect directly to the Pi to pull initial info
  OS > Other general-purpose > Ubuntu > Ubuntu Server 20.04.4 LTS 64-bit
** Plug an ethernet and power cable into the Pi
* Burn microSD
** Temporarily plug melange's HDMI into the Pi
* Plug ethernet and keyboard into the Pi
** Log in as ubuntu/ubuntu
* Temporarily plug melange's HDMI into the Pi
** Start sshd
* Plug in the power cable and boot it up
  sudo service sshd start
* Log in as ubuntu/ubuntu and perform initial setup
** Make note of IP and MAC.
sudo nano /etc/netplan/50-cloud-init.yaml # and add your wifi info
  ip a
    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]].

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.