Shop OBEX P1 Docs P2 Docs Learn Events
PINK Advanced Internet Control — Parallax Forums

PINK Advanced Internet Control

knightofoldcodeknightofoldcode Posts: 233
edited 2006-01-20 21:20 in General Discussion
I was wondering if the PINK has the ability to ping a address.

For instance, I'd like the PINK to be able to ping 192.168.1.1 and return the results. This way I could use the PINK for several purposes, a hardware watchdog for my servers, as well as a hardware watchdog for the outside world. My DSL modem CONSTANTLY dies, (I'm on the phone with Qwest at the moment about it) and right now I have my linux server checking for a connection, then cycling the modem if it detects no outside communication. But I would like to have a PINK serve this function to both free up my parallel port and become more streamlined.

I have looked through the manual, and didn't see any mention of it, I'm hoping it is a undocumented feature.

TIA,
Knight.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-
This message transmitted with 100% recycled electrons.
-=-=-=-=-=-
Gravity doesn't exist. The Earth sucks.
-=-=-=-=-=-
Make a man a fire, and he will be warm for the night.
Light the man on fire, and he will be warm for the rest of his life.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-

Comments

  • stamptrolstamptrol Posts: 1,731
    edited 2006-01-20 00:37
    knight,

    From the PINK's factory homepage, there is a set of diagnostic tools which I think includes pinging. But, I'm not sure if the result gets put into the variable space where you could transfer it out for analysis.

    Tom
  • stamptrolstamptrol Posts: 1,731
    edited 2006-01-20 01:02
    Just checked a bit more. The Nb_varST status register, bit 0 is a network status bit which is set if a network connection is established.

    Cheers,

    Tom
  • knightofoldcodeknightofoldcode Posts: 233
    edited 2006-01-20 01:28
    Could you point me in the direction of the factory's information for the unit? I couldn't find it myself, I also didn't look too hard.

    As for the Nb_varST, I would assume that this is similiar to the "link" light, and simply specifies if a connection is present, not if a ping is returned.

    The mention of the ping in the diagnostic information is interesting, and I'd like to see that manual.

    Much thanx for the information though! [noparse]:D[/noparse]

    TIA,
    Knight

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-
    This message transmitted with 100% recycled electrons.
    -=-=-=-=-=-
    Gravity doesn't exist. The Earth sucks.
    -=-=-=-=-=-
    Make a man a fire, and he will be warm for the night.
    Light the man on fire, and he will be warm for the rest of his life.
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-
  • stamptrolstamptrol Posts: 1,731
    edited 2006-01-20 18:58
    knight,

    The info on the diagnostics is contained within the PINK module's default web pages. When the default page comes up, choose "diagnostics" and you'll see a simple PING interface. Haven't seen this in print form.

    Cheers,

    Tom
  • knightofoldcodeknightofoldcode Posts: 233
    edited 2006-01-20 21:20
    stamptrol said...
    knight,

    The info on the diagnostics is contained within the PINK module's default web pages. When the default page comes up, choose "diagnostics" and you'll see a simple PING interface. Haven't seen this in print form.

    Cheers,

    Tom

    I see, I havn't purchased a PINK yet, didn't have a use for one until now. lol And this might not be a possible use anyway. lol

    Knight.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-
    This message transmitted with 100% recycled electrons.
    -=-=-=-=-=-
    Gravity doesn't exist. The Earth sucks.
    -=-=-=-=-=-
    Make a man a fire, and he will be warm for the night.
    Light the man on fire, and he will be warm for the rest of his life.
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-
Sign In or Register to comment.