maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Harmattan Proxy settings (https://talk.maemo.org/showthread.php?t=84222)

solbrit 2015-02-10 15:43

Re: Harmattan Proxy settings
 
I know how to enable a proxy in settings, but how do you enable it from terminal? I thought this would do the trick
Code:

export http_proxy=http://server:port
but it seems to do nothing, neither as user nor as root...

peterleinchen 2015-02-10 23:37

Re: Harmattan Proxy settings
 
It does.

But only for that terminal.
And what a bout http_user and http_pass?
or htttp_proxy=user:pass@server.com:port
What do you try to establish?

--edit
Nice one ;)
http_proxy = user : pass @ server.com : port

solbrit 2015-02-10 23:52

Re: Harmattan Proxy settings
 
Basically I want to make a desktop file that'll run a script that first enables http/https (or better yet, socks) proxy and then opens an ssh tunnel to the server.

Edit: What I'd really like to know is how to enable through terminal the same global proxy settings (not just that terminal) that you can get going to settings and editing the network connection in there.

peterleinchen 2015-02-11 06:36

Re: Harmattan Proxy settings
 
Problem with Harmattan (also Fremantle) is there is no real 'global' proxy settings. The one from settings mainly (only?) affeccts browser but not any terminal proggie.

Not sure atm where it is stored, I would peek with
gconftool -R / | grep -i proxy

solbrit 2015-02-11 09:33

Re: Harmattan Proxy settings
 
Quote:

Originally Posted by peterleinchen (Post 1460376)
Problem with Harmattan (also Fremantle) is there is no real 'global' proxy settings. The one from settings mainly (only?) affeccts browser but not any terminal proggie.

Not sure atm where it is stored, I would peek with
gconftool -R / | grep -i proxy

Thanks, that shows the server and port are set, so I tried this:
Code:

gconftool --set /system/proxy/mode --type string manual
gconftool --set /system/http_proxy/use_http_proxy --type bool true

But checking the browser it seems nothing has changed...


All times are GMT. The time now is 21:09.

vBulletin® Version 3.8.8