Date: Thu, 7 Sep 2000 06:32:42 +0200 From: Mark Rowlands <mark.rowlands@minmail.net> To: "Tomlinson, Drew" <Drew.Tomlinson@lc.ca.gov>, "'igorr@crosswinds.net'" <igorr@crosswinds.net>, "'FreeBSD Questions (E-mail)'" <freebsd-questions@FreeBSD.ORG>, "'Lowell Gilbert'" <lowell@world.std.com> Subject: Re: How to Tell FBSD to Use Proxy Server - STILL STUCK Message-ID: <00090706421300.29558@marbsd.tninet.se> In-Reply-To: <8C224DC088D8D111B67D0000F67AC17E029C4A3B@ldcmsx01.lc.ca.gov> References: <8C224DC088D8D111B67D0000F67AC17E029C4A3B@ldcmsx01.lc.ca.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00090706421300.29558>