From owner-freebsd-questions@FreeBSD.ORG Thu May 6 21:30:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EAA9D106564A for ; Thu, 6 May 2010 21:30:23 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8A1268FC0A for ; Thu, 6 May 2010 21:30:23 +0000 (UTC) Received: by pwi9 with SMTP id 9so197359pwi.13 for ; Thu, 06 May 2010 14:30:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=HXrVS6SpWGPNGxk6OQpNj7igzoJ/nsXHutlxVJH+Bsc=; b=gi2xCZL0TZQGQEF6+t3fafbsClne2gSzptpQ7EbOTvToOaVW8z8fCxbkKDPJCBfzan 8hW+9KYIGdGxlvZBOO+JF4CY7XggfUOl5Zr9opb+lUqLC+nYrdAfMWBykG7V118TrLxL ZISI8zqS5qvKe47OwVf1UVKEM+K/94msCt08M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=AMmRP15d7MXYEeJYsKzs2atL+FaCkdnZfkK9Yyf//Jou9RCls0Rk+uZaNH9q4aRi2P 55i9vhzW/hPKxa2tVsr/CTVryt+hUOzf50+y165arqoxL2ngUnuxlhBVgVTp/grXqfc7 P/WdgxE3cximDfFrQAT2waGlC1+p/c8WjIQ08= MIME-Version: 1.0 Received: by 10.142.55.7 with SMTP id d7mr7229922wfa.344.1273181415396; Thu, 06 May 2010 14:30:15 -0700 (PDT) Received: by 10.142.165.21 with HTTP; Thu, 6 May 2010 14:30:15 -0700 (PDT) In-Reply-To: <4BE32DE4.20206@tundraware.com> References: <4BE32DE4.20206@tundraware.com> Date: Thu, 6 May 2010 15:30:15 -0600 Message-ID: From: Modulok To: Tim Daneliuk Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Mailing List Subject: Re: Accessing file from windows or to 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: Thu, 06 May 2010 21:30:24 -0000 In order to 'provide' shares to a windows network you would need to run a daemon on FreeBSD which provides such services. The most popular solution is 'samba'. I think the package is called 'samba3'. You install it, edit its config file, which specifies what to share and how to share it. You then run the daemon and poof, your windows machines can access the shares you've configured. On the other hand, if the windows machines are providing a shared folder you want to access, you can just mount that share via the 'mount_smbfs' command. For example, if I had a windows computer named 'apollo' with username 'guest' and a folder named 'shared' I wanted to access, I could do this from my FreeBSD machine: # As root: mount_smbfs //guest@apollo/shared /mnt I would now have the contents of apollo's 'shared' folder available in my '/mnt' directory. See 'mount_smbfs(8)' for more. Other options could involve setting up an SSH client/server on the two machines and use 'sftp' or 'scp' to transfer files, among others. -Modulok- On 5/6/10, Tim Daneliuk wrote: > On 5/6/2010 3:47 PM, Jean-Paul Natola wrote: >> >> Hi all, >> >> I have a file I need in my bsd box, would it be easier, or is it possible, >> to mount an NTFS share , or should I try to "map" a directory from the >> windows box. >> >> >> TIA, >> >> I have >> >> Xp >> Win7 >> Win2003 >> Win2008 >> Freebsd 6.4 >> >> thanx > > > Same machine or two separate machines? > > Two separate machines is trivial - share > a directory on the Win machine and use smbfs > on FBSD to get to it. > > For same machine, boot FBSD, and do a mount > with -t ntfs as an arg .... well, I don't recall > if 6.4 supported this or not, now that I think about it. > > > One-time or frequent transfer? > > There are tons of other options, especially if you're running > separate machines. Not all of these are elegant, but they > all will work and have their place for infrequent transfers: > > - Email the file to yourself from one OS and retrieve it > from the other. > > - Copy the file to a thumbdrive > > - Copy the file to a private website which can then > be subsequently retrieved by another machine/OS > image. > > > > > > ---------------------------------------------------------------------------- > Tim Daneliuk tundra@tundraware.com > PGP Key: http://www.tundraware.com/PGP/ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >