all, After using ifconfig on ubuntu18.04, can get "eno1, eno2" related information, but the IP and netmask are not displayed, but now I need this IP for remote connection operations. The following solutions are given online:
- First use
sudo dhclient eno1
to update the IP address - Then run
sudo ifconfig eno1
reboot
When I executesudo dhclient eno1
, the terminal is stuck for a long time without responding. I would like to ask how can I get my ubuntu IP. Looking forward to your answer~ return when run "ifconfig"