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.

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.

RisksYou 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.

There is a solution to all that without disabling the firewall script (you still have to do steps 1-3 though). It involves modifying the firewall script. There are two ways to editing your firewall script. One is directly editing /etc/rc.d/init.d/firewall for everything, while the second is to change line 93 of /etc/rc.d/init.d/firewall, REQUIRE_EXTERNAL_CONFIG to yes, then editing your /etc/firewall.conf for any subsequent changes.

Let's get to the real part shall we. One thing you must first know is the subnet of your network. Something like 192.168.1.0/24. An easy way to find this out is getting your ip address and changing the last number to 0 and then append /24. For example, your ip address is 10.0.2.232, your subnet mask would be 10.0.2.0/24. Now we edit the /etc/rc.d/init.d/firewall or /etc/firewall.conf based on what you chose earlier.

Assuming your subnet is 10.0.2.0/24, we edit the line that says:

Quote

PERMIT="192.168.0.0/24 445/tcp 137-139/tcp 445/udp 137-139/udp"

to

Quote

PERMIT="10.0.2.0/24 445/tcp 137-139/tcp 445/udp 137-139/udp"

then do a "service firewall restart" and you can get netbios name resolution and still have a firewall.