I'm working on Rasberry Pi board with Ubuntu OS but it's not detecting the LAN connection and am not getting an IP address when I type
I've added below code to
version: 2 renderer: networkd ethernets: eth0: dhcp4: yes addresses: [192.168.0.1/24] gateway4: 192.168.0.1 nameservers: addresses: [22.214.171.124, 126.96.36.199]
And executed the command
dhclient etho but still I am not able to get an IP address, how can I solve this issue?