Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2005 10:07:53 -0500
From:      Nicolas Blais <nb_root@videotron.ca>
To:        freebsd-questions@freebsd.org
Cc:        Kiffin Gish <kiffin@gish.demon.nl>
Subject:   Re: Sharing filesystems between FreeBSD and Windows ...
Message-ID:  <200511221007.54072.nb_root@videotron.ca>
In-Reply-To: <1132671589.707.21.camel@localhost>
References:  <1132671589.707.21.camel@localhost>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On November 22, 2005 09:59 am, Kiffin Gish wrote:
> I have a home network running 3 desktop machines with Windows XP Pro,
> and a webserver, fileserver and laptop with FreeBSD 5.x.
>
> What's the best way to be able to exchange files and directory shares
> between the two environments?
>
> It would also be nice to share the printer which is connected to one of
> the Windows boxes via USB.
>
> I hear that Samba is the way to go, but also have heard about such
> client-based utilities like Sharity-light which also do the trick.
>
> Thanks alot in advance.

I use samba+cups at home.  My situation is similar, except my printer is 
connected to one of my FreeBSD machines.  The hardest part of linking FreeBSD 
with Windows isn't the getting the shares to work, but the printers to work, 
and I found it easier to have the printer on FreeBSD and have Windows write 
to it using real drivers (cups in RAW mode).

Actually, it's not as hard at is seems.  Here's what I put in my smb.conf to 
make the printer work:

printing = cups
load printers = yes

[printers]
path = /var/spool/samba
use client driver = Yes
printable = yes
public = yes
guest ok = yes
writable = no

You'll find a lot of help in the Samba documentation and cups is also well 
documented.

Nicolas.

-- 
FreeBSD 7.0-CURRENT #1: Sat Nov 19 12:36:29 EST 2005     
root@clk01a:/usr/obj/usr/src/sys/CLK01A 
PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBDgzRK4wTBlvcsbJURAj7VAJ9h9YSdw9snPgzw354CaIT0zI1+0wCeOP4+
TPVrbzLmh3C1kgwUBPxpxLE=
=UB3k
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511221007.54072.nb_root>