ping working but browser does not

Issues related to configuring your network
Post Reply
Ice-T
Posts: 5
Joined: 2018/09/10 08:10:02

ping working but browser does not

Post by Ice-T » 2018/09/11 06:19:37

Hello all,

I am new to linux and I`ve hit the first wall :lol:

I have configured the wifi settings to connect to my router(TPLink IP 192.168.0.1) and I can ping the DNS, the router and also google but the browser does not work :?

I have attached all the settings to the post. Please give me some ideas :oops:

Thanks in advance!
Attachments
IMG_3384_2.JPG
IMG_3384_2.JPG (233.71 KiB) Viewed 4733 times

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: ping working but browser does not

Post by avij » 2018/09/11 06:30:42

What do you have in /etc/resolv.conf ? What is the error message you get with your browser?

Ice-T
Posts: 5
Joined: 2018/09/10 08:10:02

Re: ping working but browser does not

Post by Ice-T » 2018/09/11 07:22:16

Hi avij,

in /etc/resolv.conf I added:
nameserver 8.8.8.8
nameserver 8.8.4.4

that`s it.

In mozilla browser I get request timeout(like this: https://i.ytimg.com/vi/gO2nNxHUR_0/hqdefault.jpg)

Regards

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: ping working but browser does not

Post by TrevorH » 2018/09/11 09:09:45

If you are running an http server on this machine and are trying to connect to it remotely, did you open the port in your firewalld/iptables setup?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Ice-T
Posts: 5
Joined: 2018/09/10 08:10:02

Re: ping working but browser does not

Post by Ice-T » 2018/09/11 10:52:34

Heya,

I have installed Centos7 from Everything ISO and I have not modified any other files, like a http server. I log in normally from the laptop, not remote.

Could you please tell me how to verify if the iptables is correct ?

Regards

reallyrex
Posts: 10
Joined: 2018/05/03 15:33:31

Re: ping working but browser does not

Post by reallyrex » 2018/09/11 11:14:30

so you're trying to reach the internet via your browser on a CentOS machine? if thats the case i dont think you need to worry about iptables/http server (use firewalld instead, anyways)

It sounds like a DNS issue off the bat, using nslookup (package is 'bind-utils' if the command is not installed) run this command:

Code: Select all

[rxlx@surx ~]$ nslookup google.com

(example output)
Server:         8.8.8.8
Address:        8.8.8.8#53

Non-authoritative answer:
Name:   google.com
Address: 172.217.9.142
Name:   google.com
Address: 2607:f8b0:4003:c12::64
lets see what DNS server your box is really using. Also is your machine up to date?

if you're unsure:

Code: Select all

 yum upgrade 

Ice-T
Posts: 5
Joined: 2018/09/10 08:10:02

Re: ping working but browser does not

Post by Ice-T » 2018/09/11 13:02:59

Hello,

Thanks for the hint. I have attached the output.

I also just noticed that when I try to connect to the router with linux all the other devices loose connection to the internet :lol: :lol: :lol: (2 phones and 1 windows 10)

Regards
Attachments
test_1.JPG
test_1.JPG (22.67 KiB) Viewed 4678 times

Ice-T
Posts: 5
Joined: 2018/09/10 08:10:02

[SOLVED]Re: ping working but browser does not

Post by Ice-T » 2018/09/11 22:09:26

Hi again,

I managed to make wifi work in the end. It seems Broadcom wireless chips have a problem. My laptop has BCM4313 chip.

I downloaded the newest driver from http://www.broadcom.com/support/802.11 and tried also to use the following https://wiki.centos.org/HowTos/Laptops/ ... s/Broadcom and http://elrepo.org/tiki/wl-kmod

I am not sure what did the trick but after all this and a reboot it works well.

Regards

Post Reply