[YLUG] Router

Patrick Dupre pd520 at york.ac.uk
Sun Sep 28 15:23:02 UTC 2008


> On Sun Sep 28, 2008 at 16:13:48 +0100, Patrick Dupre wrote:
>
>> When I make:
>> wget -q -O /var/log/trendnet.log http://admin:@192.168.0.1/system_status.htm
>> on my router it only gives the correct return if I previously log
>> on the router (through http and a browser: the account is admin and
>> there is not password).
>
>  Try instead specifying the username & password on the command line
> as described by "man wget":
>
>  wget --user=admin --password="" -q -O out.log http://192.168.0.1/system_status.htm
>
> Failing that drop the "-q" and see what is output by wget?
>
> Steve

Same thing, this is was I get:

--16:20:20--  http://192.168.0.1/system_status.htm
            => `out.log'
Connecting to 192.168.0.1:80... connected.
HTTP request sent, awaiting response... 200 Ok
Length: unspecified [text/html]

     [ <=>                                 ] 372           --.--K/s

16:20:20 (320.04 KB/s) - `out.log' saved [372]


But the out.log file does not contain the router status


-- 
---
==========================================================================
  Patrick DUPRÉ                      |   |
  Department of Chemistry            |   |    Phone: (44)-(0)-1904-434384
  The University of York             |   |    Fax:   (44)-(0)-1904-432516
  Heslington                         |   |
  York YO10 5DD  United Kingdom      |   |    email: pd520 at york.ac.uk
==========================================================================


More information about the York mailing list