howto use curl to get Internet IP

Jim mickeyboa at sbcglobal.net
Sat Jun 7 00:45:55 UTC 2008


Mikkel L. Ellertson wrote:
> 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 name (the basic service is free), then just
>> look it up when you need to. It means installing ddclient, but it's in
>> the Fedora repos.
>>
> 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' # found after IP Address
>
> Mikkel
I'm not all that well versed in Linux to know what your saying.
Could you please simplify that for me.

Thanks
Jim




More information about the fedora-list mailing list