crontab ping

Moderator: leecollings

Post Reply
tiga
Posts: 159
Joined: Friday 27 May 2016 20:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: nederland
Contact:

crontab ping

Post by tiga »

i have a problem....
i am using crontab to ping devices if they are online.
i have succes with many devices but 1 Phone i cannot ping.
i gave it a static ip 192.168.0.200
but it never gets pinged.
even when i try to ping it with my pc the request is timed out.
i am positive the Phone is online and have the correct ip adres
how is this possible and (how) can i fix it?????
SweetPants

Re: crontab ping

Post by SweetPants »

Hmm, tend to think there must be something of a Firewall app on the iPhone, but as I don't use one an iPhone myself i'm not sure
tiga
Posts: 159
Joined: Friday 27 May 2016 20:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: nederland
Contact:

Re: crontab ping

Post by tiga »

No it is not an iPhone.it is a Samsung.
SweetPants

Re: crontab ping

Post by SweetPants »

Whatever, something is blocking the ICMP request to your (i)Phone. I have iPhone's, iPad's, Samsung Note, HTC's and nexus tables in the house all pingable from the network. Be aware, some devices stop responding to ping when idle
Derik
Posts: 1605
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: crontab ping

Post by Derik »

do you use the internal ping option???
Or the script version??
Do you see the phone in your router?
Perhaps you have the data support on in your phone and is the wifi bad, so the phone is use your data from your provider.
Phone visible in the router, should be pinged..
Not visible in the router, no ping..
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
tiga
Posts: 159
Joined: Friday 27 May 2016 20:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: nederland
Contact:

Re: crontab ping

Post by tiga »

Yes the phone has No data ;-). And i can see it in My network, it is connected to My accespoint.i do not use the Built in ping function but i use a script in combination with crontab( http://domoticz.com/wiki/Presence_detection )(tip from user JVDZ thanks by the way)
And the phone is from My mother in Law,and she is not so High tec haha,so i dont think she has a fancy ping blocker installed on the phone :lol:
Derik
Posts: 1605
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: crontab ping

Post by Derik »

tiga wrote:Yes the phone has No data ;-). And i can see it in My network, it is connected to My accespoint.i do not use the Built in ping function but i use a script in combination with crontab( http://domoticz.com/wiki/Presence_detection )(tip from user JVDZ thanks by the way)
And the phone is from My mother in Law,and she is not so High tec haha,so i dont think she has a fancy ping blocker installed on the phone :lol:
ap or router???
with ac can the router not see the phone..
And domoticz connected with lan on your router....
Phone with wifi from your ac...
Clone your ac or remove the phone from ac and connect with router
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
SweetPants

Re: crontab ping

Post by SweetPants »

tiga wrote:Yes the phone has No data ;-). And i can see it in My network, it is connected to My accespoint.
That does not necessarily mean that IP works. I can connect a phone to Wifi without any protocol enabled.
tiga wrote:so i dont think she has a fancy ping blocker installed on the phone :lol:
Don't assume, check to be sure, non-technical people often have app's installed they don't even know what it is.
four2six
Posts: 53
Joined: Wednesday 24 February 2016 9:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: NRW, Germany
Contact:

Re: crontab ping

Post by four2six »

do you have Wifi Analyzer installed on your mobile? Any other similar app?
tiga
Posts: 159
Joined: Friday 27 May 2016 20:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: nederland
Contact:

Re: crontab ping

Post by tiga »

I Have My wifi disabled from My router.all wifi is from accespoint.i Have pinged several devices with succes that are on My accespoint so that is not the problem.

Why would i need wifi analyzer??i Have wifi guard on My laptop.i can see All the connected devices with ip and Mac adres.
tiga
Posts: 159
Joined: Friday 27 May 2016 20:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: nederland
Contact:

Re: crontab ping

Post by tiga »

Hmmm....i think i Have found the problem.my accespoint Have 2 Networks.a normale one and a guest network witch Have No acces to My network only internet.i Have tryed it with My one phone and then it cannot be found.could that be the problem??
SweetPants

Re: crontab ping

Post by SweetPants »

tiga wrote:Hmmm....i think i Have found the problem.my accespoint Have 2 Networks.a normale one and a guest network witch Have No acces to My network only internet.i Have tryed it with My one phone and then it cannot be found.could that be the problem??
Well you just answered your own question.
Derik
Posts: 1605
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: crontab ping

Post by Derik »

tiga wrote:Hmmm....i think i Have found the problem.my accespoint Have 2 Networks.a normale one and a guest network witch Have No acces to My network only internet.i Have tryed it with My one phone and then it cannot be found.could that be the problem??
Yes read my post.....
Or you need a ap that clone your router. [ like fritzbox can, i use a AVM FRITZ! 1750E - Range Extender ] works perfect...
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest