From owner-freebsd-questions Wed Sep 6 21:42:18 2000 Delivered-To: freebsd-questions@freebsd.org Received: from rush.telenordia.se (mail.telenordia.se [194.213.64.42]) by hub.freebsd.org (Postfix) with SMTP id B9D0F37B423 for ; Wed, 6 Sep 2000 21:42:14 -0700 (PDT) Received: (qmail 17787 invoked from network); 7 Sep 2000 06:42:13 +0200 Received: from bb-62-5-4-193.bb.tninet.se (HELO marbsd.tninet.se) (62.5.4.193) by mail.telenordia.se with SMTP; 7 Sep 2000 06:42:13 +0200 From: Mark Rowlands Reply-To: mark.rowlands@minmail.net To: "Tomlinson, Drew" , "'igorr@crosswinds.net'" , "'FreeBSD Questions (E-mail)'" , "'Lowell Gilbert'" Subject: Re: How to Tell FBSD to Use Proxy Server - STILL STUCK Date: Thu, 7 Sep 2000 06:32:42 +0200 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain References: <8C224DC088D8D111B67D0000F67AC17E029C4A3B@ldcmsx01.lc.ca.gov> In-Reply-To: <8C224DC088D8D111B67D0000F67AC17E029C4A3B@ldcmsx01.lc.ca.gov> MIME-Version: 1.0 Message-Id: <00090706421300.29558@marbsd.tninet.se> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 06 Sep 2000, Tomlinson, Drew wrote: > > Thank you and the others for your responses. However, I am still stuck. > > My shell is tsch. I have tried setting the variables using both 'set' and > 'setenv'. If I understand correctly, 'set' is for my login environment and > 'setenv' is for the system environment. From what I get from 'man ftp', I > think I'm supposed to use 'setenv'. Is this correct? After setting the > variables, I can verify that they exist by using either the 'set' or > 'setenv' as appropriate. I am using the variable 'ftp_proxy' and ensuring > it is lower case as indicated by 'man' and I have used both the IP address > and the machine name. The FreeBSD can ping and connect to the Win 2K so I > know the network portion is functioning. > > My Win 2K machine has IP of 192.168.0.254 and is named 'bigdaddy'. Proxy > services on the Win 2K machine are set to the normal ports. Other Windows > machines on my network can use the proxy without problems so I am sure it's > the FreeBSD machine that is not configured correctly. > > -----Original Message----- > From: Igor Roboul [mailto:igor@raduga.dyndns.org] > Sent: Tuesday, September 05, 2000 10:02 PM > To: 'FreeBSD Questions (E-mail)' > Subject: Re: How to Tell FBSD to Use Proxy Server > > > On Tue, Sep 05, 2000 at 03:36:03PM -0700, Tomlinson, Drew wrote: > > I'm not sure I'm making sense but I want to start an ftp session on my > > FreeBSD box. My FreeBSD box is only connected via LAN to my Win 2K > machine. > > The Win 2K machine has an Internet connection and is running proxy server > > software (Wingate). I want FreeBSD to connect to the Internet through the > > Win 2K machine. > Hello, > this is not so common :-) Normal way is to use FreeBSD as gate, but > there is so nice command by name 'man' (shor of manual) > Just say "man ftp" (without quotes on shell prompt) > Then search (hit /) for proxy > You'll find (near end of manual): > > ftp_proxy URL of FTP proxy to use when making FTP URL requests > (if not defined, use the standard ftp protocol). > > http_proxy URL of HTTP proxy to use when making HTTP URL > requests. > > To set environment variable use 'setenv ftp_proxy _something_' if your shell > is csh/tcsh or 'export ftp_proxy=_something_' if your shell is sh/bash/zsh > etc. > Place these commands to your starup file (.login for csh or .profile for sh) > > And, please, before asking something look into documentation. There is so > nice command 'man'. > > Good luck. > > -- > Igor Roboul, Unix System Administrator & Programmer @ sanatorium "Raduga", > Sochi, Russia > http://www.brainbench.com/transcript.jsp?pid=304744 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > istr a long thread on this in the archives about this - so checkout deja.com but you can try http_proxy='my.proxy.com:80' export http_proxy you could also try setting the internal address of the proxy as your gateway address and see if that helps -- Mark Rowlands +4686224510 GMT + 1 _______________________________________________ These opinions are mine, they are just opinions you are free to disagree, please do so quietly _______________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message