Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Using DSL behind the corporate proxy server, simple and easy< Next Oldest | Next Newest >
Max Offline





Group: Members
Posts: 211
Joined: July 2004
Posted: June 23 2005,17:50 QUOTE

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....


--------------
Using DSL on: IBM T42, IBM 560x, Dell Dimension CPx
Back to top
Profile PM 
SaidinUnleashed Offline





Group: Members
Posts: 1428
Joined: Mar. 2004
Posted: June 23 2005,18:10 QUOTE

Adding this to the Docs.

Great work~!


--------------
They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, cause if you play it forwards, it installs Windows.

Unleash the power of the TILDE~~~
Back to top
Profile PM AOL MSN YIM 
Max Offline





Group: Members
Posts: 211
Joined: July 2004
Posted: June 23 2005,18:29 QUOTE

SaidinU,

I added a short example to the above post so folks could see what it might really look like....


--------------
Using DSL on: IBM T42, IBM 560x, Dell Dimension CPx
Back to top
Profile PM 
SaidinUnleashed Offline





Group: Members
Posts: 1428
Joined: Mar. 2004
Posted: June 23 2005,18:41 QUOTE

http://www.damnsmalllinux.org/talk/node/218

Your first example was good enough for 99% of people to understand.


--------------
They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, cause if you play it forwards, it installs Windows.

Unleash the power of the TILDE~~~
Back to top
Profile PM AOL MSN YIM 
charliep Offline





Group: Members
Posts: 2
Joined: April 2005
Posted: July 25 2005,13:05 QUOTE

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'
Back to top
Profile PM 
4 replies since June 23 2005,17:50 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Using DSL behind the corporate proxy server

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code