Suddenly cannot access the network

Hi,

Today I changed my home router’s security setting from WPA to WPA2, and my openSUSE 11.4 Tumbleweed system’s network stopped working.

It is very strange, because it can connect to the wireless no problem and it gets ip address and everything, but I cannot access any websites.

I tried to revert the router setting back to WPA, but still the same.

Funny thing is I can actually open the router admin page.

Even I plugged the wired lan cable to my laptop, but still the same. It connects, but no internet.

Where should I look? My the other laptop with openSUSE 11.4 connects to the same router without any problem.

-Joon

On 05/26/2011 12:06 AM, joonpy wrote:
>
> Hi,
>
> Today I changed my home router’s security setting from WPA to WPA2, and
> my openSUSE 11.4 Tumbleweed system’s network stopped working.
>
> It is very strange, because it can connect to the wireless no problem
> and it gets ip address and everything, but I cannot access any websites.
>
>
> I tried to revert the router setting back to WPA, but still the same.
>
> Funny thing is I can actually open the router admin page.
>
> Even I plugged the wired lan cable to my laptop, but still the same. It
> connects, but no internet.
>
> Where should I look? My the other laptop with openSUSE 11.4 connects to
> the same router without any problem.

You broke either routing or DNS. It was probably coincidental to the change from
WPA to WPA2.

Try the following:


ping -c 5 <router_IP_address>
ping -c 5 8.8.8.8
ping -c 5 www.google.com

From what you describe, #1 should work. If #2 fails, then routing is borked and
you should use the command


sudo /sbin/route add default gw <router_IP_address>

If #2 works and #3 fails, then name serving is the problem. Use the command
“kdesu kwrite /etc/resolv.conf” and add the lines “nameserver 8.8.8.8” and
“nameserver 8.8.4.4”.

If all 3 pings work, then your description of the problem is wrong.

Thank you so much! I will try it later today and let you know!

-Joon

After I connected my laptop to my school network, it started connecting to my home router without any problem. I guess as you said when I changed the setting something got broke, and it fixed itself when it got connected to the school network.

Thank you!