From owner-freebsd-questions@FreeBSD.ORG Fri Jul 15 14:42:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FC1D106566B for ; Fri, 15 Jul 2011 14:42:09 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0B0028FC08 for ; Fri, 15 Jul 2011 14:42:08 +0000 (UTC) Received: by vws18 with SMTP id 18so1282799vws.13 for ; Fri, 15 Jul 2011 07:42:08 -0700 (PDT) Received: by 10.52.32.233 with SMTP id m9mr3531426vdi.471.1310740927022; Fri, 15 Jul 2011 07:42:07 -0700 (PDT) Received: from scorpio.seibercom.net (twdp-174-109-142-001.nc.res.rr.com [174.109.142.1]) by mx.google.com with ESMTPS id db1sm577275vdc.32.2011.07.15.07.42.05 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 15 Jul 2011 07:42:06 -0700 (PDT) Received: from scorpio (zeus [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3RFxSD40TPz2CG44 for ; Fri, 15 Jul 2011 10:42:04 -0400 (EDT) Date: Fri, 15 Jul 2011 10:42:03 -0400 From: Jerry To: FreeBSD Message-ID: <20110715104203.552992bd@scorpio> In-Reply-To: <201107142125.41950.lobo@bsd.com.br> References: <201107142125.41950.lobo@bsd.com.br> Organization: seibercom.net X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2011 14:42:09 -0000 On Thu, 14 Jul 2011 21:25:41 -0300 Mario Lobo articulated: > On Thursday 14 July 2011 20:06:06 Erman Z=C3=BClf=C3=BCkaro=C4=9Flu wrote: > > Hi , I try to mount free bsd to Windows sharing folder. > > mount_smbs -I 10.0.0.x /10.0.0.x/share folder name /mnt/mount > > folder > >=20 > > but i can't. > > mount_smbfs=3Dunable open to connection syserr=3Dconnection refused > >=20 > > samba installed. >=20 > Which windows version?=20 > Is the folder shared properly? Win 7 is pretty rough on sharing > folders. =46rom the Windows command line run: net share A list of all presently shared directories will be displayed. Make sure the one you want is listed. Making sure that the share exists, try this command substituting your own values. IE, replace "laptop" & "user" & "ShareName" with your data. Make sure the mount point does physically exist before running the command. mount_smbfs -I laptop -U user //user@laptop/ShareName /mnt I will most likely ask for your password. Obviously you will need it to proceed. You also might want to check your "/etc/hosts" file to be sure it is correct. You may need to use the "-W" option depending on how your system is configured. I would avoid the use of a This works on all versions of Windows I have tried/used since Win2K. Personally, I avoid the "nsmb.conf", "~/.nsmbrc" files as I consider them security threats. If you must use on, be sure to encrypt your password. See: NSMB.CONF(5) for details. --=20 Jerry =E2=9C=8C jerry+fbsd@seibercom.net Disclaimer: off-list followups get on-list replies or ignored. Do not CC this poster. Please do not ignore the "Reply-To" header. http://www.catb.org/~esr/faqs/smart-questions.html