<div><span class="gmail_quote"></span>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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
proxy.example-company.com</a> is a DNS name only available inside the network). <br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ftp://proxy.example-company:8080</a><br>smart config --set http-proxy=<a href="http://proxy.example-company:8080" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

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><span class="sg"><br>Grant<br><br></span></blockquote></div><br>Here is proxy section of the output of smart config --show<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
 'ftp-proxy': '<a href="http://proxy.mascorp.com:8080">http://proxy.mascorp.com:8080</a>',<br> 'gtk-size': (680, 583),<br> 'gtk-vpaned-position': 227,<br> 'http-proxy': '<a href="http://proxy.mascorp.com:8080">
http://proxy.mascorp.com:8080</a>',<br></blockquote><br>Also here are the error messages for both the ftp and http sections when trying to do smart update. I have both http and ftp proxies set.<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
Fetching information for 'Guru smart repository'...<br>-> <a href="http://ftp.gwdg.de/pub/linux/misc/suser-guru/smart/repo/10.2/repodata/repomd.xml">http://ftp.gwdg.de/pub/linux/misc/suser-guru/smart/repo/10.2/repodata/repomd.xml
</a>                                         <br>repomd.xml                                                                                                            [ 63%]<br>error: Failed acquiring release file for 'Guru smart repository':                                                           
<br>error: <a href="http://ftp.gwdg.de/pub/linux/misc/suser-guru/smart/repo/10.2/repodata/repomd.xml">http://ftp.gwdg.de/pub/linux/misc/suser-guru/smart/repo/10.2/repodata/repomd.xml</a>: (-2, 'Name or service not known')
<br></blockquote><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">Fetching information for 'SUSE Linux Online Updates'...<br>-> 
<a href="ftp://ftp.suse.com/pub/suse/update/10.2/repodata/repomd.xml">ftp://ftp.suse.com/pub/suse/update/10.2/repodata/repomd.xml</a>                                                              <br>repomd.xml                                        ################################################################### [ 53%]
<br></blockquote><br>Notice that even though I have both proxies set and to the same machine which is not available from where I'm testing it the ftp download succeeds but the http download does not.<br><br>Grant<br>