Thread 'Setting Proxy Using boinccmd'

Message boards : BOINC client : Setting Proxy Using boinccmd
Message board moderation

To post messages, you must log in.

AuthorMessage
Russell

Send message
Joined: 13 Dec 06
Posts: 1
United States
Message 6936 - Posted: 13 Dec 2006, 3:36:54 UTC
Last modified: 13 Dec 2006, 3:37:22 UTC

I work from home and, as such, am sometimes connected via VPN. When I'm connected to my company's VPN, I have to use a proxy for BOINC communications. However, if the VPN connection drops (or I disconnect for some reason), I'd like to be able to turn the proxy setting on or off using a script.

I've figured out how to set the proxy settings using boinccmd --set_proxy_settings. However, that doesn't "enable" the proxy settings (that pseky little check mark in the BOINC Manager GUI).

How can I script that under WinXP and BOINC Manager 5.4.11?
ID: 6936 · Report as offensive
Evgeny Stepanov

Send message
Joined: 11 Jan 07
Posts: 5
Russia
Message 7414 - Posted: 11 Jan 2007, 15:48:13 UTC - in response to Message 6936.  

I work from home and, as such, am sometimes connected via VPN. When I'm connected to my company's VPN, I have to use a proxy for BOINC communications. However, if the VPN connection drops (or I disconnect for some reason), I'd like to be able to turn the proxy setting on or off using a script.



maybe it can be done through setting environment variable http_proxy
you can set it inside the script with set command like this:
set HTTP_PROXY=http://your.proxy.ip:3128/ (or whatever proxy port you use)
then restart boinc client

i didn't manage to set up proxy with --set_proxy_settings
i use env. vars
ID: 7414 · Report as offensive

Message boards : BOINC client : Setting Proxy Using boinccmd

Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.