I'm running a headless server on ODROID-C1 with Ubuntu 18.04. I connected to Wifi with wpa_supplicant and iwconfig
shows the correct SSID association, but on startup it does not work - ping google.com
returns Temporary failure in name resolution
, and ping 192.168.1.1
(the router IP) returns connect: Network is unreachable
.
To get the internet to work, I have to run dhclient -4
to fix it, and after a while it breaks again?
This happens with Ethernet and Wifi connections.
What is going wrong? What should I do to fix it permanently? (I don't want to have to run this command blind every time it is started)
Any help is appreciated.
cat /etc/netplan/*.yaml
Welcome to Ask Ubuntu. – chili555 Aug 05 '20 at 21:45cat /etc/netplan/*.yaml
returnsNo such file or directory
, it doesn't exist for some reason – Liftyee Aug 08 '20 at 13:58ls /etc/netplan
and also:sudo dpkg -s netplan.io | grep Status
– chili555 Aug 08 '20 at 14:47