Hi there.
I can't access Internet when my centos7 PC linking on a router,but other windows PC on this same router can.Whatever I use auto DHCP or configure the IP address manually.
In this condition,I can ping other PC on the router and I can configure the router on the centos PC,but I cannot access Internet(can't use google).
When the centos PC directly links to adsl modon by UTP,I can access Internet instead.
I'm really a new hand,and I've been confused a long time,can anybody help me there?Grateful!
I cannot access Internet with router
-
- Posts: 1522
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: I cannot access Internet with router
Experiment (DNS check):
From a terminal window
ping -c3 google.com
If it works, then skip the rest - your DNS is working and something else is amiss.if that bombed however, then
ping -c3 8.8.8.8
If that works, (but pinging a 'name' fails) then you have a DNS (name resolution) issue. Try using 8.8.8.8 and 8.8.8.4 as your DNS servers.in your network card config.
From a terminal window
ping -c3 google.com
If it works, then skip the rest - your DNS is working and something else is amiss.if that bombed however, then
ping -c3 8.8.8.8
If that works, (but pinging a 'name' fails) then you have a DNS (name resolution) issue. Try using 8.8.8.8 and 8.8.8.4 as your DNS servers.in your network card config.
Re: I cannot access Internet with router
thanks for all.
The problem has been solved.It's not centos's fault but my computer.I don't know where the prblem is,but when I restart the PC,and ues only one of the Ethernet port,the router does work so I can access Internet.
The problem has been solved.It's not centos's fault but my computer.I don't know where the prblem is,but when I restart the PC,and ues only one of the Ethernet port,the router does work so I can access Internet.