John,

Another option you might consider instead of trying to pull the file 
over an authenticated https connection is to use scp or a similar secure 
transfer tool to get the iaxacl.txt file to the boxes. You could script 
it the same way as you would the wget command.

I've never used 0.5, but I imagine that it should work fine right out of 
the box.

-James

On 09/28/2010 07:51 PM, John Novack wrote:
> Thanks for the offer. I am using the geni586 distribution, and most of
> the machines in question are using the seldom seen 0.5 version, that
> preceded the current 0.6 and 0.7 versions.
> 0.5 can't be remotely upgraded, due to ( at least ) a missing label on
> the boot partition. it also is Asterisk 1.2
> All the boxes are HP thin clients, 55xx and 57xx series.
>
> It probably is best I leave well enough alone for now.
>
> Building anything custom is well above my pay grade!
>
> John Novack
>
> James Babiak wrote:
>    
>> John,
>>
>> As long as all the nodes are the same architecture, you could build the
>> wget binary once and then just distribute it to all of them. I have the
>> full wget binary in my /mnt/kd/astcustom/root/usr/bin directory, and ran:
>>
>> voip bin # ./wget -O /tmp/calltokens.txt --no-check-certificate
>> --http-user=aaaaaaaaaaa --http-password=xxxxxxxxxxx
>> https://ckts.shaneyoung.com/secure/acl/iaxacl.txt
>> --17:55:51--  https://ckts.shaneyoung.com/secure/acl/iaxacl.txt
>>               =>   `/tmp/calltokens.txt'
>> Resolving ckts.shaneyoung.com... 199.199.199.4
>> Connecting to ckts.shaneyoung.com|199.199.199.4|:443... connected.
>> WARNING: Certificate verification error for ckts.shaneyoung.com: self
>> signed certificate in certificate chain
>> HTTP request sent, awaiting response... 401 Authorization Required
>> Authorization failed.
>> voip bin #
>>
>> And it works fine, outside of not having valid credentials ;). Note the
>> need to add the --no-check-certificate option since the ssl certificate
>> is self-signed by GoDaddy.
>>
>> If you are using the via architecture, I have wget already compiled and
>> could send it to you to make things easier.
>>
>> -James
>>
>>
>> On 09/28/2010 05:23 PM, John Novack wrote:
>>
>>      
>>> Thanks for the reply, but that isn't an option in this case, as there
>>> are 15-25 nodes that need this.
>>> I'll have to dream up another way
>>>
>>> John Novack
>>>
>>>
>>> James Babiak wrote:
>>>
>>>
>>>        
>>>> John,
>>>>
>>>> I don't believe the busybox wget includes support for specifying a
>>>> username or password. I tested it out on 0.7.2, with the same results.
>>>> You can always build the real wget package and put the binary on your
>>>> box if you need that option.
>>>>
>>>> -James
>>>>
>>>>
>>>> On 09/28/2010 02:12 PM, John Novack wrote:
>>>>
>>>>
>>>>
>>>>          
>>>>> Any insight into the wget issue with the busybox used with AstLinux?
>>>>>
>>>>> Attempting to pass a user name and password result in an error
>>>>>
>>>>> wget -O /tmp/calltokens.txt --http-user=aaaaaaaaaaa 
>>>>> --http-password=xxxxxxxxxxx 
>>>>> https://ckts.shaneyoung.com/secure/acl/iaxacl.txt
>>>>>
>>>>> results in the error message :
>>>>>
>>>>> wget: unrecognized option `--http-user=aaaaaaaaaaa '
>>>>>
>>>>> CentOS Linux does as expected
>>>>>
>>>>> So far Google has not been helpful
>>>>>
>>>>> I have only tested so far with AstLinux 0.5, the machine available to me
>>>>> If a later busybox version was used in 0.6 or 0.7, and can login
>>>>>
>>>>> John Novack
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>            
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing.
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Astlinux-users mailing list
>>>> Astlinux-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>>>
>>>> Donations to support AstLinux are graciously accepted via PayPal to 
>>>> pay...@krisk.org.
>>>>
>>>>
>>>>
>>>>
>>>>          
>>>
>>>        
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Astlinux-users mailing list
>> Astlinux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>
>> Donations to support AstLinux are graciously accepted via PayPal to 
>> pay...@krisk.org.
>>
>>
>>      
>    

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to