PDA

View Full Version : Windows as gateway



phroot
09-08-2003, 02:56 PM
i use winxp and wingate software to sharing internet
and in the linux(knoppix on hd) i can browse the web using proxy server (192.168.0.1:80)
and already change the network setting in control panel

my question is

1. how to run apt-get and tell apt-get to through the proxy server
cos when i run apt-get on a konsole or shell its doesnt works cos the
apt-get trying to connect directly not to the proxy server first

2. how to use ident on the xchat ?? cos when i check use proxy server
and dalnet was killed the connection because no ident and i cant
connect at all to the dalnet server but i can connect to efnet and other
irc server that dont need ident

thx, sorry for my bad english..

rickenbacherus
09-08-2003, 03:50 PM
i use winxp and wingate software to sharing internet
and in the linux(knoppix on hd) i can browse the web using proxy server (192.168.0.1:80)
and already change the network setting in control panel

my question is

1. how to run apt-get and tell apt-get to through the proxy server
cos when i run apt-get on a konsole or shell its doesnt works cos the
apt-get trying to connect directly not to the proxy server first

Edit the /etc/apt/apt.conf file and add this section to your configuration:

ACQUIRE {

http {

Proxy "http://proxy.somewhere.com:1234/";

};

};

Change the "http://proxy.somewhere.com:1234/" above to the URL of your proxy server. If your proxy server requires authentication you can add your username/password to the URL like this:

http://username:password@proxy.somewhere.com:1234

The port may not be necessary for your proxy server.
Sorry- I don't know about your other question.

phroot
09-08-2003, 06:08 PM
hey that works 8)

thank very much

phroot
09-08-2003, 06:11 PM
oh yeah one thing again, sorry if i ask again
how to save the package that downloaded ?
cos i want to run it on another computer
or i just have to run apt-get update on all computer ??