Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28

Thread: Online indicator help...

  1. #11
    Maximum Bitrate
    Join Date
    Oct 2003
    Location
    Copenhagen, Denmark
    Posts
    747
    Sure, let me find it and make some small doc for it as well, i had it using some cmd line parameters for interval and address to ping and stuff that i probably should document.
    Transflective Lilliput 8", LV-677DC Core Duo 1,83Ghz, , Mpegbox uSDC20D, Shuttle Express, HQCT, PG XS6600 http://carpc.boyakasha.dk

  2. #12
    Maximum Bitrate
    Join Date
    Oct 2003
    Location
    Copenhagen, Denmark
    Posts
    747
    Found it on my development pc at home,
    Download : http://www.boyakasha.dk/inetup.exe
    here is a "short" explanation :

    The inetup.exe utility is meant to check reachability of an ip address by using ICMP Echo/Echo Reply (PING), and on that basis create a file or delete it depending on whether or not the address responds to ping. If started with no cmd line parameters the program will just start without doing anything, you can then use the input boxes for setting it up. However you can use parameters to specify the ip address to ping, the interval at which it should ping, and what path/file should be created or deleted and if the program should start enabled or disabled.

    Params :

    inetup.exe <IP> <interval> <state> <file>

    IP : Address you want to check (ex.193.88.44.42)
    Interval : how often should it ping, in milliseconds (ex.3000)
    State : Should the program start pinging upon execute (ex.True)
    File : the path and or filename that should be created/deleted (ex.c:\connected.txt)

    Params must all be used if any of them are used at all in the order stated, and the filepath must be created already.

    Example : from Start/Run : "C:\RoadRunner\inetup.exe" 193.88.44.42 3000 True c:\download\connected.txt
    Transflective Lilliput 8", LV-677DC Core Duo 1,83Ghz, , Mpegbox uSDC20D, Shuttle Express, HQCT, PG XS6600 http://carpc.boyakasha.dk

  3. #13
    Variable Bitrate
    Join Date
    Jun 2005
    Location
    Michigan
    Posts
    311
    Any way to include multiple ips in the ping list, and just OR the result? Just in case the IP you choose goes down...
    MII-12000 / Ampie / Lilliput 7" / BU-355 / PicoPSU / uSDC
    Currently: Enjoying the setup, but always contemplating my next move...

  4. #14
    FLAC
    Join Date
    May 2005
    Location
    Vienna, VA
    Posts
    1,382
    can we use www.google.com instead of an IP?

    Pretty sure it'll be EXTREMELY rare for Google to go down.

  5. #15
    Variable Bitrate
    Join Date
    Jun 2005
    Location
    Michigan
    Posts
    311
    With multiple IPs, do Google, Yahoo, and MSN...with that combination, them all going down pretty much means the apocalypse
    MII-12000 / Ampie / Lilliput 7" / BU-355 / PicoPSU / uSDC
    Currently: Enjoying the setup, but always contemplating my next move...

  6. #16
    Maximum Bitrate
    Join Date
    Oct 2003
    Location
    Copenhagen, Denmark
    Posts
    747
    i got name resolution working, so now you can get the new version, www.boyakasha.dk/inetup.exe only change i did for now is that instead of ip you put the hostname like www.google.com or www.msn.com or whatever you like.
    Transflective Lilliput 8", LV-677DC Core Duo 1,83Ghz, , Mpegbox uSDC20D, Shuttle Express, HQCT, PG XS6600 http://carpc.boyakasha.dk

  7. #17
    FLAC
    Join Date
    May 2005
    Location
    Vienna, VA
    Posts
    1,382
    Okay, I also wrote my own version using AutoIt (called AutoNetDetect). This app checks for local connection state first then verify it by pinging Google.com. If a valid connection is detected, a file will be created (default = C:\connected.txt). Otherwise, the file is deleted. You can also choose to run an app when connected (this is so you can update your weather, traffic report, etc.)

    The following parameters are configurable via AutoNetDetect.ini.
    Check Interval
    Host to Ping
    App to Run when connected
    File to Create when connected
    Attached Files Attached Files

  8. #18
    FLAC
    Join Date
    May 2005
    Location
    Vienna, VA
    Posts
    1,382
    Here's an update with a tray icon and small bug fix if anyone cares.
    Attached Files Attached Files

  9. #19
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    7,780
    Blog Entries
    32
    very important question about your software!!! Does it work when windows isnt the shell? net-detect doesnt :|
    NOVA, MD, DC Monthly Meets Here
    Ride Runner and Centrafuse 3 plugin creator
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  10. #20
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    7,780
    Blog Entries
    32
    i'm gonna test the ability to run out of windows shell tonight. So far this program looks good! Small request, is it possible to have connected.txt deleted upon exit of your program? Without this the computer would think it has access after a reboot right?
    NOVA, MD, DC Monthly Meets Here
    Ride Runner and Centrafuse 3 plugin creator
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. online audio retailers
    By johnnm in forum Car Audio
    Replies: 1
    Last Post: 03-15-2006, 01:29 AM
  2. Replies: 11
    Last Post: 01-30-2006, 09:47 PM
  3. RoadRunner Webserver back online
    By Gobby in forum Road Runner
    Replies: 4
    Last Post: 11-06-2005, 10:30 AM
  4. Acrylic or ABS suppliers? Anyone know any online
    By clean customs in forum Fabrication
    Replies: 5
    Last Post: 09-18-2005, 07:39 PM
  5. Buying hardware online
    By JorisC in forum Newbie
    Replies: 2
    Last Post: 05-22-2005, 01:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •