Re: Ethernet controller
It would also be a good idea to put this export statement in one of your
shell startup files so you don't have to type it in every time. If using
bash, .bash_profile would probably be a good choice.
- Chris
On Mon, Jul 08, 2002 at 11:48:33AM +0200, Adam Galant wrote:
> Hello again.
>
> Glad to be helpful last time.
>
> You should _export_, not only _set_ the http_proxy variable.
>
> When you type:
> http_proxy="..."
> you set a shell variable, which is only recognized by this shell process.
>
> When you type:
> export http_proxy="..."
> you export an environment variable, which can then be recognized by
> the processes which inherit your shell's environment (like these which are
> executed from within this shell).
>
> You should also provide either full URL of your proxy server (i.e. with
> domain part) or its IP form - otherwise apt won't be able to resolve your
> URL.
>
> Regards,
>
> Adam
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Adam Galant
> o
> Programmer, network administrator O
> Telestar Electronics Ltd. /|\/`
> \ |_
> phone: (+48) (022) 332 32 85 ' | |.
> |.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> On Sat, 6 Jul 2002, John McPeek wrote:
>
> > Hi Adam,
> > First, Thanks. Your answer was exactly what I was looking for. It seems
> > that eth0 is good to go. I missed the cause of my problem. The big story is
> > that I can't connect to the Net to download new stuff. My server is oak and
> > I configure the network with DHCP. I seem to be able to ping oak now, but I
> > can't get to the net. I have read the "proxy" stuff for apt-get but I can't
> > seem to figure out how to do it anyway.
> > 1) I type:
> > http_proxy="http://oak:8080" have also tried
> > http_proxy="http://oak:80"
> > dselect
> > 2) In dselect, I hit '0' for access method
> > hit enter to accept apt
> > 3) the source is:
> > http://http.us.debian.org:80/debian/
> > 4) update packages
> > 5) can't find anything
> >
> > any words of wisdom?
> >
> > John McPeek
> >
>
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: