Reply
 
Thread Tools Display Modes
  #11  
Old 08-03-2012, 10:26 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,428
Thanks: 0
Thanked 103 Times in 85 Posts
Default Dedn't resolve issue
Ok, I need the output from this then:

# /usr/local/etc/rc.d/pbid stop
# pbid -v
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #12  
Old 09-24-2012, 06:55 PM
TWiN TWiN is offline
Junior Member
 
Join Date: Sep 2007
Posts: 28
Thanks: 1
Thanked 0 Times in 0 Posts
Default
This worked for me.
my proxy is: proxy.domain.com
port is: 3128

1. configured proxy via the network interface
2. added this to the /etc/profile
HTTP_PROXY=proxy.domain.com:3128; export HTTP_PROXY
3. updated the pbid as suggested by kmoore (with the pbid restart)
% svn co svn://svn.pcbsd.org/pcbsd/current/src-sh/pbi-manager pbi-manager
% cd pbi-manager
% sudo make install
% sudo /usr/local/etc/rc.d/pbid restart
4. set the main repository for AppCafe to be the HTTP once (click on Repositories then "configure repository" and set the HTTP to be the first in line)

Update manager as well as appcafe started to work correctly
__________________
You rush a miracle man, you get rotten miracles.

Last edited by TWiN; 09-24-2012 at 07:00 PM.
Reply With Quote
  #13  
Old 09-24-2012, 07:09 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,428
Thanks: 0
Thanked 103 Times in 85 Posts
Default HTTP Repository
Great! This should work for all our PC-BSD utilities in 9.1-RC2 as well.
We should be able to support any proxy configuration that FreeBSD's
"fetch" command does.
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
The Following User Says Thank You to kmoore134 For This Useful Post:
TWiN (09-24-2012)
  #14  
Old 09-24-2012, 07:43 PM
TWiN TWiN is offline
Junior Member
 
Join Date: Sep 2007
Posts: 28
Thanks: 1
Thanked 0 Times in 0 Posts
Default
Can we make the Network manager automatically add such line to the /etc/profile ?

I also have the configuration to allow chrome to use the proxy, I just handcode it for now, but would be creat if the chrome-wrapper would read the system proxy

those are the steps for chromium:

cd <chrome pbi folder>/share/chromium
mv chrome chrome.bin
mv chrome-wrapper chrome
change the last line from
exec $CMD_PREFIX "$HERE/chrome" "$@"
into
exec $CMD_PREFIX "$HERE/chrome.bin" --proxy-server="proxy.domain.com:3128" "$@"

in other words the wrapper should be the executable and then if there is a proxy in the system (or in /etc/profile) use the proxy-server directive. Such setting works for all the OS
__________________
You rush a miracle man, you get rotten miracles.
Reply With Quote
  #15  
Old 09-24-2012, 07:55 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,428
Thanks: 0
Thanked 103 Times in 85 Posts
Default HTTP Repository
The network manager GUI in 9.1-RC2 has this support.

As for the chrome proxy, is there no way to set it in the GUI after
launching it?
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #16  
Old 09-24-2012, 08:00 PM
TWiN TWiN is offline
Junior Member
 
Join Date: Sep 2007
Posts: 28
Thanks: 1
Thanked 0 Times in 0 Posts
Default
This is the message I get when trying to configure it:
----
When running Chromium under a supported desktop environment, the system proxy settings will be used. However, either your system is not supported or there was a problem launching your system configuration.

But you can still configure via the command line. Please see man chrome.bin for more information on flags and environment variables.
----
__________________
You rush a miracle man, you get rotten miracles.
Reply With Quote
  #17  
Old 09-24-2012, 09:56 PM
TWiN TWiN is offline
Junior Member
 
Join Date: Sep 2007
Posts: 28
Thanks: 1
Thanked 0 Times in 0 Posts
Default
I was able to make chromium work without change the PBI
in /etc/profile I had to add the lower and upper case "HTTP_PROXY" as well as "HTTS_PROXY" and the "NO_PROXY"
mine looks like this:

HTTP_PROXY=proxy.domain.com:3128; export HTTP_PROXY
HTTPS_PROXY=proxy.domain.com:3128; export HTTPS_PROXY
NO_PROXY="localhost,127.0.0.1,localaddress,.locald omain.com"; export NO_PROXY
http_proxy=proxy.domain.com:3128; export http_proxy
https_proxy=proxy.domain.com:3128; export https_proxy
no_proxy="localhost,127.0.0.1,localaddress,.locald omain.com"; export no_proxy
__________________
You rush a miracle man, you get rotten miracles.

Last edited by TWiN; 09-24-2012 at 10:02 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:29 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.