You are not logged in.

#1 2015-11-29 14:48:20

jp.garibotti
Member
Registered: 2014-02-09
Posts: 15

[SOLVED] Connected to wifi but can't access the internet

Hello, I'm having a weird issue. I'm pretty new to Arch, but I've managed to get an Arch USB installation to work on the machine before, and I wanted to install it directly on the SSD now.

I just finished installing Arch from the live USB, following the Beginner's Guide, and everything went smoothly. I used wifi-menu to set up the wireless connection, it worked fine, and got the base system set up.

Once I rebooted and removed the live USB, however, I could no longer access the internet. The wireless profile was there and seemed to work (just in case, I removed it and used wifi-menu again to recreate it). I can get an ip address and even ping myself and other computers in the network. However, when trying to ping the router, I get no response, it just waits forever (other computers in the network can ping the router just fine, and also my arch install). If I try to ping a non-existent ip I get back "Destination Host Unreachable". If I try to ping google.com I get back "ping: unknown host google.com".

I'm not sure how to continue. I would appreciate any help smile

Last edited by jp.garibotti (2015-12-03 02:11:05)

Offline

#2 2015-11-29 16:22:51

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SOLVED] Connected to wifi but can't access the internet

IPv4 or IPv6?
What is the address of the router?
What are the output of:
ip addr
ip route
cat etc/resolv.conf


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2015-11-29 17:03:36

jp.garibotti
Member
Registered: 2014-02-09
Posts: 15

Re: [SOLVED] Connected to wifi but can't access the internet

IPv4 or IPv6: Not sure? Seems to have both types of addresses.
Router address: 192.168.0.1

[jope@firefly ~]$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether c4:85:08:2c:54:ac brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.102/24 brd 192.168.0.255 scope global wlp2s0
       valid_lft forever preferred_lft forever
    inet6 2002:b5a9:bbc9:0:c685:8ff:fe2c:54ac/64 scope global mngtmpaddr dynamic 
       valid_lft 26sec preferred_lft 16sec
    inet6 fe80::c685:8ff:fe2c:54ac/64 scope link 
       valid_lft forever preferred_lft forever



[jope@firefly ~]$ ip route
default via 192.168.0.1 dev wlp2s0  metric 302 
192.168.0.0/24 dev wlp2s0  proto kernel  scope link  src 192.168.0.102  metric 302 



[jope@firefly ~]$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether c4:85:08:2c:54:ac brd ff:ff:ff:ff:ff:ff



[jope@firefly ~]$ cat /etc/resolv.conf
# Generated by resolvconf
domain fibertel.com.ar
nameserver 200.49.130.44
nameserver 200.42.4.207
nameserver 192.168.0.1

My wireless card is the wlp2s0 interface.

Last edited by jp.garibotti (2015-11-29 17:04:38)

Offline

#4 2015-11-29 17:16:41

wtx
Member
Registered: 2014-06-09
Posts: 92

Re: [SOLVED] Connected to wifi but can't access the internet

What is the output of "arp -n" when you are pinging router?

Do you use iptables/arptables?
Send us the output of:
arptables -L -n
iptables -L -n

Offline

#5 2015-11-29 18:09:02

jp.garibotti
Member
Registered: 2014-02-09
Posts: 15

Re: [SOLVED] Connected to wifi but can't access the internet

arp and arptables return "command not found". As for iptables:

[jope@firefly ~]$ sudo iptables -L -n
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

Offline

#6 2015-11-29 22:34:23

LArchimonde
Member
Registered: 2014-09-23
Posts: 5

Re: [SOLVED] Connected to wifi but can't access the internet

Hi, if I undrestand you correctly you have a wifi connection?
If so try changing your DNS to Google's or some other alternative. Go to resolv.conf and type this

# Google IPv4 nameservers
nameserver 8.8.8.8
nameserver 8.8.4.4
# Google IPv6 nameservers
nameserver 2001:4860:4860::8888
nameserver 2001:4860:4860::8844 

And before you do this, delete that line after "Home".

Hope it helps smile

Last edited by LArchimonde (2015-11-29 22:34:40)

Offline

#7 2015-11-29 23:03:26

jp.garibotti
Member
Registered: 2014-02-09
Posts: 15

Re: [SOLVED] Connected to wifi but can't access the internet

Did that, but no change. I don't think the issue is the DNS. For some reason I can ping other computers on the network (and respond to pings from them), but pinging the gateway (192.168.0.1) or anything outside (say, 8.8.8.8) results in 100% packet loss. Other computers in the network can ping those without issue.

Offline

#8 2015-11-29 23:21:45

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: [SOLVED] Connected to wifi but can't access the internet

as an alternative to arp tables what is the output of

ip neigh

Offline

#9 2015-11-29 23:40:02

jp.garibotti
Member
Registered: 2014-02-09
Posts: 15

Re: [SOLVED] Connected to wifi but can't access the internet

The output, after pinging the router and another computer, is:

[jope@firefly ~]$ ip neigh
192.168.0.101 dev wlp2s0 lladdr 74:f0:6d:7c:6a:89 STALE
192.168.0.1 dev wlp2s0 lladdr 58:6d:8f:03:e2:fe REACHABLE
fe80::5a6d:8fff:fe03:e2fe dev wlp2s0 lladdr 58:6d:8f:03:e2:fe router STALE

192.168.0.101 is another computer on the network. 192.168.0.1 is the router.

Offline

#10 2015-11-29 23:40:33

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SOLVED] Connected to wifi but can't access the internet

This is weird. 
Is this a WEP network?  If it is, is your key off by a single digit?  If it is open or WPA, disregard.

Is it your router?  Can you get to its logs?   Can you reboot it?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#11 2015-11-30 00:28:52

jp.garibotti
Member
Registered: 2014-02-09
Posts: 15

Re: [SOLVED] Connected to wifi but can't access the internet

It's a WPA network.

Router doesn't have logs, although the laptop shows up in the DHCP table with the correct ip (192.168.0.102) and hostname (firefly). Router can't ping the laptop, though (the management software has a couple tools, ping and traceroute). It pings the other computers just fine. Rebooted the router but there's no change.

Last edited by jp.garibotti (2015-11-30 00:29:23)

Offline

#12 2015-12-03 02:10:00

jp.garibotti
Member
Registered: 2014-02-09
Posts: 15

Re: [SOLVED] Connected to wifi but can't access the internet

Since I couldn't figure out what was wrong, I re-installed the system. Now internet works. I have no idea what I did differently this time around.

Offline

Board footer

Powered by FluxBB