[OLPC-AU] Browse activity, XO 1.5 and an authenticating proxy server

Jerry Vonau jvonau at shaw.ca
Mon Oct 18 03:22:29 EDT 2010


On Sun, 2010-10-17 at 22:09 -0700, IanCunningham wrote:
> Hi,
> 
> When trying to access the Internet on an XO 1.5 with os852, firmware
> Q3A50 and Browse-108, the Browse activity does not prompt for username
> and password. It Internet site cannot be accessed. The system proxy
> settings have been set in Gnome and Firefox works both in Gnome and
> from the terminal prompt in Sugar. I noted that about:config cannot be
> modified in Browse. We can browse intranet sites which do not require
> a proxy. The same thing occurs with an XO-1 running os852 firmware
> Q2E45 and Browse-108.  Is there a way to show Browse the proxy server
> address?
> 
> Cheers    Ian

Hi Ian:

You need to convert the gconftool-2 commands you were using to strings
for a prefs.js file. 
/home/olpc/.sugar/default/org.laptop.WebActivity/data/gecko/prefs.js on
an XO-1.5
/home/olpc/isolation/1/gid_to_data_dir/10001/gecko/prefs.js on an XO-1

I haven't tried this with a proxy that you need to authenticate too yet.

Create the file pref.js containing: (having been tested by me)

user_pref("network.proxy.http", "<$PADDR>");
user_pref("network.proxy.http_port", <$PPORT>);
user_pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, \
schoolserver schoolserver.<DOMAIN>");
user_pref("network.proxy.type", 1);

(The untested part would be)

user_pref("network.proxy.use_authentication", 1);
user_pref("network.proxy.authentication_user", <username> );
user_pref("network.proxy.authentication_password", <password> );

What were the commands that you used with gconftool-2?


Jerry




More information about the OLPC-AU mailing list