From: Matthew F. <mf...@ci...> - 2003-08-09 18:23:07
|
For some reason there is a problem with exporting environment variables. So anything you set within linuxrc or the /etc/init scripts doesn't work. So the solution is to put it within the getpkg script. The latest initrd.gz from http://trinux.sf.net/snaps/ has the new version of getpkg. So basically put your proxy setting in \tux\config\proxy (such as http://192.168.1.10:8080) and it should work just fine. - mdf > > I'll need to update the getpkg script to read /etc/tux/config/proxy > > and set SNARF_PROXY to that value. > > > # snarf --help > > Thanks - I have found some more informations: > A better explanation is in the "curl"-manpage. > > And then the "snarf"-manpage tells some special variables - may be > it's better to set the snarf proxy. > > I have tried to set the environment variable "HTTP_PROXY", but bash > didn't accept my tries. > No "set HTTP_PROXY=...". no "HTPP_PROXY=...; export ..." > "set" didn't show the variable. > Strange. > > Where could I define those variables: in "/tux/init/last" or in > "/tux/init/postpkg"? > > Or just another place? > > Viele Gruesse! > Helmut > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Trinux-talk mailing list > Tri...@li... > https://lists.sourceforge.net/lists/listinfo/trinux-talk -- ---------------------------------------------- Matthew Franz mf...@ci... Critical Infrastructure Assurance Group (CIAG) Cisco Systems, Inc. Austin, TX AIM/Yahoo: matthewdfranz |