From nobody Tue May 28 12:29:24 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VpWzm0H6Xz5MB67 for ; Tue, 28 May 2024 12:29:40 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VpWzl6vpyz4jBx for ; Tue, 28 May 2024 12:29:39 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2e724bc46bfso7757271fa.3 for ; Tue, 28 May 2024 05:29:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716899378; x=1717504178; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=u3MTMxaaSdYFYdLjVCXx8F5Ay7NQD9tcmRpu7jSFj7s=; b=fvl8UccKFrJwuechnUD9gEdzGF/583LocrELD47RJSB6I6eMAp5Sf/LvoRbooejQm2 Te87wBDj0CHy+EHo5ZGa8y0QO4CBHIpn39Fzl3bbR7+Ccx3yKxrwD66iEGJXj8V51FWP rFVWyJxq6J7LcS95d1taG/R5OH2RV8bptblC3bfR6+eFdUjGFD74v0HzbM2BT+7swfcK +27b9B3A+9GUtZZvb57mniJyceDuhyMLBccYU388LDMrGlTaxvNw0txwfGFhi83H5xPx TJBtXde5xpcotTOm2t378QSxs/hydsIS+sOWfs5SB7cm/89Jcg+iDkFmkCGaviqw5Nm2 9DEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716899378; x=1717504178; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=u3MTMxaaSdYFYdLjVCXx8F5Ay7NQD9tcmRpu7jSFj7s=; b=jo07jaw8uJcOfjE3Ff4xjy63NcQkp2JmeWXDKZrXNMBZRRV4W5sf5z7yUCGBGnhXcW fffawTz+hBIkVBYn2ywZkk7rIULkGjqEdEV1E1wPsrvhN4sISMn816XxcATlyK6LmVrk SSQ4sgwMkqg79VtfrRMIWivBnhcf+KZ6OdJTUdKlhwGCIToig7hJNYIRQbKIVCu5TSwr 28tzUUQ927j6crd9OkP0ngzgRwVs+Qjc0fq1Eo3t86gt0LKD2B8MOgDJcBIn+vzaYeKd Q2nmX0MmGGE1/OSFwH7jYxG9Auxoazbg5FiAuBvQ+3kHokZenS3XD6bI+r6Pe5Ulyh6K YfWQ== X-Gm-Message-State: AOJu0YxiWMyvdv+NUAEv9rhbrDdiSHeulb6Bc7ZLC8Ad/lemv/xVv8Tf /L03QAfihWqTro+unUiYcKLVwHQ9uSiHJherEztfXsSBvJmtt7OiGdV6c0w9aW466IymCbpc6lS GSlPZLnkIyVzbfD+ayRVewZISu/Yxlp9/Gzs= X-Google-Smtp-Source: AGHT+IFH2CTnFDc0TjGi09Bn1hvet3a+TOPaUyktw4dbmEcnBTPlRjLJuNnpBnX9WYSW1nDUMRoA7TwgGW/ceFeQ0LA= X-Received: by 2002:a2e:a168:0:b0:2d4:3e82:117e with SMTP id 38308e7fff4ca-2e95b240160mr81756841fa.32.1716899377940; Tue, 28 May 2024 05:29:37 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 References: <6070ca6676d04596b849782e723177ca@oekb.at> In-Reply-To: <6070ca6676d04596b849782e723177ca@oekb.at> From: Michael Schuster Date: Tue, 28 May 2024 14:29:24 +0200 Message-ID: Subject: Re: FreeBSD install via Proxy? To: Jenisch Ewald Cc: freeBSD Mailing List Content-Type: multipart/alternative; boundary="000000000000898e52061982c9ae" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4VpWzl6vpyz4jBx --000000000000898e52061982c9ae Content-Type: text/plain; charset="UTF-8" Ewald, On Tue, May 28, 2024, 14:23 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= > export http_proxy= > Both approaches are setting variables in the current shell ONLY and will have no effect on any other running process. That explains why they have no effect on the running installer. Can't help with the actual problem though, sorry. Regards > > o) Doing [Alt]-[F4] after the installer starts which brings me to a shell > and then in that shell > export HTTP_PROXY= > export http_proxy= > 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. > > Thanks much in advance for any clue, > -ewald > > PS: As for "installation", I'm talking about FreeBSD 14.0 here > > > --000000000000898e52061982c9ae Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ewald,=C2=A0


On Tue, May 28, 2024, 14:23 Jen= isch Ewald <Ewald.Jenisch@oekb.= at> wrote:

Both appr= oaches are setting variables in the current shell ONLY and will have no eff= ect on any other running process.=C2=A0

That explains why they have no effect on the running instal= ler. Can't help with the actual problem though, sorry.=C2=A0

Regards=C2=A0

o) Doing [Alt]-[F4] after the installer starts which brings me to a shell a= nd then in that shell
=C2=A0 =C2=A0 =C2=A0 =C2=A0 export HTTP_PROXY=3D<proxy:port>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 export http_proxy=3D<proxy:port>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 and leaving that console window open while swit= ching back to the installer using [Alt]-[F1] to continue installation

Unfortunately neither of these work, not even a combination of them; the in= staller always reaches out to the internet directly.

Thanks much in advance for any clue,
-ewald

PS: As for "installation", I'm talking about FreeBSD 14.0 her= e


--000000000000898e52061982c9ae--