Tuesday, January 26, 2010

Unable to access webpage when connected with Huawei E220 wireless modemn

The latest ubuntu distro was automatically detected my Huawei E220 wireless modemn and I managed to connect to the internet. However, it was so strange as I was able to get online on Skype but cant access webpage. Fortunately, someone was online and helped me to fix this. Initially I thought it was because of the proxy server setting on Firefox but it turned out that was not the reason. Ping google.com but failed then the problem was because of the DNS server setting. So what we did:

1. edit /etc/resolv.conf file
the file was read only therefore I needed to change the file mode to write first
chmod a+rw /etc/resolv.conf

change the name server
8.8.8.8
8.8.4.4

*this is google server













2. Done

Million thanks to Mr. Coffee!!!

1 comment:

  1. unfortunately I had to do this each time I logged in. Apparently the resolve.conf are generated automatically when we log in. As a result, I solved the problem using network manager and changed the DNS server setting.

    ReplyDelete