From owner-freebsd-questions@FreeBSD.ORG Fri Feb 24 14:50:35 2012 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 D73DC106566B for ; Fri, 24 Feb 2012 14:50:35 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 8840C8FC15 for ; Fri, 24 Feb 2012 14:50:35 +0000 (UTC) Received: from mail.unitedinsong.com.au (bell.herveybayaustralia.com.au [192.168.0.40]) by mail.unitedinsong.com.au (Postfix) with ESMTP id BCE565C28 for ; Sat, 25 Feb 2012 01:04:02 +1000 (EST) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.177]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 9F44D5C22 for ; Sat, 25 Feb 2012 01:04:02 +1000 (EST) Message-ID: <4F47A295.6020200@herveybayaustralia.com.au> Date: Sat, 25 Feb 2012 00:45:41 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: 9.0, Samba and two NICs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2012 14:50:35 -0000 On 02/24/12 21:39, Ronny Mandal wrote: > Hi! > > I have been running Samba on FreeBSD 9.0 with a wireless card. A share > is connected to my W7 computer. To get more speed between the > computers, I decided to activate the 1GBit- Ethernet on the FreeBSD > and establish a direct connection (cross-link) to the W7. I gave the > new connection a static IP/subnet: 10.0.0.2/255.0.0.0 for the FreeBSD > and 10.0.0.1/255.0.0.0 for the W7. SSH works fine, however Samba is > utilizing the wireless card. > > My smb.conf looks something like this: > > .. > ;The 192-address is the wireless, ath0. 10.0.0.2 is age0 > interfaces = 127.0.0.1 192.168.0.232 10.0.0.2 > bind interfaces only = yes > ; the two latter is the IPs of the W7 > hosts allow = 127.0.0.1 192.168.0.117 10.0.0.1 > > > If I remove the 192* in the hosts allow, my W7 looses access via smb. > > netstat tells me that it is listening to both interfaces. > > What might be wrong? What address is the w7 using? If it is using 192.X, that could be the problem. That or some variation... such as the w7 using wireless and 192.x?