← Back to team overview

ubuntu-phone team mailing list archive

Re: Proxy settings, system wide or for browser?

 


On 06/05/15 15:55, Olivier Tilloy wrote:
> On Wed, May 6, 2015 at 3:50 PM, Marcus Esser <marcus.esser@xxxxxxxxx> wrote:
>> Hello,
>>
>> On 06/05/15 11:17, Roberto Resoli wrote:
>>> Il 05/05/2015 21:37, Marcus Esser ha scritto:
>>>> Hello,
>>>> is there a way to set system wide or at least browser only network proxy
>>>> settings in Ubuntu Touch?
>>> Just tried on my bq (r21) and it seems that gconf settings for system
>>> wide proxy are supported:
>>>
>>> gsettings list-recursively org.gnome.system.proxy
>>>
>>> org.gnome.system.proxy use-same-proxy true
>>> org.gnome.system.proxy mode 'none'
>>> org.gnome.system.proxy autoconfig-url ''
>>> org.gnome.system.proxy ignore-hosts ['localhost', '127.0.0.0/8', '::1']
>>> org.gnome.system.proxy.ftp host ''
>>> org.gnome.system.proxy.ftp port 0
>>> org.gnome.system.proxy.socks host ''
>>> org.gnome.system.proxy.socks port 0
>>> org.gnome.system.proxy.http host ''
>>> org.gnome.system.proxy.http port 8080
>>> org.gnome.system.proxy.http use-authentication false
>>> org.gnome.system.proxy.http authentication-password ''
>>> org.gnome.system.proxy.http authentication-user ''
>>> org.gnome.system.proxy.http enabled false
>>> org.gnome.system.proxy.https host ''
>>> org.gnome.system.proxy.https port 0
>>>
>>> bye,
>>> rob
>>>
>> thank you, I am able to change the settings on the phone to the values
>> that do work properly on my Ubuntu 14.04 systems:
>>
>> gsettings set org.gnome.system.proxy use-same-proxy false
>> gsettings set org.gnome.system.proxy mode "'manual'"
>> gsettings set org.gnome.system.proxy ignore-hosts "['localhost',
>> '127.0.0.0/8', '192.168.0.0/16', '::1']"
>> gsettings set org.gnome.system.proxy.ftp host "'192.168.112.1'"
>> gsettings set org.gnome.system.proxy.ftp port 800
>> gsettings set org.gnome.system.proxy.socks host "'192.168.112.1'"
>> gsettings set org.gnome.system.proxy.socks port 800
>> gsettings set org.gnome.system.proxy.http host "'192.168.112.1'"
>> gsettings set org.gnome.system.proxy.http port 800
>> gsettings set org.gnome.system.proxy.http use-authentication false
>> gsettings set org.gnome.system.proxy.http enabled true
>> gsettings set org.gnome.system.proxy.https host "'192.168.112.1'"
>> gsettings set org.gnome.system.proxy.https port 800
>>
>> and the values do persist.
>>
>> Unfortunately the browser does not seem to use those system proxy
>> settings. Also the proxy logs don't show any entry from the phone after
>> those setting changes.
>>
>> Does anybody have an idea how to configure the browser to use the system
>> proxy settings?
> There’s currently no way to do that. Feel free to file a bug at
> https://bugs.launchpad.net/webbrowser-app/+filebug to request addition
> of such a feature.
Thank you for the info. I have filed a bug:
https://bugs.launchpad.net/webbrowser-app/+bug/1452291
M.


Follow ups

References