1827819 Members
1635 Online
109969 Solutions
New Discussion

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 2
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?