Re: Getting a public IP address when connected to a router

2011-01-07 Thread Medard
Bob Sneidar wrote: > But you still have to teach him how to make everything the way you like it. :-) I just went that way... When whois* reports that the connection originates from my ADSL node, I consider that it's me (and it is in a log, so I can verify it) :-) * I downloaded "man whois" (

Re: Getting a public IP address when connected to a router

2011-01-05 Thread Mark Wieder
Bob- Wednesday, January 5, 2011, 10:30:22 AM, you wrote: > Downing some shots might also help... Cool. I'm on it. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe

Re: Getting a public IP address when connected to a router

2011-01-05 Thread Bob Sneidar
In America they passed a law that dictates that ISP's have to allow their competitors to use the infrastructure the original ISP built. It's kind of like forcing all restaurants to let other cooks come in to their kitchens and cook and sell meals for their own establishments. Oddly though, it wo

Re: Getting a public IP address when connected to a router

2011-01-05 Thread Bob Sneidar
Downing some shots might also help... Bob On Dec 19, 2010, at 5:41 PM, J. Landman Gay wrote: > On 12/19/10 6:50 PM, Mark Wieder wrote: >> Medard- >> >> Sunday, December 19, 2010, 2:04:04 PM, you wrote: >> >>> * due to my ISP, Orange ;-) >> >> Well, there's the problem. >> You're trying to co

Re: Getting a public IP address when connected to a router

2011-01-05 Thread Bob Sneidar
I'm half French, and I have my own saying: "The solution to a problem cannot be any simpler than the problem itself". It may not in fact be true, but it sounds pithy. But seriously, I would love for all my stacks to have one magical one-liner that does everything I want them to. The trouble is

Re: Getting a public IP address when connected to a router

2010-12-22 Thread Medard
Medard wrote: > Now, a little grepping would help ;-) I went with a simpler solution... in the line beginning with "descr:" I can read that's me ;-) (the ADSL node, in gross) that's sufficient, since I don't have a bunch of readers in my small town ;->

Re: Getting a public IP address when connected to a router

2010-12-20 Thread Medard
Mark Schonewille wrote: > I'm sure there are many different ways to solve this little problem. > For instance, you can make a little faceless application, which uploads > your IP address to your server every time it changes. I had another idea... How about a "whois" query? I started with this:

Re: Getting a public IP address when connected to a router

2010-12-20 Thread Medard
Keith Clarke wrote: > How about using a dynamic DNS service from dyndns.com, noip.com or > similar to provide you with a fixed public host name with pseudo-fixed > IP address? That's an idea, than you! ___ use-livecode mailing list use-livecode@lists

Re: Getting a public IP address when connected to a router

2010-12-20 Thread Medard
J. Landman Gay wrote: > >> * due to my ISP, Orange ;-) > > > > Well, there's the problem. > > You're trying to compare Apples and Oranges. > > > > > > Aw geez. You should be shot for that. ;-> Orange® is the commercial name of France Telecom as a ISP They bought that name from a UK company th

Re: Getting a public IP address when connected to a router

2010-12-19 Thread Robert Brenstein
On 19.12.2010 at 15:22 Uhr -0700 Mike Bonner apparently wrote: Here are some possible ways to do what you want. I'm sure there are more. Have a specific entry address just for you that grabs your ip and stuffs it in a file. Then all your other pages that log IP can reference the file to know wh

Re: Getting a public IP address when connected to a router

2010-12-19 Thread J. Landman Gay
On 12/19/10 6:50 PM, Mark Wieder wrote: Medard- Sunday, December 19, 2010, 2:04:04 PM, you wrote: * due to my ISP, Orange ;-) Well, there's the problem. You're trying to compare Apples and Oranges. Aw geez. You should be shot for that. -- Jacqueline Landman Gay | jac...@hype

Re: Getting a public IP address when connected to a router

2010-12-19 Thread Mark Wieder
Medard- Sunday, December 19, 2010, 2:04:04 PM, you wrote: > * due to my ISP, Orange ;-) Well, there's the problem. You're trying to compare Apples and Oranges. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@list

Re: Getting a public IP address when connected to a router

2010-12-19 Thread Keith Clarke
How about using a dynamic DNS service from dyndns.com, noip.com or similar to provide you with a fixed public host name with pseudo-fixed IP address? I use the free dyndns.com service to map a couple of host names to my home server, which sits behind a BT Home Hub router. The router contains a d

Re: Getting a public IP address when connected to a router

2010-12-19 Thread Mike Bonner
Yeah, what mark said. Very similar ideas. On Sun, Dec 19, 2010 at 3:17 PM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Hi Medard, > > I'm sure there are many different ways to solve this little problem. For > instance, you can make a little faceless application, which uploads yo

Re: Getting a public IP address when connected to a router

2010-12-19 Thread Mike Bonner
Here are some possible ways to do what you want. I'm sure there are more. Have a specific entry address just for you that grabs your ip and stuffs it in a file. Then all your other pages that log IP can reference the file to know what IP to ignore. Or set a special cookie for yourself that basic

Re: Getting a public IP address when connected to a router

2010-12-19 Thread Mark Schonewille
Hi Medard, I'm sure there are many different ways to solve this little problem. For instance, you can make a little faceless application, which uploads your IP address to your server every time it changes. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Ho

Re: Getting a public IP address when connected to a router

2010-12-19 Thread Medard
Mark Schonewille wrote: > What's the problem, Medard? Just don't count your own IP address. > > if myIP is not "123.123.123.123" then... You're right, Mark... but a well known motto here in France is: "pourquoi faire simple, quand on peut faire compliqué" (what's the need to make things simple

Re: Getting a public IP address when connected to a router

2010-12-19 Thread Mark Schonewille
What's the problem, Medard? Just don't count your own IP address. if myIP is not "123.123.123.123" then... -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Dow

Re: Getting a public IP address when connected to a router

2010-12-19 Thread Medard
Mark Schonewille wrote: > The RevServer should be able to do something like: > > put $_SERVER['REMOTE_ADDR'] into myRemoteIP Yes -- but no ;-) By doing this, you get the IP address of the person who accesses the page -- sometimes that's me ;-) So I want to exclude myself from the referrers...

Re: Getting a public IP address when connected to a router

2010-12-19 Thread Mark Schonewille
Hi Medard, The RevServer should be able to do something like: put $_SERVER['REMOTE_ADDR'] into myRemoteIP -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Dow

Re: Getting a public IP address when connected to a router

2010-12-19 Thread Medard
Terry Judd wrote: > Does anyone have a LC routine (or tips on how to write one) that will enable > me to get a public IP address rather than the local one assigned by a > router? All the solutions given do work -- but think they will give a wrong one if they are NOT called locally i.e. in .irev

Re: Getting a public IP address when connected to a router

2010-12-14 Thread Mike Bonner
On a mac you can do this.. get shell("ping -Rc 1 google.com| grep RR:") The line of the output starting RR: contains the external IP so it's grepped for. Easier to just hit a website that returns the info as stated, but thought i'd throw this out there. Pretty sure the same can be done with Windo

Re: Getting a public IP address when connected to a router

2010-12-13 Thread Terry Judd
OK - thanks Kee (and Sarah). Terry... On 14/12/10 4:06 PM, "Kee Nethery" wrote: > I agree with Sarah and to explain why ... > > When your computer is inside a firewall or gateway or router that does Network > Address Translation (NAT > http://en.wikipedia.org/wiki/Network_address_translation)

Re: Getting a public IP address when connected to a router

2010-12-13 Thread Kee Nethery
I agree with Sarah and to explain why ... When your computer is inside a firewall or gateway or router that does Network Address Translation (NAT http://en.wikipedia.org/wiki/Network_address_translation) there is no way to know what your external address is because all your computer knows is i

Re: Getting a public IP address when connected to a router

2010-12-13 Thread Sarah Reichelt
put URL "http://www.whatismyip.com/automation/n09230945.asp"; into tMyPublicIP Cheers, Sarah On Tue, Dec 14, 2010 at 2:07 PM, Terry Judd wrote: > Does anyone have a LC routine (or tips on how to write one) that will enable > me to get a public IP address rather than the local one assigned by a

Getting a public IP address when connected to a router

2010-12-13 Thread Terry Judd
Does anyone have a LC routine (or tips on how to write one) that will enable me to get a public IP address rather than the local one assigned by a router? Terry... -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne