Re: howto use curl to get Internet IP

2008-06-07 Thread Stuart Sears
Jim wrote: What approach would you suggest that is better to use ? I have a DSL AP 2Wire783 in front of my computer that does not have the capability of giving me the Internet IP This works for me after a moment's experimentation: links -dump http://www.getip.com/| awk '/^IP Address:/

Re: howto use curl to get Internet IP

2008-06-07 Thread Andrew Parker
On Fri, Jun 6, 2008 at 1:48 PM, Jim [EMAIL PROTECTED] wrote: I want to use curl to get my Internet IP address, and getting it to ddclirent. Using getip.com and dyndns.org to get my IP for ddclient, isn't working out, they shutout ddclient after awhile from getting my Internet IP to send

Re: howto use curl to get Internet IP

2008-06-07 Thread Patrick O'Callaghan
On Fri, 2008-06-06 at 20:41 -0400, Jim wrote: Patrick O'Callaghan wrote: On Fri, 2008-06-06 at 18:02 -0400, max wrote: What approach would you suggest that is better to use ? I have a DSL AP 2Wire783 in front of my computer that does not have the capability of

howto use curl to get Internet IP

2008-06-06 Thread Jim
I want to use curl to get my Internet IP address, and getting it to ddclirent. Using getip.com and dyndns.org to get my IP for ddclient, isn't working out, they shutout ddclient after awhile from getting my Internet IP to send to dyndns.org . I understand curl can get the Internet IP for

Re: howto use curl to get Internet IP

2008-06-06 Thread Dave Burns
On Fri, Jun 6, 2008 at 7:48 AM, Jim [EMAIL PROTECTED] wrote: I want to use curl to get my Internet IP address, and getting it to ddclirent. Using getip.com and dyndns.org to get my IP for ddclient, isn't working out, they shutout ddclient after awhile from getting my Internet IP to send

Re: howto use curl to get Internet IP

2008-06-06 Thread Rick Stevens
Dave Burns wrote: On Fri, Jun 6, 2008 at 7:48 AM, Jim [EMAIL PROTECTED] wrote: I want to use curl to get my Internet IP address, and getting it to ddclirent. Using getip.com and dyndns.org to get my IP for ddclient, isn't working out, they shutout ddclient after awhile from getting my

Re: howto use curl to get Internet IP

2008-06-06 Thread Patrick O'Callaghan
On Fri, 2008-06-06 at 08:17 -1000, Dave Burns wrote: 2) why not just use /sbin/ifconfig -a? Your machine knows its own IP number as well or better than getip.com. Maybe he wants his IP as seen from the other side of a NAT router (common for home setups). poc -- fedora-list mailing list

Re: howto use curl to get Internet IP

2008-06-06 Thread Jim
Dave Burns wrote: On Fri, Jun 6, 2008 at 7:48 AM, Jim [EMAIL PROTECTED] wrote: I want to use curl to get my Internet IP address, and getting it to ddclirent. Using getip.com and dyndns.org to get my IP for ddclient, isn't working out, they shutout ddclient after awhile from getting my

Re: howto use curl to get Internet IP

2008-06-06 Thread Jim
Patrick O'Callaghan wrote: On Fri, 2008-06-06 at 08:17 -1000, Dave Burns wrote: 2) why not just use /sbin/ifconfig -a? Your machine knows its own IP number as well or better than getip.com. Maybe he wants his IP as seen from the other side of a NAT router (common for home setups).

Re: howto use curl to get Internet IP

2008-06-06 Thread max
Jim wrote: Dave Burns wrote: On Fri, Jun 6, 2008 at 7:48 AM, Jim [EMAIL PROTECTED] wrote: I want to use curl to get my Internet IP address, and getting it to ddclirent. Using getip.com and dyndns.org to get my IP for ddclient, isn't working out, they shutout ddclient after awhile from

Re: howto use curl to get Internet IP

2008-06-06 Thread Patrick O'Callaghan
On Fri, 2008-06-06 at 18:02 -0400, max wrote: What approach would you suggest that is better to use ? I have a DSL AP 2Wire783 in front of my computer that does not have the capability of giving me the Internet IP. You sure about that? I'll admit I have only used about 4 or 5

Re: howto use curl to get Internet IP

2008-06-06 Thread Mikkel L. Ellertson
Patrick O'Callaghan wrote: OTOH it's likely that there is a way to scrape the modem's web control page for the IP number without having to ping external addresses. Might be a bit messy though. Actually the cleanest solution is probably just to use a service such as dyndns and register a domain

Re: howto use curl to get Internet IP

2008-06-06 Thread Jim
max wrote: Jim wrote: Dave Burns wrote: On Fri, Jun 6, 2008 at 7:48 AM, Jim [EMAIL PROTECTED] wrote: I want to use curl to get my Internet IP address, and getting it to ddclirent. Using getip.com and dyndns.org to get my IP for ddclient, isn't working out, they shutout ddclient after

Re: howto use curl to get Internet IP

2008-06-06 Thread Jim
Patrick O'Callaghan wrote: On Fri, 2008-06-06 at 18:02 -0400, max wrote: What approach would you suggest that is better to use ? I have a DSL AP 2Wire783 in front of my computer that does not have the capability of giving me the Internet IP. You sure about that? I'll

Re: howto use curl to get Internet IP

2008-06-06 Thread Mikkel L. Ellertson
Jim wrote: Mikkel L. Ellertson wrote: It may be easy to do. I do it on a Speedstream all the time. ddclient does it with no problems. As long as the status page has something you can key on, and then whitespace between the key and the IP address. use=fw, fw=192.168.0.1/, fw-skip='IP Address'

Re: howto use curl to get Internet IP

2008-06-06 Thread Tim
On Fri, 2008-06-06 at 18:00 -0430, Patrick O'Callaghan wrote: it's likely that there is a way to scrape the modem's web control page for the IP number without having to ping external addresses. Might be a bit messy though. If the modem can be looked at using SNMP, I'd have thought there'd be