<div dir="ltr"><div>I have this rare problem that is extremely annoying when it happens.</div><div>Basically, I have two routers. R1 is the main home router, connected <br></div><div>to the internet, managing DHCP, and so on. The other router, R2, has <br></div><div>no DHCP, and is simply for range, as well as a couple of RJ45 devices,</div><div>due to proximity to those devices.</div><div><br></div><div>Some WiFi devices that report temperature, humidity, ...etc. report</div><div>to R2 due to better range. A Raspberry Pi is connected to R2 directly</div><div>using RJ45. The Pi and the WiFi devices have static IPs in R1 served</div><div>using DHCP.</div><div><br></div><div>On rare occasions, the WiFi on R2 misbehaves. I can still ssh into the</div><div>Pi, but the WiFi devices have trouble reporting to the Pi. The solution</div><div>is to reboot the routers. Doing so makes WiFi more stable, but then</div><div>the Pi is inaccessible over ssh or HTTP. I have to cycle power to the <br></div><div>Pi, and I hate doing that since it may corrupt the file system on the</div><div>SD card. <br></div><div><br></div><div>Even when reboot both routers and cycle power, the Pi is not accessible</div><div>still. Pings fail, let alone ssh. Don't know why. <br></div><div><br></div><div>The only clue I can find is that when I use arp (from R1), the Flags <br></div><div>column for the Pi is 0x0 while it is 0x02 for all other devices. <br></div><div><br></div><div>I tried to delete the arp entry for the Pi, using this, from a Linux <br></div><div>machine:</div><div><br></div>arp -d 192.168.0.x<br><div>arp -s 192.168.0.x b8:27:xx</div><div><br></div><div>After that, I see this:</div><div><br></div><div>Address HWtype  HWaddress           Flags Mask            Iface<br>zz           ether       b8:27:xx                CM                    eth0</div><div><br></div><div>Again, the Flags column is CM, while it is C on other devices. <br></div><div><br></div><div>How can go about troubleshooting this extremely annoying problem?<br></div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Khalid M. Baheyeldin<br></div></div></div></div></div>