Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2012 10:26:53 +0100
From:      Ronny Mandal <>
Subject:   Re: 9.0, Samba and two NICs
Message-ID:  <>
In-Reply-To: <>
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, Feb 24, 2012 at 3:45 PM, Da Rock
<> wrote:
> 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: for the FreeBSD
>> and 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. is age0
>> interfaces =
>> bind interfaces only = yes
>> ; the two latter is the IPs of the W7
>> hosts allow =
>> 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?

Sorry about the late answer and missing info. The W7 is using both,
i.e. wireless and wired.

Strangely enough, it works now. Here is what I did:

The interface parameter; I put the 10.* before the 192.* and stopped
and started the samba-service. After that, the wired card were
utilized when I copied to and from the share.

interfaces = changed to interfaces =

(I tried this earlier, but it seems that /usr/local/etc/rc.d/samba
restart did not properly re-read the configuration.)


Ronny Mandal

Want to link to this message? Use this URL: <>