I have a situation where there are a lot of mobile machines that roam inside and outside of a network. When they're inside the network they need to connect to an http/ftp proxy in order to access the outside. Setting this is easy in smart (smart config --set http-proxy=
<a href="http://proxy.example-company.com:8080">http://proxy.example-company.com:8080</a>). The problem is sometimes these machines are on the outside of the network and the proxy isn't available to them (<a href="http://proxy.example-company.com">
proxy.example-company.com</a> is a DNS name only available inside the network). <br><br>I was hoping (wishful) that if smart couldn't contact the proxy server it would attempt the action without the proxy. What would be the problem with this, it would just error out twice right? 
<br><br>To test this theory I changed the proxy settings like this<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">smart config --set ftp-proxy=
<a href="ftp://proxy.example-company:8080">ftp://proxy.example-company:8080</a><br>smart config --set http-proxy=<a href="http://proxy.example-company:8080">http://proxy.example-company:8080</a><br></blockquote><br>As well as this to cover my bases
<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"> smart config --set ftp-proxy=<a href="http://proxy.example-company:8080">http://proxy.example-company:8080
</a><br> smart config --set ftp-proxy=proxy.example-company:8080 <br> smart config --set http-proxy=proxy.example-company:8080<br></blockquote><br>The following syntax seems to work -> smart config --set http-proxy=<a href="http://proxy.example-company:8080">
http://proxy.example-company:8080</a>.<br>If I do this smart can't download or update the repo if the proxy server is not available even if the machine is on the public network and the repo could be accessed directly. I believe this to be the intended behavior.
<br><br>If I set the ftp-proxy setting in the same manner I can still download and/or update any repo list as if the proxy <br>setting wasn't even there. I've tried all of the above settings for ftp-proxy and they all work when I'm outside the network and the proxy server can't be reached. 
<br><br>So is this a problem with Smart not actually setting the proxy or is it just ignoring the proxy setting if the proxy isn't available?<br><br>I asked the Windows admin about the proxy settings and he said (in total Windows fashion) that the proxies only work with Internet Explorer and not the command line (cough sputter!). I didn't know whether to laugh or cry.
<br><br>Grant<br><br><br><br><br><br><br><br><br><br><div> </div><br><div> </div><br><br><br>