BTW, to fix the hosts error (your keyboard doesn't work in Kate) , try this:
awk 'NR==2{$0="localhost 127.0.1.1 ReelBox\n"$0}1' /etc/hosts > newhosts
I'd copy and paste into the terminal window to avoid typos. This should make you a new hosts file at the present location called newhosts that has the 127.0.1.1 line in it. Simply do cat newhosts to see if it worked correctly and you should see this:
Assuming you do and it looks correct, then do this:
sudo mv /etc/hosts /etc/hosts.old; sudo mv newhosts /etc/hosts
and you should now have the old file as /etc/hosts.old (just in case) and a new correct /etc/hosts file.
You should n't have to reboot - it should take effect immediately.
awk 'NR==2{$0="localhost 127.0.1.1 ReelBox\n"$0}1' /etc/hosts > newhosts
I'd copy and paste into the terminal window to avoid typos. This should make you a new hosts file at the present location called newhosts that has the 127.0.1.1 line in it. Simply do cat newhosts to see if it worked correctly and you should see this:
Code:
127.0.0.1 localhost 127.0.1.1 ReelBox # 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 ff02::3 ip6-allhosts 192.168.99.129 hdext
sudo mv /etc/hosts /etc/hosts.old; sudo mv newhosts /etc/hosts
and you should now have the old file as /etc/hosts.old (just in case) and a new correct /etc/hosts file.
You should n't have to reboot - it should take effect immediately.
Comment