Jump to content

Recommended Posts

Posted

Previously I just edited /etc/network/interfaces (or added file to interfaces.d), but Ubuntu 18.04 uses Netplan now. The old way worked by editing the SD card, so you never had to login into the serial console. I'm not sure if there's a way to do this with Netplan, but this is what I did to get wifi working:

  • Login via serial console or plug in Ethernet (I used the Duo mini shield which has Ethernet port)
  • sudo nano cat /etc/netplan/armbian-default.yaml
  • network:
      version: 2
      renderer: NetworkManager
      wifis:
              wlan0:
                      dhcp4: no
                      addresses: [192.168.1.69/24]
                      gateway4: 192.168.1.1
                      nameservers:
                              addresses: [192.168.1.1,8.8.8.8]
                      access-points:
                              yourssid:
                                      password: yourpassword
  • sudo netplan generate

  • sudo netplan apply

  • ip a

Make sure to modify the addresses, gateway4, nameservers, access-points to fit your needs.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines