I was installing Java EE development kit which hangs at one particular steps. I think this problem is related to /etc/hosts file. I may not have configured /etc/hosts file correctly. I use network switch to share internet connection in more than one PC. For that I have setup IP address manually. My router has IP address 192.168.1.1 . My Antergos linux has IP Address which I have setup through NetworkManager applet is 192.168.1.2, NetMask 255.255.255.0 Gateway is 192.168.1.1 with DNS servers 22.214.171.124, 126.96.36.199 . This all I have setup through NetworkManager applet. My /etc/hosts file has following configuration.
\# \# /etc/hosts: static lookup table for host names \# \#<ip-address\> <hostname.domain.org\> <hostname\> 127.0.0.1 localhost.localdomain localhost ::1 localhost.localdomain localhost \# End of file
I think something is wrong here.
command gives following output
Do I need to add 192.168.1.2 IP address in /etc/hostname?