You are not logged in.

#1 2013-08-12 23:56:30

excel_
Member
Registered: 2013-08-12
Posts: 6

Ping on google returns no packets, but firefox connects to interet.

Whenever I run

 ping google.com 

I have a 100% packet loss, but I can run firefox and it connects to the internet just fine. I connect to the internet by

ip link set wlan0 up
wifi-menu
dhcpcd wlan0 

Is the way I connect to my network the problem?

Offline

#2 2013-08-13 00:10:46

Multimoon
Member
From: /usr/share/zoneinfo/US/Eastern
Registered: 2012-09-30
Posts: 170

Re: Ping on google returns no packets, but firefox connects to interet.

There is a old BSD saying - Don't fix it if it isnt broken. But seeing as this is a strange issue, can you load Google's website from Firefox? Any Proxies your using? Try www.google.com.


It always makes me laugh when people complain and rage over any distro's management ideal, when this is a linux community, and you could always make your own distro and experience the pains yourself.

Offline

#3 2013-08-13 00:39:37

excel_
Member
Registered: 2013-08-12
Posts: 6

Re: Ping on google returns no packets, but firefox connects to interet.

Yes, I can load any web page via firefox including the google homepage. I'm actually on the machine in question right now. I also tried

 systemctl restart dhcpcd 

but was met with

 Failed to issue method call: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. 

I tried

 ping -f google.com

but the error was that the minimal interval is 200ms, which is odd since I know the default interval is 1 sec. Also, no I'm not using any proxies

Last edited by excel_ (2013-08-13 00:43:42)

Offline

#4 2013-08-13 01:07:53

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: Ping on google returns no packets, but firefox connects to interet.

Are you running a firewall? If so, what's your config?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#5 2013-08-13 02:22:05

excel_
Member
Registered: 2013-08-12
Posts: 6

Re: Ping on google returns no packets, but firefox connects to interet.

None that I know of. I'm on my parents network with Comcast as their ISP. I'm pretty sure the router isnt configured with a firewall, but I can't check the router settings until I get the log in details until tomorrow.

Offline

#6 2013-08-13 02:30:27

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: Ping on google returns no packets, but firefox connects to interet.

But what about on your own machine? Are you using iptables?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#7 2013-08-13 02:38:26

excel_
Member
Registered: 2013-08-12
Posts: 6

Re: Ping on google returns no packets, but firefox connects to interet.

No, I have no firewalls on my machine.

Also, thanks for mentioning iptables, because I'm definitely going to read up on it and impliment it in the near future lol

Last edited by excel_ (2013-08-13 02:45:15)

Offline

#8 2013-08-13 02:51:30

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: Ping on google returns no packets, but firefox connects to interet.

Can you ping other sites?

Can you ping your router?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#9 2013-08-13 02:53:05

excel_
Member
Registered: 2013-08-12
Posts: 6

Re: Ping on google returns no packets, but firefox connects to interet.

I can ping my router, but I cannot ping any website.

Offline

#10 2013-08-13 02:53:17

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Ping on google returns no packets, but firefox connects to interet.

I sure hope there is a firewall on the router...

Offline

#11 2013-08-13 03:10:02

excel_
Member
Registered: 2013-08-12
Posts: 6

Re: Ping on google returns no packets, but firefox connects to interet.

Well now Im reading the iptables wiki and configuring that. Thanks again for mentioning it or else I probably wouldn't have thought about it.

Im now having a problem with systemctl as it is unresponsive no matter what serive I try to enable, start, stop or retstart. I will create a new thread for the systemctl problem

EDIT: I'm a fuck tard. Of course I kept forgetting to sudo. And now I have a firewall built according to this wiki.

Last edited by excel_ (2013-08-13 04:33:23)

Offline

Board footer

Powered by FluxBB