For the past few hours I have been following to official Ubuntu guide to setup an Ubuntu server on my Raspberry Pi 3B+ however whenever I boot up the server and sign in it doesn’t connect to the internet, I’ve follows the official guide to fix the sudo nano /etc/netplan/50-cloud-init.yaml
file and reboot but nothing will work.
Edit:
Output of lsb_release -d:
Description: Ubuntu 20.04.5 LTS
Output of ip a:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether b8:27:eb:ee:90:91 brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_code1 state DOWN group default qlen 1000
link/ether b8:27:eb:bb:c5:c4 brd ff:ff:ff:ff:ff:ff
Output of cat /etc/netplan/50-cloud-init.yaml:
#This file is generated from information provided by the datasource. Changes
#to it will not persist across an instance reboot. To disable cloud-init’s
#network configuration capabilities, write a file
#/etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
#network: {config: disabled}
network:
version: 2
wifis:
renderer: networkd
wlan0:
access-points:
Mywifinetwork
password: mypassword
dhcp4: true
optional: true