Date: Tue, 28 May 2024 12:42:45 +0000 From: "Dave Cottlehuber" <dch@skunkwerks.at> To: "Jenisch Ewald" <Ewald.Jenisch@oekb.at> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: FreeBSD install via Proxy? Message-ID: <dd64e510-a814-4280-8af1-88ed18035294@app.fastmail.com> In-Reply-To: <6070ca6676d04596b849782e723177ca@oekb.at> References: <6070ca6676d04596b849782e723177ca@oekb.at>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 May 2024, at 12:22, Jenisch Ewald wrote: > Hi, > > I've got a machine sitting in a heavily firewalled environment not > allowing direct internet connections, but http/https has to run via a > proxy. I've found ways to get normal user activity as well as git for > source updates run via proxy, but how about a fresh installation of > FreeBSD > > To be specific: How can I get the installer (i.e. bootonly.iso) to run > it's downloads via a proxy instead of trying to connect to the internet > dirctly? > > I've already tried (without success so far): > > o) When the installer starts going for "shell" and in the shell opening > export HTTP_PROXY=<proxy:port> > export http_proxy=<proxy:port> > > o) Doing [Alt]-[F4] after the installer starts which brings me to a > shell and then in that shell > export HTTP_PROXY=<proxy:port> > export http_proxy=<proxy:port> > and leaving that console window open while switching back to the > installer using [Alt]-[F1] to continue installation > > Unfortunately neither of these work, not even a combination of them; > the installer always reaches out to the internet directly. Hi Jenisch Assuming I understood what you're trying to do, you should just be able to switch to a shell (by any means you used above), do the `export ...` things, and then run `bsdinstall` from within the same shell, thus inheriting thoes proxy settings. It's also possible to use a larger image (memstick or disc1) which already contains the tarballs, so there's nothing needed to fetch: https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/14.0/ A+ Dave
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dd64e510-a814-4280-8af1-88ed18035294>