From nobody Wed Jul 14 23:45:30 2021 X-Original-To: freebsd-ports@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 166B0127EC7F for ; Wed, 14 Jul 2021 23:45:28 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from p-impout001.msg.pkvw.co.charter.net (p-impout010aa.msg.pkvw.co.charter.net [47.43.26.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GQDdg0sDhz3Fwd for ; Wed, 14 Jul 2021 23:45:26 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from localhost ([96.28.177.163]) by cmsmtp with ESMTP id 3oZ5mXPmOXkRO3oZ5muwes; Wed, 14 Jul 2021 23:45:20 +0000 X-Authority-Analysis: v=2.4 cv=Cc3NWJnl c=1 sm=1 tr=0 ts=60ef7710 a=xqrt2BZAGHte7XHhrxJgbA==:117 a=xqrt2BZAGHte7XHhrxJgbA==:17 a=HpEJnUlJZJkA:10 a=UNWf5WQ7AAAA:8 a=6I5d2MoRAAAA:8 a=q56oFxeYAAAA:8 a=yOruzn0_vJCqgMyzIOUA:9 a=TmY6P1tBX-PGzTCW-pm6:22 a=IjZwj45LgO3ly-622nXo:22 a=qBExKzQAi2vkqq_k2JMc:22 Date: Wed, 14 Jul 2021 23:45:30 +0000 From: "Thomas Mueller" To: freebsd-ports@freebsd.org Subject: Re: Downloading distfiles when not able to use FreeBSD installation References: <20210714034438.10C4E12A69D5@mlmmj.nyi.freebsd.org> <20210714.125511.567237107711504081.yasu@utahime.org> <2a43decae9bb15db24730d925c2f6bba@bsdforge.com> <20210714034419.7D28112A694E@mlmmj.nyi.freebsd.org> X-CMAE-Envelope: MS4xfIzuIWrnSdZv51twLz0ylW4uI8U3VCw2+criTIrq4TBPMsmjVrw/5lpgqc2UyEEnDxqPQUeRQzxahZfQScd1C+XoyCdKrO7MM7Kq6VeytYS7wTB3AE2V XFTtUWrvssR5pfA85MwDN4vBgGjN0o5f4f6PgVwIcv1mWkfaK9cnGiS+XcbU+3JTCcRcFfKxqoCvdA== X-Rspamd-Queue-Id: 4GQDdg0sDhz3Fwd X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mueller6722@twc.com designates 47.43.26.141 as permitted sender) smtp.mailfrom=mueller6722@twc.com X-Spamd-Result: default: False [1.07 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(0.87)[0.869]; RECEIVED_SPAMHAUS_PBL(0.00)[96.28.177.163:received]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[47.43.26.141:from]; FREEMAIL_FROM(0.00)[twc.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[twc.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[47.43.26.141:from:127.0.2.255]; MISSING_MID(2.50)[]; R_SPF_ALLOW(-0.20)[+ip4:47.43.26.0/24]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; ASN(0.00)[asn:40294, ipnet:47.43.24.0/21, country:US]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-ports]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org On 2021-07-13 20:55, Yasuhiro Kimura wrote: > From: "Thomas Mueller" > Subject: Downloading distfiles when not able to use FreeBSD installation > Date: Wed, 14 Jul 2021 03:44:06 +0000 > > How do I find and download the new distfiles for a port when I have no > > internet access from the FreeBSD installation? > > Port in question is net/realtek-re-kmod . > > If this will build and work, then I will possibly have internet > > connectivity on FreeBSD-current/14. > > How do I find the files when I can use NetBSD but not FreeBSD? > > > > Tom > 1. Download distfiles on NetBSD machine. > 2. Insert USB memory into NetBSD machine. > 3. Copy distfiles to USB memory. > 4. Remove USB memory from NetBSD machine and insert it FreeBSD one. > 5. Copy distfiles to /usr/ports/distfiles. > Just for added convenience. The link to the source is: > http://distcache.FreeBSD.org/local-distfiles/ale/rtl_bsd_drv_v196.04.tgz > HTH >-Chris I found the link but got 403 Forbidden. I later realized I didn't need to download the patch, since it was already localed in files subdirectory. Then I found the desired distfile on the other computer. I copied by NFS and didn't need USB stick. from Torfinn Ingolfsen: > Failing everything else, the FreshPorts page for the port > https://www.freshports.org/net/realtek-re-kmod/ > gives you access to the files of the port (Makefile, distinfo, ++) and > from that you can puzzle together an url to get the distfile from. > It is almost always easier to find a way to give the FreeBSD machine > network access temporarily. One way to do so is to "share internet > access" via a mobile phone. Many mobile phones show up as a network > interface when connected via usb to a computer (and selecting the > right options for usb access), and most mobile phones have "share > internet access" built in. > Other ways: usb-connected ethernet dongle, usb-connected wireless > dongle and so on. I would like to be able to use USB tethering or USB wireless adapter for when Charter Spectrum cable is down. I tried the USB wireless adapter, Hiro H50191, worked on FreeBSD 11.1-STABLE but not on 12-STABLE or 14-current even though the device is recognized. So I suspect something is buggy in the underlying TCP/IP; only way to really know is to compare on Linux. Tom