Re: bash wget script problem

2012-05-07 Thread vordoo
@192.168.1.1/Status_Router.asp The error is: Connecting to 192.168.1.1:80... connected. HTTP request sent, awaiting response... 401 Unauthorized Failed writing HTTP request: Bad file descriptor. On 05/07/2012 04:21 PM, Nadav Har'El wrote: On Sun, May 06, 2012

Re: bash wget script problem

2012-05-07 Thread Nadav Har'El
On Sun, May 06, 2012, vordoo wrote about "Re: bash wget script problem": > wget -O - http://admin:1234@192.168.1.1/Status_Router.asp => bash: > 1234@192.168.1.1/Status_Router.asp: event not found I think we're missing something here - maybe you didn't actual

Re: bash wget script problem

2012-05-06 Thread vordoo
On 05/06/2012 03:15 PM, Nadav Har'El wrote: On Sun, May 06, 2012, vordoo wrote about "bash wget script problem": Please, don't send here HTML mail... Yep sorry. Got a working script, on an ubuntu box, that will not run on arch. It stops on: ip_page=

Re: bash wget script problem

2012-05-06 Thread Nadav Har'El
On Sun, May 06, 2012, vordoo wrote about "bash wget script problem": > Please, don't send here HTML mail... > Got a working script, on an ubuntu box, that will not run on arch. > It stops on: > ip_page=$(wget -q -O - > http://$router_username:$router_pass

Re: bash wget script problem

2012-05-06 Thread Ariel Bar David
Hi, maybe it's because of your bash version? I messed around with wget lately, and saw somewhere written that some things will work only on bash 4 and above. I don't know bash that well so I don't know whether this is the issue or I just said something stupid... What I did was: wget http://website