What's new

Option to ping from 5Ghz to 2.4Ghz printer using router cron

amplatfus

Senior Member
Hi,

Because my HP older printer is entering in sleep mode, I created 2 cron jobs:
Code:
*/1 * * * * wget -q -O - http://172.16.0.241 >/dev/null 2>&1 #hpweb#
*/1 * * * * ping 172.16.0.241 -c 1 #hpping#
But now it seems that in the mornings, I still have ping but only from the ssh. The printer is on 2.4Ghz, all other clients are on 5Ghz. And the ping from 5Ghz is not working, even the ping from ssh is up.

So now I am trying to ping by mentioning the 5Ghz interface like this:
Code:
root@RT-AC88U:/tmp/home/root# ping -I eth2 172.16.0.241
PING 172.16.0.241 (172.16.0.241): 56 data bytes
--- 172.16.0.241 ping statistics ---
35 packets transmitted, 0 packets received, 100% packet loss
But I have no response. I tried also with eth1.
Could you please share some ideas?

Thank you so much,
amplatfus
 
Might try using the bridge interface instead

Code:
ping -c10 -w10 -I br0 172.16.0.241

and maybe substitute ping for arping
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top