From: <HHu...@t-...> - 2003-08-06 13:33:42
|
Hallo, trinux-talk, how can I tell trinux to use a proxy? Viele Gruesse! Helmut |
From: Matthew F. <mf...@ci...> - 2003-08-08 02:15:02
|
I'll need to update the getpkg script to read /etc/tux/config/proxy and set SNARF_PROXY to that value. # snarf --help This is snarf, version 7.0 usage: snarf [OPTIONS] URL [OUTFILE] ... Options: -a Force active FTP (default is passive) -v Verbose; print anything the server sends -q Don't print progress bars (compiled default is on) -p Force printing of progress bars (overrides -q) -r Resume downloading a partially transferred file -n Ignore '-r' and transfer file in its entirety -m Spoof MSIE user-agent string -z Spoof Navigator user-agent string Lowercase option letters only affect the URLs that immediately follow them. If you give an option in caps, it will be the default option for all URLs that follow it. If you specify the outfile as '-', the file will be printed to standard output as it downloads. You can have as many URLs and outfiles as you want You can specify a username and password for ftp or http authentication. The format is: ftp://username:password@host/ If you don't specify a password, you will be prompted for one. snarf checks the SNARF_PROXY, FTP_PROXY, GOPHER_PROXY, HTTP_PROXY, and PROXY environment variables. snarf is free software and has NO WARRANTY. See the file COPYING for details. > Hallo, trinux-talk, > > how can I tell trinux to use a proxy? > > 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 |
From: <HHu...@t-...> - 2003-08-09 15:33:03
|
Hallo, Matthew, Du meintest am 07.08.03 zum Thema Re: [Trinux-talk] proxy: >> how can I tell trinux to use a proxy? > 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 |
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 |