cancel
Showing results for 
Search instead for 
Did you mean: 

network not working

Nagashayana S.H.
Occasional Contributor

network not working

1)ip is pinging, localhost is pinging,default gateway is pinging, google not working in linux os. what commands we can use to find out the error?
2 REPLIES
Stuart Browne
Honored Contributor

Re: network not working

What's your DNS server set to?

To check, look in '/etc/resolv.conf'. There should be a line saying 'nameserver '.
One long-haired git at your service...
Ivan Ferreira
Honored Contributor

Re: network not working

Check also your firewall:

service iptables stop

And SELinux status if you are using Red Hat/Fedora:

getenforce
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?