![]() |
2010-09-03
, 04:15
|
Posts: 203 |
Thanked: 14 times |
Joined on Feb 2010
@ California, United States
|
#1
|
![]() |
2010-09-03
, 04:29
|
Posts: 540 |
Thanked: 387 times |
Joined on May 2009
|
#2
|
$ sudo nano -w /etc/resolv.conf
$ sudo ping 4.2.2.2
$ sudo ping google.com
The Following User Says Thank You to linuxeventually For This Useful Post: | ||
![]() |
2010-09-03
, 04:36
|
Posts: 3 |
Thanked: 0 times |
Joined on Jun 2010
@ calgary
|
#3
|
![]() |
2010-09-03
, 05:34
|
Posts: 203 |
Thanked: 14 times |
Joined on Feb 2010
@ California, United States
|
#4
|
Check /etc/resolv.conf
Sounds like a DNS problem.Code:$ sudo nano -w /etc/resolv.conf
Can you:
Code:$ sudo ping 4.2.2.2If the first works but not the second then you need to manually edit /etc/resolv.conf and add the line nameserver 8.8.8.8 (or whichever DomainNameServer you want. you may have to add in your router's IP such as 192.168.1.1 instead) While two (from the same DNS) are recommended go with just one to see if it works.Code:$ sudo ping google.com
Please remember this file is generated/overridden by the network manager occasionally so you may have to edit it frequently.
If the first command ping 4.2.2.2 doesn't work then the problem is your connection to the router (or the router's connection to the internet)
![]() |
2010-09-03
, 15:44
|
Posts: 992 |
Thanked: 738 times |
Joined on Jun 2010
@ Low Earth Orbit
|
#5
|
![]() |
2010-09-03
, 18:18
|
Posts: 203 |
Thanked: 14 times |
Joined on Feb 2010
@ California, United States
|
#6
|
![]() |
2010-09-04
, 07:25
|
Posts: 992 |
Thanked: 738 times |
Joined on Jun 2010
@ Low Earth Orbit
|
#7
|
root
whoami
ping 8.8.8.8
ping www.ibm.com
cat /var/run/resolv.conf.wlan0
passwd