Unable to edit entries
bpinney opened this issue · 3 comments
Editing existing entries within the hosts file using the Hosts Preferences Pane is generating "validation" issues. IP addresses entered are receiving the error "Please enter a valid IP address", while hostnames entered are receiving the error "Please enter a valid hostname".
Both dialog boxes have the options Discard Changes and OK, and both options clear the ip or hostname fields.
The IP address I used was 192.168.1.1 and the hostnames I used were www.google.com and google.com.
Have you got installed any:
- Ui modifications (theme stuff or anything)
- vpn client
- virus scanner
- kernel extensions
What you are describing is very very strange and I've never seen it
So again I think you don't have permission to edit /etc/hosts and that causes the strange behavior. See #16
can you please try the following:
sudo chflags nouchg /private/etc/hosts
And then try to use the hosts prefPane again?