Using DSL behind the corporate proxy serverForum: Networking Topic: Using DSL behind the corporate proxy server started by: Max Posted by Max on June 23 2005,17:50
For those of you who need to get DSL working from behind your company's proxy server, here's what worked for me......edit the .bash_profile file in the /home/dsl directory (it's a hidden file, so if you're using emelfm, then you'll need to click on the "H" button to find it) add these two lines after the first "export" statement in the file export http_proxy='http://userid:password@proxy.yourcompanyserver.com:port' export ftp_proxy='http://userid:password@proxy.yourcompanyserver.com:port' A real example might be: export http_proxy='http://aaaa:password@proxy.mycompany.com:8080' export ftp_proxy='http://aaaa:password@proxy.mycompany.com:8080' save the file. when you shut down the system the new version of the file will be written to the backup file, next time you reboot it will all be set for you. If you want it to run immeadiately without rebooting, then exit the Window Manager and type .bash_profile from the prompt and hit enter. Now all the mydsl panel applications will work and you can apt-get manually to your heart's desire. Loading that flash plugin off the menu is a breeze.... Note that adding the lines into /opt/bootlocal.sh didn't work for me. I think it's because when that gets processed the logged in user is "root", whereas when .bash_profile gets processed the system is logged in under the "dsl" user. Unfortunately, Firefox doesn't use this environment variable, so you still have to set up the proxy definition seperately in Firefox itself. Hope this helps others who are in the same situation I was in.... Posted by SaidinUnleashed on June 23 2005,18:10
Adding this to the Docs.Great work~! Posted by Max on June 23 2005,18:29
SaidinU,I added a short example to the above post so folks could see what it might really look like.... Posted by SaidinUnleashed on June 23 2005,18:41
http://www.damnsmalllinux.org/talk/node/218Your first example was good enough for 99% of people to understand. Posted by charliep on July 25 2005,13:05
This worked great for me. One tip: Don't make any typing errors or the boot process will not finish. In my case our proxy does not have a name so I used:export http_proxy='http://195.79.198.30:80' export ftp_proxy='http://195.79.198.30:80' |