A little back ground. I already have a home windows network and I'm putting VL5.8 on an old machine, of course I would like it to play nice with my existing windows network. Here are the steps I had to take on VL 5.8 to have the Linux box resolve the NetBIOS names on my network.
I'm running a LinkSys router with DHCP enabled, and at least for now, I want to keep it that way. I have two Win XP pro machines and and an older Win ME laptop.
I'm going to assume you have Samba installed.Symptoms:
After basic configuration, I could ping the Linux box from the win boxes by NetBIOS name, I could ping the win boxes from the Linux box by IP, but no resolution would happen by name.Solution
1. Enable SAMBA (VASM->SUPER->SERVICE->SVRSET->4 Select samba)
2. Edit the smb.conf
Set the GROUPNAME in /etc/samba/smb.conf
ex: GROUPNAME = teagle
Replace 'teagle' with your workgroup name.
3. add 'wins' to the hosts line in /etc/nsswitch.conf
hosts: files dns wins
4. disable firewall by opening a terminal window, su to root:
chmod a-x /etc/rc.d/rc.firewall
chmod a-x /etc/rc.d/init.d/firewall
The firewall must be disabled in this way. If you disable it in VASM either under SVRSET or the NETWORK/FIREWALL options, you will not even be able to ping the Linux box from the win boxes. Opening the NetBIOS ports in the firewall also do not work.Risks
You are disabling the firewall, if your box is not behind a router, this isn't always a very good idea. While a router is not foolproof, any basic SOHO router providing NAT generally does a good job at keeping most scanning type things out of your network. I would hope anyone needing this information already has at least a basic understanding of what this implies.More information:
I found the following site: http://samba.netfirms.com/
to be very informative in terms of easy to understand Samba configuration.