LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to connect to Internet using LAN (https://www.linuxquestions.org/questions/linux-networking-3/how-to-connect-to-internet-using-lan-372592/)

bongski55 10-13-2005 07:47 AM

How to connect to Internet using LAN
 
When I browse using firefox I am prompted for the proxy user and password to connect to ethernet.It works ok-I am able to browse the web in firefox.
I want to do apt-get on the console.How do I connect to the internet ?I tried but since I did not enter any user data(username and password) apt-get did not work.
Please help.

Slim_Pikins 10-13-2005 08:10 AM

Hi

Add a line like this to your /etc/apt/apt.conf:
acquire:: http:: proxy "http: //username: password@proxy: port"


if that don't work try this site http://www.ipaterson.ca/writings/tec...get.proxy.html


Slim Pikins

edit : looks like the site is formating my : and / as a smiley so Ive added extra spaces

bongski55 10-13-2005 08:29 AM

link worked for me !
thanks!


All times are GMT -5. The time now is 03:02 AM.