From 763ae4e191e09c60dd35faf569f56781515273ba Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 1 Apr 2016 11:15:28 -0700 Subject: ref-manual: Updated verbiage on proxy handling Fixes [YOCTO #9313] Update the DL_DIR variable description to add a cross-reference to the wiki page that talks about working behind a firewall. Updated the 14.12 FAQ entry with new information about working behind the firewall. (From yocto-docs rev: 056e6881951023e62a7363ba60fe73cd6d2932b6) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/faq.xml | 42 ++++++++++++++++++------------ documentation/ref-manual/ref-variables.xml | 3 +++ 2 files changed, 29 insertions(+), 16 deletions(-) (limited to 'documentation') diff --git a/documentation/ref-manual/faq.xml b/documentation/ref-manual/faq.xml index 3137639d9a..d2e4e8eb1b 100644 --- a/documentation/ref-manual/faq.xml +++ b/documentation/ref-manual/faq.xml @@ -280,7 +280,7 @@ - + I'm behind a firewall and need to use a proxy server. How do I do that? @@ -288,24 +288,34 @@ Most source fetching by the OpenEmbedded build system is done by wget and you therefore need to specify - the proxy settings in a .wgetrc file - in your home directory. - Following are some example settings for different proxy types: + the proxy settings in a .wgetrc file, + which can be in your home directory if you are a single user + or can be in /usr/local/etc/wgetrc as + a global user file. + + + + Following is the applicable code for setting various proxy + types in the .wgetrc file. + By default, these settings are disabled with comments. + To use them, remove the comments: - Http/FTP proxy: - https_proxy = http://proxy.yoyodyne.com:18023/ - http_proxy = http://proxy.yoyodyne.com:18023/ - ftp_proxy = http://proxy.yoyodyne.com:18023/ - - socks proxy: - export SOCKS_SERVER=`server:port` - unset http_proxy - unset https_proxy - unset ftp_proxy + # You can set the default proxies for Wget to use for http, https, and ftp. + # They will override the value in the environment. + #https_proxy = http://proxy.yoyodyne.com:18023/ + #http_proxy = http://proxy.yoyodyne.com:18023/ + #ftp_proxy = http://proxy.yoyodyne.com:18023/ + + # If you do not want to use proxy at all, set this to off. + #use_proxy = on The Yocto Project also includes a - site.conf.sample file that shows how to - configure CVS and Git proxy servers if needed. + meta-poky/conf/site.conf.sample file that + shows how to configure CVS and Git proxy servers if needed. + For more information on setting up various proxy types and + configuring proxy servers, see the + "Working Behind a Network Proxy" + Wiki page. diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 45015a4096..fa652e57a1 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -3415,6 +3415,9 @@ see this specific question in the "FAQ" chapter. + You can also refer to the + "Working Behind a Network Proxy" + Wiki page. -- cgit v1.2.3-54-g00ecf