Networking Forums

Networking Forums > Computer Networking > Linux Networking > retrieving page from router

Reply
Thread Tools Display Modes

retrieving page from router

 
 
Eric
Guest
Posts: n/a

 
      06-19-2006, 03:07 AM
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
 
Reply With Quote
 
 
 
 
iforone
Guest
Posts: n/a

 
      06-19-2006, 03:45 AM

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

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot get to router web page M.L. Network Routers 15 08-04-2009 12:02 PM
password retrieving software Big_Al Wireless Networks 17 01-26-2009 11:25 PM
Retrieving WAN IP address directly from a Linksys WRT54G Broadband Router Mike Wireless Internet 0 02-01-2007 01:49 PM
Retrieving WAN IP address directly from a Linksys WRT64G Broadband Router Mike Wireless Internet 2 10-17-2006 03:37 AM
Slow retrieving headers Terry Pinnell Broadband 6 09-26-2004 04:17 PM



1 2 3 4 5 6 7 8 9 10 11