Can't Connect to Internet

Asked by jatitinggi

Hi, needed some help, i can't connect to internet thru mozilla or thru webget or anything
I can ping my router but i can't ping any internet website or any domain name server
If connect thru windows, every thing is fine on that PC

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu firefox Edit question
Assignee:
No assignee Edit question
Solved by:
jatitinggi
Solved:
Last query:
Last reply:
Revision history for this message
Daniel Schwitzgebel (schwitzd) said :
#1

Modify the file /etc/resolv.conf

sudo gedit /etc/resolv.conf

And put the IP of your DNS Provider

for example

nameserver 10.2.2.1
nameserver 10.2.1.2

save exit

sudo chattr +i /etc/resolv.conf

Revision history for this message
jatitinggi (jeffrey-jatitinggi) said :
#2

Hi Daniel, thanks for the reply
Initially i tried with the ip to browse also doesn't works, the problem was the gateway was set wrongly, reset it and it works now, tq