Eric wrote:
> I'm trying to retrieve the status page from a WRTP54G linksys router using
> wget. (Seems like it uses a version of linux as its firmware)
> "wget -q -r --http-user=xxxx --http-passwd=yyyy
> http://192.168.12.1/cgi-bin/webcm?getpage=%2Fusr%2F
> www_safe%2Fhtml%2Fstatus%2FRouter.html -O /tmp/RouterStatus.htm"
> but for some reason it gets the login page instead. Am i approaching this
> correctly? Am I using wget right? Would curl be better at this? Any tips?
> Also, is there a way to download this routers firmware to my local drive?
> BTW: (in case it matters)I'm using Mandriva 2006 on x86 system as my
> workhorse.
> Thanks
> Eric
I'm not sure how to use wget correctly, and I don't know much anbout
linksys routers, but my 4-port Router here can be accessed through the
webAdmin URL entered into the Location/Address bar of any browser...but
you may not want to use a browser, I guess?. Anyway - mine is
http://192.168.0.1/home.htm (it's a no-name brand router called
TrendNet or somesuch). My broadband cable modem is a diff local
address, but can be accessed the same way.
Oh, FYI, I'm running Debian sarge 3.1r1, 2.6.8-2, though that shouldn't
matter
Regards