From owner-freebsd-questions@FreeBSD.ORG Tue Nov 22 17:03:10 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A384116A420 for ; Tue, 22 Nov 2005 17:03:10 +0000 (GMT) (envelope-from algould@datawok.com) Received: from smtpauth02.mail.atl.earthlink.net (smtpauth02.mail.atl.earthlink.net [209.86.89.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 526B343D7D for ; Tue, 22 Nov 2005 17:03:07 +0000 (GMT) (envelope-from algould@datawok.com) Received: from [206.255.31.21] (helo=grokwell.org) by smtpauth02.mail.atl.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1EebXm-0004Cb-Nf; Tue, 22 Nov 2005 12:03:00 -0500 Date: Tue, 22 Nov 2005 11:03:25 -0600 From: "Andrew L. Gould" To: Kiffin Gish Message-ID: <20051122110325.58852975@grokwell.org> In-Reply-To: <1132674149.707.38.camel@localhost> References: <1132671589.707.21.camel@localhost> <200511221007.54072.nb_root@videotron.ca> <1132674149.707.38.camel@localhost> X-Mailer: Sylpheed-Claws 1.9.11 (GTK+ 2.6.8; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69563f9fea00a6dd62bc97fe608e679c0f859b5cfb6cca2ce386350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 206.255.31.21 Cc: freebsd-questions@freebsd.org, Nicolas Blais Subject: Re: Sharing filesystems between FreeBSD and Windows ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2005 17:03:10 -0000 On Tue, 22 Nov 2005 16:42:29 +0100 Kiffin Gish wrote: > On Tue, 2005-11-22 at 10:07 -0500, Nicolas Blais wrote: > > 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). > > Hmmm, this kinda worries me, to be honest. I went through alot of > trouble getting my HP Deksjet G86 working under Windows and cannot > imagine the hassle of getting it to work under FreeBSD. > > I still can't get my HP Dekjet 720C to work with my laptop (FreeBSD > 5.4 and apsfilter), and I struggled for days before finally giving up. > > > > > 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. > > > > Thanks Nicolas, I'll give it a go. > > -- > Kiffin Gish > Gouda, The Netherlands > I use Samba to share FreeBSD files with Windows. I used to use sharity- light (/ usr/ ports/net/sharity-light) to use Windows files in FreeBSD; but haven't had the need in a long time, so I haven't installed it in the 5* series. I moved my printers (HP Photosmart 7150, Oki B4350 w/ postscript) to a Hawking Technology print server that supports the internet printing protocol (IPP); and has 2 usb and 1 parallel port. Windows XP supports IPP in the printer configuration wizard. I configured the printers in FreeBSD using cups, which also supports IPP. I forwarded the IPP port from the router to the print server so that I can print to my home printers from anywhere on the internet. When I'm out of town, I can print notes to the kids, who don't have email accounts. Be wary when purchasing print server devices. Some do not support IPP; and many do not support Mac OS (9 or X) on non-postscript printers. Best of luck, Andrew Gould