Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Sep 2000 11:54:34 -0700
From:      "Tomlinson, Drew" <Drew.Tomlinson@lc.ca.gov>
To:        "'igorr@crosswinds.net'" <igorr@crosswinds.net>, "'FreeBSD Questions (E-mail)'" <freebsd-questions@FreeBSD.org>, 'Lowell Gilbert' <lowell@world.std.com>
Subject:   How to Tell FBSD to Use Proxy Server - STILL STUCK
Message-ID:  <8C224DC088D8D111B67D0000F67AC17E029C4A3B@ldcmsx01.lc.ca.gov>

next in thread | raw e-mail | index | archive | help
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--Boundary_(ID_qkII0W2iGLIexbq7dVs+wg)
Content-type: text/plain

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

--Boundary_(ID_qkII0W2iGLIexbq7dVs+wg)
Content-type: text/html
Content-transfer-encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>How to Tell FBSD to Use Proxy Server - STILL STUCK</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Thank you and the others for your responses.&nbsp; =
However, I am still stuck.</FONT>
</P>

<P><FONT SIZE=3D2>My shell is tsch.&nbsp; I have tried setting the =
variables using both 'set' and 'setenv'.&nbsp; If I understand =
correctly, 'set' is for my login environment and 'setenv' is for the =
system environment.&nbsp; From what I get from 'man ftp', I think I'm =
supposed to use 'setenv'.&nbsp; Is this correct?&nbsp; After setting =
the variables, I can verify that they exist by using either the 'set' =
or 'setenv' as appropriate.&nbsp; 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.&nbsp; The FreeBSD can ping =
and connect to the Win 2K so I know the network portion is =
functioning.</FONT></P>

<P><FONT SIZE=3D2>My Win 2K machine has IP of 192.168.0.254 and is =
named 'bigdaddy'.&nbsp; Proxy services on the Win 2K machine are set to =
the normal ports.&nbsp; 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.</FONT></P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Igor Roboul [<A =
HREF=3D"mailto:igor@raduga.dyndns.org">mailto:igor@raduga.dyndns.org</A>=
]</FONT>
<BR><FONT SIZE=3D2>Sent: Tuesday, September 05, 2000 10:02 PM</FONT>
<BR><FONT SIZE=3D2>To: 'FreeBSD Questions (E-mail)'</FONT>
<BR><FONT SIZE=3D2>Subject: Re: How to Tell FBSD to Use Proxy =
Server</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>On Tue, Sep 05, 2000 at 03:36:03PM -0700, Tomlinson, =
Drew wrote:</FONT>
<BR><FONT SIZE=3D2>&gt; I'm not sure I'm making sense but I want to =
start an ftp session on my</FONT>
<BR><FONT SIZE=3D2>&gt; FreeBSD box.&nbsp; My FreeBSD box is only =
connected via LAN to my Win 2K machine.</FONT>
<BR><FONT SIZE=3D2>&gt; The Win 2K machine has an Internet connection =
and is running proxy server</FONT>
<BR><FONT SIZE=3D2>&gt; software (Wingate).&nbsp; I want FreeBSD to =
connect to the Internet through the</FONT>
<BR><FONT SIZE=3D2>&gt; Win 2K machine.</FONT>
<BR><FONT SIZE=3D2>Hello, </FONT>
<BR><FONT SIZE=3D2>this is not so common :-) Normal way is to use =
FreeBSD as gate, but</FONT>
<BR><FONT SIZE=3D2>there is so nice command by name 'man' (shor of =
manual)</FONT>
<BR><FONT SIZE=3D2>Just say &quot;man ftp&quot; (without quotes on =
shell prompt)</FONT>
<BR><FONT SIZE=3D2>Then search (hit /) for proxy</FONT>
<BR><FONT SIZE=3D2>You'll find (near end of manual):</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp; =
ftp_proxy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; URL of FTP =
proxy to use when making FTP URL requests</FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
(if not defined, use the standard ftp protocol).</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp; =
http_proxy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; URL of HTTP proxy =
to use when making HTTP URL requests.</FONT>
</P>

<P><FONT SIZE=3D2>To set environment variable use 'setenv ftp_proxy =
_something_' if your shell</FONT>
<BR><FONT SIZE=3D2>is csh/tcsh or 'export ftp_proxy=3D_something_' if =
your shell is sh/bash/zsh etc.</FONT>
<BR><FONT SIZE=3D2>Place these commands to your starup file (.login for =
csh or .profile for sh)</FONT>
</P>

<P><FONT SIZE=3D2>And, please, before asking something look into =
documentation. There is so </FONT>
<BR><FONT SIZE=3D2>nice command 'man'. </FONT>
</P>

<P><FONT SIZE=3D2>Good luck.</FONT>
</P>

<P><FONT SIZE=3D2>-- </FONT>
<BR><FONT SIZE=3D2>Igor Roboul, Unix System Administrator &amp; =
Programmer @ sanatorium &quot;Raduga&quot;, </FONT>
<BR><FONT SIZE=3D2>Sochi, Russia</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://www.brainbench.com/transcript.jsp?pid=3D304744" =
TARGET=3D"_blank">http://www.brainbench.com/transcript.jsp?pid=3D304744<=
/A></FONT>
</P>
<BR>

<P><FONT SIZE=3D2>To Unsubscribe: send mail to =
majordomo@FreeBSD.org</FONT>
<BR><FONT SIZE=3D2>with &quot;unsubscribe freebsd-questions&quot; in =
the body of the message</FONT>
</P>

</BODY>
</HTML>

--Boundary_(ID_qkII0W2iGLIexbq7dVs+wg)--


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?8C224DC088D8D111B67D0000F67AC17E029C4A3B>