WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: exporting proxy not work in aterm  (Read 2233 times)

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
exporting proxy not work in aterm
« on: January 09, 2014, 09:28:22 AM »
When i give command export http_proxy=http://1.1.1.1:8080 its not work then i go to exit to promp mode and then  give export proxy command it will work any idea about this
Version 4.7.7
Malik Awan

“ Computers are good at following instructions, but not at reading your mind. ”

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: exporting proxy not work in aterm
« Reply #1 on: January 09, 2014, 10:35:39 AM »
Parents Don't inherit the environment of their children.
ENV variables set in an aterm are not visible in other aterms or in programs launched from the menus.
Create a file /etc/profile.d/proxy.sh that contains your export.
Then exit to prompt mode, logout, and log back in.

Make sure you add 'etc/profile.d/proxy.sh' to your /opt/.filetool.lst and do a backup.