Hi,
[solved] an stray interfaces line further on down in the config file caused the issue. Sorry. Should've grepped the config file even after thinking I carefully read through it.
:r
I've got a server running FreeBSD 7.2 and Samba34. The server has multiple interfaces. One is a static routable address. Three are 192.168 non-routable addresses, one of which is a wireless AP. And it seems that no amount of configuration file editing gets Samba to listen on more than one single interface. The goal is to have it listen on one wired and one wireless interface: 192.168.1 and 192.168.2 respectively.
In /usr/local/etc/smb.conf:
No combination seems to affect the behavior.
I've read and re-read the man page and googled to no avail so far. I'm sure I've missed something. As for the interface that is being served, both file share and printer share appear to work. No issues with that, I just want to extend it to another interface..
TIA
[solved] an stray interfaces line further on down in the config file caused the issue. Sorry. Should've grepped the config file even after thinking I carefully read through it.
:r
I've got a server running FreeBSD 7.2 and Samba34. The server has multiple interfaces. One is a static routable address. Three are 192.168 non-routable addresses, one of which is a wireless AP. And it seems that no amount of configuration file editing gets Samba to listen on more than one single interface. The goal is to have it listen on one wired and one wireless interface: 192.168.1 and 192.168.2 respectively.
In /usr/local/etc/smb.conf:
Code:
interfaces = 192.168.1.1 192.168.2.1 127.0.0.1
; interfaces = bge1 ral0
;interfaces = bge1, ral0
bind interfaces only = yes
No combination seems to affect the behavior.
Code:
# sockstat -4 | more
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
root smbd 2061 21 tcp4 192.168.1.1:445 *:*
root smbd 2061 22 tcp4 192.168.1.1:139 *:*
root nmbd 2056 9 udp4 *:137 *:*
root nmbd 2056 10 udp4 *:138 *:*
root nmbd 2056 11 udp4 192.168.1.1:137 *:*
root nmbd 2056 12 udp4 192.168.1.1:138 *:*
I've read and re-read the man page and googled to no avail so far. I'm sure I've missed something. As for the interface that is being served, both file share and printer share appear to work. No issues with that, I just want to extend it to another interface..
TIA