> This happened to me on 130 and later.
> 
> Sometimes I would lose network connectivity and the
> only solution is to do
> cp /etc/nsswitch.dns /etc/nsswitch.conf 
> 
> This always happens right after booting system.
> 
> This happens when I'm using DHCP and when I'm using
> fixed IP address.  Also when I copy nsswitch.dns, the
> system freezes for a second every 3-4 seconds until I
> restart it. After restart everything is fine.
> 
> I don't know what is causing this issue.
> 
> Does anyone have any idea?

The nsswitch.conf file is related to name lookups, not connectivity.  When you 
"lose connectivity", what is really happening?  Do the following (in order 
since one relies on the previous one working):

* Check "ifconfig -a" to see if your NIC is functioning and it has an IP 
address.

* Use "ping 127.0.0.1" and "ping <your NIC's IP address> to make sure 
rudimentary things are working.  If all goes well, try "ping 209.131.36.159" 
(Yahoo.com) to see if your gateway is set up correctly.

* Use "nslookup yahoo.com".  It should return a valid ip address for yahoo.com. 
 If not, look at your /etc/resolv.conf file to see if it is correct.

Everyone has their favorite method for tracking down issues like this, but I've 
had good luck with this one.  My guess is that the latter is the most likely 
since there is a long delay when you copy the file.

Gary
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to