[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Re: Tar openvpn and complzo?


  • Subject: [Openvpn-users] Re: Tar openvpn and complzo?
  • From: Ged Haywood <ged@xxxxxxxxxxxxxxxxxx>
  • Date: Wed, 3 Nov 2004 18:29:52 +0000 (GMT)

Hi there,

On Wed, 3 Nov 2004 Ray wrote:

> I'm using OpenBSD on a variety of i386 systems as firewalls and vpn endpoints.
>
> Can I compile / build OpenVPN and comp-lzo and tar the two directories on one
> i386 system, then untar them on another i386?

If you compile static, you might get away with it. :)  You obviously
don't want things like compilers lying around on your firewalls, so
that's the sort of thing one has to do for firewalls generally.

However I'd want to build on a very similar system (that is similar
hardware, kernel, modules and filesystem structure) rather than just
taking the risk.  There's always a chance that a problem might not
appear immediately, and a lot of the machines I use are a thousand
miles away or more so it's bad news if I need to go to recover one.

> Will I run into problems if the two i386 systems differ in hardware?

Depends which hardware.  Peripherals like disc drives etc. being
different should not matter.  As long as the processors are really
both the same Intel/AMD/Whatever devices you will probably find that
it works.  You might even be lucky if for example you build for a 386
on a 486 or a Pentium and then run it on 386 machines.  I've done that
sort of thing with kernels and programs like ssh many times.  You can
even "cross-compile" on a completely different machine, say build for
an Alpha on a Pentium but that's getting into deeper water.

If it's not going to work I guess the most likely result will be a
system hang and maybe you'll need to fsck a disc.  Use a journalling
filesystem if you can, then it will only take a couple of seconds to
recover.  I use ext3 having had some bad experiences with ReiserFS.
About the worst that can happen is that you'll completely trash the
filesystems on the machine you're copying to...

If you had to ask these questions, then if it doesn't work you'll
probably have trouble finding out why it doesn't work, but in my view
it's worth a try.

73,
Ged.


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2004-11/msg00082.html on line 218

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2004-11/msg00082.html on line 218