Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: helasz on August 11, 2009, 05:26:32 AM
-
Hi All,
I do not manage to access repository through our proxy.
I did follow suggested ways in FAQ, forums, but did not succeed.
1) Where should I put
export http_proxy="193.134.32.12:8008"
in order to set it up automatically at boot?
I have tried /opt/eth0.sh (referenced from /opt/bootlocal.sh), but http_proxy environmental variable is empty (not set) after boot process completes.
2) If I set http_proxy manually I can ping the same ip (152.46.7.109) appbrowser claims not being able to access
Am I missing something?
any suggestion would be appreciated,
helasz
-
1. that's not what it's meant for - see below
2. it isn't set, therefore it isn't used
Just for appbrowser: execute it after the export statement, i.e.
export http_proxy=...
...
appbrowser
...
Per-user session setting: add the export statement to ~/.profile (for the default shell)
System-wide setting: add it to /etc/profile
-
Thanks!
per user session setting is working fro me, for the system wide one I guess I should remaster TC.
-
export http_proxy="ip:port" is not working for me. I had to add 'http://' at the beginning of the string:
export http_proxy="http://193.134.32.12:8008"
if this is a rule the relative howtos should be updated.
-
I think it's best to add the 'export http_proxy=http://....' to the .profile file in the tc home directory.
regards