You are not logged in.

#1 2011-12-23 10:59:47

darnir
Member
Registered: 2011-12-21
Posts: 47

[Solved]Cannot connect to internet

I recently installed Arch on my machine. I use internet via the wireless router at home. Since I use WPA authentication, I set up the wpa_supplicant.conf file as needed. and ran the wpa_supplicant command as described on the wiki, and then ran dhcpcd.
I was able to connect in this fashion for about 4 days. Since yesterday though, every time I try to connect, it shows a successful connection, but i cannot ping to any site. All DNS lookups fail.
running ip addr shows that the state is set to up, and shows a internal IP and subnet as is expected. But I cannot access the internet. Can someone please help me troubleshoot this problem?

Last edited by darnir (2011-12-25 19:59:57)

Offline

#2 2011-12-23 11:54:21

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: [Solved]Cannot connect to internet

Please have a look at ip route, if your gateway is there and also into /etc/resolv.conf if your dns servers are there after the dhcpcd command.

Offline

#3 2011-12-23 12:32:29

darnir
Member
Registered: 2011-12-21
Posts: 47

Re: [Solved]Cannot connect to internet

Yes, the result of ip route has my gateway in it.
it states:
default via 192.168.1.1 dev wlan0  metric 303

Also, the /etc/resolv.conf has the dns servers of my ISP after I run dhcpcd.
And since another machine with exact same settings is able to access the internet, I do not think there is an issue with the DNS servers.

Offline

#4 2011-12-23 13:28:17

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: [Solved]Cannot connect to internet

Please post the full output of

ip route

It should output a second line there. If not, that is probably the problem.
Edit: Since you seem to have a second working machine, you maybe can also compare the output yourself and post the differences you see.

Last edited by Strike0 (2011-12-23 13:31:15)

Offline

#5 2011-12-23 16:14:19

priapism
Member
Registered: 2011-12-17
Posts: 13

Re: [Solved]Cannot connect to internet

Did you upgrade to kernel 3.1.5? I have an intel 5100 agn wireless using wpa2, and I had to downgrade the kernel with that update because of the issue posted here:

https://bbs.archlinux.org/viewtopic.php?id=131906

Maybe this is what happened, since internet worked earlier for you? Without knowing your hardware, this might not be helpful, but its all I got smile

Offline

#6 2011-12-24 16:57:58

darnir
Member
Registered: 2011-12-21
Posts: 47

Re: [Solved]Cannot connect to internet

@Strike0: Thanks for your help. But my second machine is a Windows Installation. The complete output of my ip route is:

default via 192.168.1.1 dev wlan0  metric 303 
192.168.1.0/24 dev wlan0  proto kernel  scope link  src 192.168.1.3  metric 303 

@priapism: Thanks for the heads up. I guess you have located my problem exactly. I do have a Intel AGN 5100 wireless card, and I DID upgrade my kernel to 3.1.5. Guess I'll just downgrade it and try again.

Offline

#7 2011-12-25 19:59:29

darnir
Member
Registered: 2011-12-21
Posts: 47

Re: [Solved]Cannot connect to internet

I downgraded my kernel, and my wireless is working again.

Offline

Board footer

Powered by FluxBB