[Novalug] curl

Mike Shade mshade at mshade.org
Thu Jan 8 19:07:00 EST 2009


Jon,

I did this sort of thing the other way around.  I hit an page that tells me
the IP of my gateway.  http://ip.mshade.org/ in this case :)

Depending on the method used to log into the actiontec, you may need to
fudge some cookies (mmm).  Whereas your previous router probably plain old
HTTP authentication (a popup box your browser provides) the Actiontec
probably provides form fields.  Correct?

-- Mike

On Thu, Jan 8, 2009 at 6:37 PM, Jon LaBadie <novalugml at jgcomp.com> wrote:

> With my previous ISP (Comcast in NJ) I used my own
> router/switch after their cable modem.  I wrote
> several script using curl and lynx to query some
> information from my router.  For example, my script
> "wanIP" would return what dynamic IP address Comcast
> had assigned to me.
>
> Now, with FIOS and the wonderful ActionTEC wireless AP/
> stb coax feeder/all things wonderful/router/switch
> I am unable to get curl past the login screen.
>
> The basic cmd I used in the past was:
>
>  curl --user "foo:bar" router_name/Status.htm
>
> And it would log me in as "foo" using "bar" as the
> password and then dump the status page.
>
> Now, no matter what I've tried, I just get a blank
> login screen.
>
> BTW I tried wget and again only get the same login screen.
>
> Anyone successfully use anything other than a browser to
> access pages of this ActionTEC router?
>
> jl
> --
> Jon H. LaBadie                  jon at jgcomp.com
>  JG Computing
>  12027 Creekbend Drive          (703) 787-0884
>  Reston, VA  20194              (703) 787-0922 (fax)
> _______________________________________________
> Novalug mailing list
> Novalug at calypso.tux.org
> http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://calypso.tux.org/pipermail/novalug/attachments/20090108/13187c04/attachment.html 


More information about the Novalug mailing list