Step 1) 'ping 127.0.0.1'
Step 2) If ping returns then 'route'
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.100 * 255.255.255.0 U 2 0 0 wlan0
link-local * 255.255.0.0 U 1000 0 0 wlan0
default router 0.0.0.0 UG 0 0 0 wlan0
Step 3) 'ping 192.168.2.100'
step 4) If ping returns then 'ping 74.125.53.100' <-- google.com
Step 5) If ping returns then you have connectivity to the internet.
Step 6) 'ping google.com'
Step 7) If ping fails then 'cat /etc/resolve.conf'
# Generated by NetworkManager
nameserver 1.1.1.1
nameserver 2.2.2.2
Step 7) If command returns server(s) then 'dig google.com @<one of the ip address you found above>'
; <<>> DiG 9.5.1-P2 <<>> google.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55833
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 13, ADDITIONAL: 0
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 300 IN A 74.125.53.100
google.com. 300 IN A 74.125.67.100
google.com. 300 IN A 74.125.45.100
Step 8) If this fails find a new DNS server to use.
|