Excellent step-by-step!  +100 upvotes! ;-)

The only thing I’d add is that, if you can get an external IP address (e.g. 
204.110.11.131 (inficad.com - don’t ask) or 216.58.194.206 (one possible value 
for google.com) and then do a traceroute -n to that address, you can see 
(without needing DNS) if the packets get out, and how far they get if they 
don’t get all the way out….

So, “traceroute -n 216.58.194.206”

Unfortunately, traceroute is not always installed by default - GO DO THAT 
NOW!!! ;-) Since when you need it, you won’t be able to get it!

From: PLUG-discuss [mailto:[email protected]] On Behalf 
Of Michael Butash
Sent: Tuesday, January 03, 2017 12:34 PM
To: Main PLUG discussion list
Subject: Re: Offline

Just work your way up the network osi model in troubleshooting.  Everyone 
should learn some networking these days, one way or another (speaking as a bofh 
network guy that deals with non-networking app and developers folk commonly - 
don't be part of the problem).

####
## Layer 1/2, got link? note "state"

> ip link

## If no link,  check cable plugged in for blinky lights

####
## Layer 3, got ip?

> ip addr

## If no ip, check dhcp on the network
## Optional: Set static ip for temporary troubleshooting, insert proper subnets 
here:

ip addr add 192.168.1.100 255.255.255.0 dev eth0
ip route add default 192.168.1.1

####
## Layer 3, verify arp to gateway

ip nei | grep `ip route | grep default | awk '{ print $3 }'`

## If no arp for gateway, check router/switch network

####
## Layer 3, ping the gateway (whatever that is for you)

ping `ip route | grep default | awk '{ print $3 }'`

## If no response, check prior steps again

####
## Layer 3/4, verify resolv.conf dns resolution and life beyond default route

ping google.com<http://google.com>

## If no dns life outside router, check the router has connectivity to the 
internet

####
## pull up a browser to google.com<http://google.com> to test layer 4-7 stuff

On Tue, Jan 3, 2017 at 9:10 AM, Carruth, Rusty 
<[email protected]<mailto:[email protected]>> wrote:
I’ll guess that DHCP server on your router was dead.

But to know for sure - are all your systems using DHCP, or are some using 
static?

IF your windows side is set for static, and the Linux side is DHCP, then this 
would be expected - windows works, linux doesn’t.

But I’m just guessing (however, I had a router once that would lose its DHCP 
server on a semi-regular basis.  I considered putting it on some sort of 
auto-reboot device (power cycle it once a day) - finally just replaced the 
stupid thing ;-)

Rusty

From: PLUG-discuss 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Michael
Sent: Monday, January 02, 2017 1:42 PM
To: PLUG
Subject: Re: Offline

I'm back. I just had to reset the router..... but why would that work if 
windows still worked?

On Mon, Jan 2, 2017 at 11:31 AM, Michael 
<[email protected]<mailto:[email protected]>> wrote:
The TV server, also linux, is still online. It is part of the same network.

On Jan 2, 2017 11:22 AM, "Michael" <[email protected]<mailto:[email protected]>> 
wrote:
I am now offline in my Linux box. Windows is up and happy and the modem is up 
and happy too. Heck, the network connection shows I'm connected too. I don't 
know what to do. What led up to this is I was trying something with th faulty 
SD card. .. grated said to run, chkdsk /f , twice so I boot into Windows to do 
that ,couldn't do it though. Then when I boot back to Linux to reformat it 
there was no connectivity.



--
:-)~MIKE~(-:

---------------------------------------------------
PLUG-discuss mailing list - 
[email protected]<mailto:[email protected]>
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

Reply via email to