[GRLUG] Windows network file shares with Ubuntu 12.10

Adam Tauno Williams awilliam at whitemice.org
Tue Nov 27 12:32:05 EST 2012


On Tue, 2012-11-27 at 11:17 -0500, Ryan Pusztai wrote:
>  <awilliam at whitemice.org> wrote:
> > It is trivially easy to break broadcast, especially with current
>> firewall defaults.  If you configure WINS then 'exploring the
>> network' will probably be more reliable.

> How does one go about configuring this? Is it a routers job? I have
> some settings in my Netgear router, but it has a version. Which
> version is the most compatible? Also do I need to setup the clients to
> use it?

On the Samba server you set "wins support=yes"

On the Samba clients you set "wins server=a.b.c.d" where a.b.c.d is the
IP address of your WINS server.

In your DHCP configuration add 

        option netbios-name-servers a.b.c.d;
        option netbios-node-type 2;

to your subnet standard.  Then all the Windows clients will start using
the WINS server and not do broadcast.

Setting it in DHCP might work for LINUX clients too, depending on the
distro and configuration - some LINUX dhcp client generate a small
smb.conf file that can be included into your 'real' smb.conf so that it
can pickup on the DHCP provided configuration.




More information about the grlug mailing list