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
Pages: (2) </ [1] 2 >/

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

reply to topic new topic new poll
Topic: Using DSL Behind Proxy Server< Next Oldest | Next Newest >
wastred Offline





Group: Members
Posts: 1
Joined: Jan. 2007
Posted: Jan. 12 2007,21:07 QUOTE

I just installed DSL to the hard-disk, and got my LAN card to work. I am on a college LAN, through which I am connected to the internet. In Windows, we use "172.24.2.1" as the proxy server with port 8080. I used the same setting with success in Firefox. However, if I try to Enable Apt, or install Synaptic, I get the following errors.

Code Sample

Grabbing the compressed dpkg database and programs...
wget: server returned error 504: HTTP/1.0 504 Gateway Time-out
Connecting to 172.24.2.1 [172.24.2.1]:8080
wget: server returned error 504: HTTP/1.0 504 Gateway Time-out
Download error!
Press Enter to continue...


This is after I followed the advice given in the following topic:
http://www.damnsmalllinux.org/wiki...._Server

The contents of my /<user>/.bash_profile file are as follows:

Code Sample
#!/bin/bash
export IRCNICK=DSL
export http_proxy='http://172.24.2.1:8080'
export ftp_proxy='http://172.24.2.1:8080'

SSH=`env | grep SSH_CONNECTION`
RUNLEVEL=`runlevel|cut -f2 -d' '`
if [ -z "$SSH" ]; then
  if [ $RUNLEVEL -eq 5 ]; then
      startx
  fi
fi



Due to this, I am unable to install anything, as my version of DSL does not come equipped with a C compiler, owing to which I cannot use ./configure to install external .deb packages.
Please help... :(
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Jan. 12 2007,22:33 QUOTE

1. use mydsl - its much easier.

2. If you want to continue to try using apt, I believe you need to change your apt repositories (sources.list)
Back to top
Profile PM 
Wittfella Offline





Group: Members
Posts: 33
Joined: Sep. 2006
Posted: Feb. 16 2007,03:44 QUOTE

Try also with a / on the end

eg. http_proxy="http://172.24.2.1:8080/"
Back to top
Profile PM 
damdoodle Offline





Group: Members
Posts: 3
Joined: Feb. 2007
Posted: Feb. 21 2007,13:58 QUOTE

This does not seem to be working.

1 - Tried all reasonable permutations of the syntax
2 - The same proxy works when defined in FireFox
3 - The mirror is accessible fine from a Win desktop

Did anyone manage to set this up? Care to share a real-world example? Does it expect username/password (our proxy doesn't need it) and in that case what to enter for such a proxy?

Thanks.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Feb. 21 2007,23:09 QUOTE

Did you relogin/restart after you edited that file?

You could also try something like...
Code Sample
sudo su
export http_proxy="http://172.24.2.1:8080"
apt-get update
Back to top
Profile PM 
9 replies since Jan. 12 2007,21:07 < Next Oldest | Next Newest >

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

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Using DSL Behind 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