From owner-freebsd-questions Mon Jul 1 14:19:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FC7937B400 for ; Mon, 1 Jul 2002 14:19:12 -0700 (PDT) Received: from mail.k12us.com (mail.k12us.com [65.112.222.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 55DB843E26 for ; Mon, 1 Jul 2002 14:19:11 -0700 (PDT) (envelope-from cweimann@k12hq.com) Received: (qmail 31705 invoked by uid 1001); 1 Jul 2002 21:19:09 -0000 Date: Mon, 1 Jul 2002 17:19:09 -0400 From: Christopher Weimann To: Brett Rogers Cc: freebsd-questions@freebsd.org Subject: Re: automatic detection of a proxy server Message-ID: <20020701171909.A26052@mail.k12us.com> References: <200207011327.44525.loki_bsd@cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200207011327.44525.loki_bsd@cox.net>; from loki_bsd@cox.net on Mon, Jul 01, 2002 at 01:27:44PM -0700 X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jul 01, 2002 at 01:27:44PM -0700, Brett Rogers wrote: > > I have set up a FreeBSD 4.6-RELEASE box at my school to show my professor > different aspects of FreeBSD. I really wanted to show him the ports > collection since he's used to rpms. My problem is that I cannot get out to > the internet at all. It operates correctly in the internal network (I set up > an FTP server and it works fine as does telnet) I know there is a proxy > server somewhere, but I dont know what the address is or anything else about > it. All the Windows boxes detect it just fine and he's said none of the > linux boxes he's used have had problems. What can I do to make FreeBSD > detect it? I am using DHCP to obtain IP, DNS, etc. Any help would be > greatly appreciated. > This is frequently done via dhcp. Specifically dhcp option code 252 will return a url for the proxy configuration file. This is a javascript program that will return the correct proxy server and port. I have setup dhcpd to provide this to microsoft clients but I don't know how to get FreeBSDs dhclient to request it. I guess you could use tcpdump or ethereal and snoop in on the dhcp packets. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message