Page 1 of 1
ping working but browser does not
Posted: 2018/09/11 06:19:37
by Ice-T
Hello all,
I am new to linux and I`ve hit the first wall
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
Thanks in advance!
Re: ping working but browser does not
Posted: 2018/09/11 06:30:42
by avij
What do you have in /etc/resolv.conf ? What is the error message you get with your browser?
Re: ping working but browser does not
Posted: 2018/09/11 07:22:16
by Ice-T
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
Re: ping working but browser does not
Posted: 2018/09/11 09:09:45
by TrevorH
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?
Re: ping working but browser does not
Posted: 2018/09/11 10:52:34
by Ice-T
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
Re: ping working but browser does not
Posted: 2018/09/11 11:14:30
by reallyrex
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:
Re: ping working but browser does not
Posted: 2018/09/11 13:02:59
by Ice-T
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
(2 phones and 1 windows 10)
Regards
[SOLVED]Re: ping working but browser does not
Posted: 2018/09/11 22:09:26
by Ice-T
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