network freebsd computers

Roland Smith rsmith at
Tue Sep 22 19:08:47 UTC 2009

On Tue, Sep 22, 2009 at 01:39:53PM -0400, Carmel NY wrote:
> Most of my networking experience is based on a Windows. Networking two
> or more PCs together in a Window's environment is easy. Unfortunately,
> I am not getting anywhere accomplishing the same with multiple FreeBSD
> machines. I can get them networked with Window's machines; however, not
> with each other.

FYI, syncronizing files between FreeBSD and other UNIX-like systems is quite
easy with rsync []. This is also quite easy to
automate (e.g. running rsync from cron).

For simple and fast data exchange, nothing beats netcat. [nc(1)]
For remote backups I tend to pipe the output of dump(8) through netcat
on one machine, and pipe the output from a listening netcat on another machine
to a file. Suppose I want to backup machine 'foo' to machine 'bar'. On 'bar' I
would start the following command: 
     'nc -l 65000 |bzip2 -c >foo-root-20090922.dump.bz2'.
On 'foo' I would then start the following command as root: 
     'dump -0 -a -C 8 -L -u -f - /|nc bar 65000'

Typically I would be doing this sitting behind one of those machines with the
X window system running and a local terminal and a terminal running ssh to
the other machine open.

[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list