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: [220.127.116.11, 18.104.22.168]
And executed the command
dhclient etho but still I am not able to get an IP address, how can I solve this issue?