Re: Ubuntu 16.04 - Where is IP4.ADDRESS set and/or stored?
Any thoughts? Should dhcp be true?
Not if you want a static address. See my example above.
What, exactly, is http://192.168.80.170/ and why do you want to reach it?
I doin't think you shoud eliminate the 127.0.1.1 line in /etc/hosts. For comparison, my hosts file reads, in part:
Code:
127.0.0.1 localhost
127.0.1.1 T440p
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Where T440p is the name of my computer and agrees with:This suggests that the hostname is ubuntu07. I believe that should be reflected in hosts opposite 127.0.1.1.
Please make some corrections, test and I'll check in tomorrow.
Last edited by chili555; July 23rd, 2018 at 03:23 AM.
"Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.
Bookmarks