Jump to content

bluegaptek

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by bluegaptek

  1. You're pinging your router and getting host unreachable (same thing as timed out, means windows tried to send data to the ip but didn't get a reply within the time limit). Sounds like you need to disconnect then reconnect. I usually disable my adapter then re-enable it. I'm sure there's a UDF floating around on the forum somewhere for reconnecting to wifi or disable/enable your network adapter. Ok, now I get it, I use windows cmd or batch to reconnect the network adapter. Thank you for the code, really appreciate that.
  2. Hey thanks, this is what I need. But autoit ping return "Host is unreachable" while I don't have internet connection and windows ping show "request timed out" Since I need this to reconnect wifi (fyi: sometimes my wifi status connected but can't reach internet, but by reconnecting I'm able to reach internet again) Is there anyway around to accomplish this ?
  3. Local $iPing = Ping("192.168.22.1", "250") MsgBox($MB_SYSTEMMODAL, "", "The roundtrip-time took: " & $iPing & "ms.") How to get specific value of error ?
  4. I started with example script but can only get return value of 0 = failure. How to return value @error (e.g Host is offline)
  5. Hi, I'm noobs to autoit. Need simple script for ping loop, and if "request timed out" run specific application.
×
×
  • Create New...