I use internet through 2 Wi-Fi connections. 1 is home-wifi and 2nd is PICT-wifi . There is at all no problem with PICT-wifi (which requires a PROXY).
But,some days ago ,I changed my home-wifi's SSID name to abcd-wifi. Then it would connect on manually configuring IP but doesn't provide internet (There was no problem in ISP). Now, couple of days back I changed my wifi's name to home-wifi again, because I thought error with it's new SSID. But , still , my laptop is getting connected to home-wifi and I can ping to the wifi-router but not to google(no proxy is required for this connection). Following is the error I get when I ping google.com.
ping: unknown host www.google.com
Also, it is implied that I cannot access web pages from firefox nor chrome(Note: I removed the previous proxy setting , that I use for PICT-wifi).
Now , how do I connect to internet through home-wifi?
[EDIT after finding a temporary solution]
When I switch from PICT-wifi(uses proxy) to home-wifi(no proxy) then the file
/etc/resolve.conf changes back to
then I have to manually edit this file to "nameserver 192.168.0.1" and then I can once again access net(this time for both PICT-wifi and home-wifi). Why is /etc/resolve.conf is changing back to incorrect values on switching between the Wifi. (note: it requires "nameserver 127.0.0.1" when on PICT-wifi). How to avoid changing of /etc/resolve.conf file to "127.0.0.1" for home-wifi?
Ask me any other details if you need. Thanks in advance.