NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Operating offline (not on Internet)



Will Senn <will.senn%gmail.com@localhost> writes:

> How difficult would it be to build a new system for offline use. On the home net is fine, but no internet?
>
> The install part is easy, but how do I get packages onto the system, say, xfce4 and its plugins?
>
> How can I do it - with no direct pkgsrc repo access and with local files only?
>
> I don’t mind hosting some files on other hosts in-network, but don’t want the system to access remote systems out-of-network.
>
> - will
>
> Sent from my iPhone



1) You would have to have your own repo.  You could build this yourself
from a local pkgsrc instance, or you could download the repo packages
you wanted.  I have done the first for years and find it pretty simple,
if you can wait for builds to complete.  I serve them to the rest of my
system using the in tree httpd daemon.  You simply point it at
/usr/pkgsrc/packages/All and allow indexing.  You can then set PKG_PATH
to be something like 'http://repo.here/' and pkg_add will just fetch
from your repo.  I don't use pkgin, but it is likely that you can do
something simular there too.

2) Depending on what you EXACTLY mean by "don't want the system to
access remote systems out-of-network" you may find that your security
position (or posture) might allow for http proxy.  You would set up
something like tinyproxy somewhere on your network, and allow your
system to point to that. Setting http_proxy and https_proxy should be
enough to allow fetching access.  You could enable and disable the proxy
as needed and it would, more or less, still keep the system isolated.





-- 
Brad Spencer - brad%anduin.eldar.org@localhost - KC8VKS - http://anduin.eldar.org


Home | Main Index | Thread Index | Old Index