0

The bottom of the network setup page of the "How to install Ubuntu Server on your Raspberry Pi" tutorial says,

Note: During the first boot, your Raspberry Pi will try to connect to this network. It will fail the first time around. Simply reboot sudo reboot and it will work.

Why does it fail the first time? On the first boot is also when cloud-init runs, and if it cannot connect to the network, many cloud-init stages (like installing packages) will fail.

Instead of creating network-config on the boot partition, is there another file I could create that would properly configure the network on first boot?

rgov
  • 409

1 Answers1

0

Looks like you could try a mount of the sd card then edit of the files needed to see if it will work on first boot as described in link below. Or simplely plug in the network cable if it has the port and have it work for certain for that part of its setup, then switch to wireless after it is setup and configured for it.

How to configure wpa_supplicant in Ubuntu server 20.04