Shop OBEX P1 Docs P2 Docs Learn Events
PINK test page — Parallax Forums

PINK test page

stamptrolstamptrol Posts: 1,731
edited 2007-07-28 12:18 in Robotics
· July 3, 2007
· Edit: <<<<<<<·· The IP changes from time to time due to the way my ISP assigns addresses. If you try it
and it doesn't work, just PM me and I'll update things here. There are some more impressive PINK sites out there
but, this one does show a dynamic update. >>>>>>>>>>>· Tom

· Hello all,

··· I've got a REALLY simple web-page up and running on the PINK module.

··· You can have a look at·· 142.167.92.120··· 'updated Dec 23,07
········· user:· sci
·········· password:· katomda

···· An attached stamp is counting from 0 to 10000 and repeating. It loads the current count into variable 1 on the PINK, then the browser pulls that number onto the screen every 5 seconds or so.
···· Variable 2 is not being updated.....I was just·playing with the html code [noparse]:)[/noparse]

·· Regards,

·· Tom

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk

http://www.siskconsult.com


Post Edited (stamptrol) : 12/24/2007 6:28:37 PM GMT
«1

Comments

  • steve_bsteve_b Posts: 1,563
    edited 2006-01-05 17:06
    Cool....sadly, I wasn't savvy enough to consider an ISP that didn't block me from running a server...so anything I do with my PINK will only be accessible from within my network.

    Now, if they get the secure email working, then I could email status reports to myself at work.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·

    Steve

    "Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
  • stamptrolstamptrol Posts: 1,731
    edited 2006-01-05 17:33
    Steve,

    I have to admit I was sort of expecting that, too. I use Sympatico as provided by our Aliant/Bell phone company out east here. However, once I figured out the IP address of my router, everything worked fine.

    I'll give the email a shot when I get a few minutes.

    Regards,

    Tom
  • Ryan ClarkeRyan Clarke Posts: 738
    edited 2006-01-05 17:59
    You know, if you have an ISP that tries to block servers (read: PORT 80 or 8080 generally)- you can just use a different port, and have your internal network send to the proper internal ip/port combo...

    Ryan

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ryan Clarke
    Parallax Tech Support

    RClarke@Parallax.com
  • steve_bsteve_b Posts: 1,563
    edited 2006-01-06 03:59
    Easier said than done!!
    I bought it....I managed NOT to use the default settings....but what you said sounds like english...not sure though!! haha

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·

    Steve

    "Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
  • Robert KubichekRobert Kubichek Posts: 343
    edited 2006-01-06 04:25
    steve_b said...
    Cool....sadly, I wasn't savvy enough to consider an ISP that didn't block me from running a server...so anything I do with my PINK will only be accessible from within my network.

    Now, if they get the secure email working, then I could email status reports to myself at work.

    Not really, as long as you are assigned an ip address, you can set up a website, if they block port 80 or 8080, you would'nt be able to access the web at all....
    You just need to set it up with your router/firewall....tongue.gif
    Here>> www.mantico.com << is my personal website, and I use NO-IP to update the DNS when SBC DSL changes the IP address ( dynamic )...smile.gif
    My router/firewall also supports DDNS....... yeah.gif

    Bob N9LVU scool.gif
  • steve_bsteve_b Posts: 1,563
    edited 2006-01-06 14:14
    Well, I have a NetGear router.
    The router gets an IP address from the ISP via the DSL modem.
    The router than assigns a "private network" IP to all the networkable devices connected to it (wires/wireless)....

    So, if my router IP is 123.123.123.123...and my PINK (which is assigned an IP from my router) is IP: 456.456.456.456. When I'm at work, or elsewhere, how do I look for my PINK from the outside world?
    http://123.123.123.123/456.456.456.456 ?? something like that? I'm an electronics guy....not a computer guy! I once found the ANY key BTW!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·

    Steve

    "Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-01-06 15:23
    steve_b,

    ·· Just as a note, the IP field numbers cannot be greater than 255 each.· As for accessing the alternate ports through the router, I have seen many tutorials on Google that explain better than I could how this is accomplished.· Definately worth looking up for the primer in networking.· You might learn some things that will help you out later in other use.


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • stamptrolstamptrol Posts: 1,731
    edited 2006-01-06 15:51
    Steve,

    Somehow, your router will let you into its configuration. My d-link lets me enter the router's setup by entering its local IP (192.168.0.1 in my case). Then, goto the section which will be described as "Virtual Serving" or something similar. You will be able to tell the router to 'pass through' any incoming requests for http service to the PINK's local address. This will be in a table format where you can tell port 80 ( http) requests to be directed to the PINK address ( 192.168.0.135 in my case).

    Then, from the outside world, put in the router's IP address (which will change each time the router is rebooted, assuming you're using DHCP)and the PINK's default page will pop up! Magic or what?

    Tom
  • steve_bsteve_b Posts: 1,563
    edited 2006-01-06 16:00
    I'm able to get in to my NetGear setup and change things.... (didn't want to use the 'packaged' security setup....used custom keys instead...)
    But what I see that looks like it might work is, Port Forwarding and Port Triggering. The little help blurb with these didn't give me a good feeling as to being the cure for my pains....but I guess I'll resort to google.

    I was hoping for a record on here of how to do it....no biggy. IF I sort it out, I'll post for the masses (the masses that probably already figured it out!! haha)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·

    Steve

    "Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
  • Ryan ClarkeRyan Clarke Posts: 738
    edited 2006-01-06 16:01
    Robert Kubichek said...
    steve_b said...
    Cool....sadly, I wasn't savvy enough to consider an ISP that didn't block me from running a server...so anything I do with my PINK will only be accessible from within my network.

    Now, if they get the secure email working, then I could email status reports to myself at work.

    N

    Bob N9LVU scool.gif

    It is possible to block a port in one direction and not in another-

    Ryan

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ryan Clarke
    Parallax Tech Support

    RClarke@Parallax.com
  • rockin_rickrockin_rick Posts: 32
    edited 2006-01-06 16:45
    stamptrol said...
    Hello all,



    I've got a REALLY simple web-page up and running on the PINK module.



    You can have a look at 142.167.66.188/



    user: sci

    password: katomda



    An attached stamp is counting from 0 to 10000 and repeating. It loads the current count into variable 1 on the PINK, then the browser pulls that number onto the screen every 5 seconds or so.

    Variable 2 is not being updated.....I was just playing with the html code [noparse]:)[/noparse]



    Regards,



    Tom


    If you are looking for confirmation that it's working (across the internet), then it works for me with firefox 1.0.7...

    Rick
  • Paul BakerPaul Baker Posts: 6,351
    edited 2006-01-06 16:48
    Im not sure about Netgear routers but Dlink has a DMZ zone, any internal IP addresses placed in this zone are outside the firewall and should be accessable by external networks, coupling this with with the port fowarding feature you can remap the port the server responds to in order to circumvent your ISP's blocking of the server. The ISP must allow externally initiated connections for various program such as IM to work properly, if you dont use a particular variant of IM, you can use that port number and the ISP will let it pass.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·1+1=10
  • stamptrolstamptrol Posts: 1,731
    edited 2006-01-06 17:10
    Rick,

    Thanks for the confirmation! So far its worked with numerous browsers and operating systems. Great little unit!

    Regards,
    Tom
  • Ryan ClarkeRyan Clarke Posts: 738
    edited 2006-01-06 17:45
    Paul,

    With proper settings for NAT and/or simple port forwarding, you will not need to place any device in the DMZ.


    Ryan

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ryan Clarke
    Parallax Tech Support

    RClarke@Parallax.com
  • OrionOrion Posts: 236
    edited 2006-01-07 00:10
    "Port forwarding or Add service" should be what you looking for on a Netgear router. Check out their website it should have directions on what you’re looking for. If you have the part# of the router I could find it for you. I have several Netgear routers here and I’m pretty familiar with them.

    One note on the DMZ, this setting will allow access to ANY port of the IP you put in it. I'm not sure how the Pink downloads it pages but you could have people from the internet probing any open hole they can find on the Pink. Hmm, maybe we will start to see some Goggle hacking for special Pink urls and reprogramming them.· You may want to think about security a bit if you app has your furnace control or something on it open to the internet.


    Post Edited (Orion) : 1/7/2006 12:17:18 AM GMT
  • knightofoldcodeknightofoldcode Posts: 233
    edited 2006-01-09 09:51
    steve_b said...
    Well, I have a NetGear router.
    The router gets an IP address from the ISP via the DSL modem.
    The router than assigns a "private network" IP to all the networkable devices connected to it (wires/wireless)....

    So, if my router IP is 123.123.123.123...and my PINK (which is assigned an IP from my router) is IP: 456.456.456.456. When I'm at work, or elsewhere, how do I look for my PINK from the outside world?
    http://123.123.123.123/456.456.456.456 ?? something like that? I'm an electronics guy....not a computer guy! I once found the ANY key BTW!


    Steve,

    If you have you're router setup, and your ISP is blocking port 80 and you have rerouted the pink to a different port, rather thant he standard port 80. The address would be http://123.123.123.123:79 assuming that 79 is the port you told you're router to make the pink.


    Let me know where you are. Do you know the address of you're pink, on you're local network? [noparse][[/noparse]Does it start with 192.168.???.??? If so, you can tell this to people on the forum without any problems. This begining of a IP means that it is considered private, and NOT "world addressable". This is not a security issue to give this information. For instance, my servers are from address's 192.168.0.1-6. Some are firewalls, other's are WRT54G's, other's are web servers. All client PC's if they are known, are between 192.168.1.100-199. if they are guests, (Modem, wireless, or lan party's) then they are between 192.168.1.200-250, etc. This is just my setup, and can be different for anyone else, and WILL be different.]

    Do you know what ports your ISP blocks? [noparse][[/noparse]Not absolutly required]

    Do you know how to access you're firewall's setup page? (Gateway)

    What port would you like your pink to be? [noparse][[/noparse]something easy to remember]

    What is the model number of you're router/firewall?

    Do you know you're outside IP address? And does it change? (Probably it does change, this is able to be fixed if it does change)

    Here's the disadvantage to having a ISP that blocks you're port 80. It means this ONE thing ONLY. If you want someone to get to you're pink, they will have to type you're address, with the port after it. http://xxx.xxx.xxx.xxx:yyyy Where xxx are the IP address, and y's are the port.

    Get bak to me, and I'd be more than willing to help out in this regard. I'm a PC guy, not a electronics guy. [noparse];)[/noparse]


    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.
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-
  • Ryan ClarkeRyan Clarke Posts: 738
    edited 2006-01-09 15:24
    knightofoldcode said...


    Here's the disadvantage to having a ISP that blocks you're port 80. It means this ONE thing ONLY. If you want someone to get to you're pink, they will have to type you're address, with the port after it. http://xxx.xxx.xxx.xxx:yyyy Where xxx are the IP address, and y's are the port.


    Knight.

    Good point Knight, but not necessarily true. With control of a domain name, a record can be created that adds the port number as well, so the person would only need the domain- that is they wouldn't have to add the port number as well...

    Ryan

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ryan Clarke
    Parallax Tech Support

    RClarke@Parallax.com
  • steve_bsteve_b Posts: 1,563
    edited 2006-01-09 17:27
    Knight, I'll get back to you in a day or two. Been sick the last couple days and have benched projects in the meantime.

    Thanks for the help!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·

    Steve

    "Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
  • knightofoldcodeknightofoldcode Posts: 233
    edited 2006-01-11 07:21
    Ryan Clarke (Parallax) said...
    knightofoldcode said...


    Here's the disadvantage to having a ISP that blocks you're port 80. It means this ONE thing ONLY. If you want someone to get to you're pink, they will have to type you're address, with the port after it. http://xxx.xxx.xxx.xxx:yyyy Where xxx are the IP address, and y's are the port.


    Knight.

    Good point Knight, but not necessarily true. With control of a domain name, a record can be created that adds the port number as well, so the person would only need the domain- that is they wouldn't have to add the port number as well...

    Ryan

    Yeah, yeah, hadn't thought 'bout that. [noparse];)[/noparse]

    So, essentially there's a werk around for any of the problems associated with ISP's blocking a particular port. However, the last time I played with the method mentioned, I didn't have any success. [noparse]:([/noparse] Of course on the other hand, it took me about 2 months to get BIND to finnaly work, and the problem was that on my firewall I hadn't opened up both TCP AND UDP, only TCP. Not realizing that I only opened up TCP. [noparse]:([/noparse]

    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.
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-
  • James AndersonJames Anderson Posts: 52
    edited 2006-07-11 21:53
    i cant view the page...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    There once was a lady named Bright
    who traveled much faster than light
    She departed one day in a relative way
    and Returned on the Previous Night

    Cheers,
    Wannabe Ub3r Geek
  • stamptrolstamptrol Posts: 1,731
    edited 2006-07-11 22:44
    ·· Hi folks,

    ·· Sorry to those who run into this problem!

    ·· Because its a test site, I didn't bother setting it up with a static IP address. Its not usually a problem and I can get about a month or so with a given IP address. But, every time the router reboots due to a power failure, the IP address gets re-assigned by the service provider's equipment. We've had so much lightning this summer it seems to change every day or so.

    · I'll restart things and repost the IP address.

    ·· The PINK, by the way, is a really slick unit and once you get onto how to use it, is a breeze to play with.



    · Regards

    · Tom

    ·
  • stamptrolstamptrol Posts: 1,731
    edited 2006-07-12 00:11
    ·Hi folks,

    · For anyone who would like to check it out, the PINK test page is up at:

    · You can have a look at 142.167.81.15


    ·········· user:· sci
    ·········· password:· katomda

    ···· An attached stamp is counting from 0 to 10000 and repeating. It loads the current count into variable 1 on the PINK, then the browser pulls that number onto the screen every 5 seconds or so.
    ···· Variable 2 is not being updated.....I was just·playing with the html code [noparse]:)[/noparse]

    ·· There have been some much better samples up for viewing, but this worked for me.

    · Cheers

    ··
  • James AndersonJames Anderson Posts: 52
    edited 2006-07-12 02:26
    cool project! now i want one...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    There once was a lady named Bright
    who traveled much faster than light
    She departed one day in a relative way
    and Returned on the Previous Night

    Cheers,
    Wannabe Ub3r Geek
  • Nick WaldvogelNick Waldvogel Posts: 71
    edited 2006-07-12 04:54
    How do you get it to refresh on it's own? Is it possible to get the layout for your page? Thanks!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    I'm just 10 people short of a threesome!!
  • stamptrolstamptrol Posts: 1,731
    edited 2006-07-12 12:05
    Hi folks,

    The update is triggered by a couple of lines of html code in the page. I don't have it in front of me and I see we had another lightning storm overnight ( ie new IP address on router) so I can't get it while I'm away.
    I'll post it here later today.

    Cheers
  • stamptrolstamptrol Posts: 1,731
    edited 2006-07-12 20:07
    ·· Newest IP address, after much lightning and a small tornado........·· 142.167.93.226·· 'updated Aug 20/06

    ····························································································· User: sci,·· pw: katomda



    ··· The html code that makes up the page is as follows:

    ·<head>
    <meta http-equiv="refresh" content="5">
    </head>

    <body>
    <table border="5" width="650" cellspacing="5">
    <thead style="background-color:yellow">· <tr><th>Count Value</th><th>Spare</th><th>Col 3</th><tr>
    </thead>
    <tfoot style="background-color:fuchsia">
    ·<tr><td colspan="3">SCi, Fredericton N.B., Canada</td></tr>
    </tfoot>
    <tbody style="background-color:lime">
    ·<tr><td>03585</td><td>NA</td><td>Cell 3</td></tr>········ Note: "03585" is the value of the PINK's register, as per the PINK example.
    </tbody> </table>
    </body>

    Cheers


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tom Sisk

    http://www.siskconsult.com


    Post Edited (stamptrol) : 8/20/2006 12:24:01 PM GMT
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-07-03 04:56
    Tom,

    ·· This site seems to be gone...Should we remove this thread?· Or perhaps move it to the Sandbox?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • stamptrolstamptrol Posts: 1,731
    edited 2007-07-03 12:04
    ·Hi Chris,

    ·· No problem with moving or removing. The site is still up but the IP addresses changes at the whim of my ISP.

    ·· As different folks have contacted me, I've given them the current address for testing, etc. There seems to be a growing base of folks who have mastered the PINK basics, so this thread may have less relevance.

    ·· Cheers,

    · Tom

    ··



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tom Sisk

    http://www.siskconsult.com
    ·
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-07-03 14:01
    Can you update the IP Address up top? I just thought it was down. A few forum members messaged me about it. Thanks! Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • stamptrolstamptrol Posts: 1,731
    edited 2007-07-03 14:27
    ·Chris,

    · No problem.

    · I'll keep entry #1 edited and updated as much as possible.

    · Tom


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tom Sisk

    http://www.siskconsult.com


    Post Edited (stamptrol) : 7/4/2007 11:37:22 AM GMT
Sign In or Register to comment.