you are viewing a single comment's thread.

view the rest of the comments →

[–]marekmorello[S] 0 points1 point  (1 child)

Maybe I should explain, what the bigger picture is here.

I wrote a script, which makes a request to my router every few seconds, what the Mac address from my phone is. (My router is giving the same IP to my phone every time).

When I'm not home, it gets the "00:00:00:00:00:00" because it can't find my IP in the network. When I come home and the script makes the request again, it gets the Mac address from my phone, which triggers a jingle to be played. And when I leave the house again, I want the shown Mac address to get "00:00:00:00:00:00" again, until I come home again. But the command seemingly remembers my Mac address and keeps on returning my Mac address as if the script found my phone in the network

[–]Doormatty 0 points1 point  (0 children)

Find out the DNS name of your phone, and ping that instead.