Samba and 2 ethernet cards

I am able to run samba server that came with RedHat linux 6.0 with one ethernet card but when the secon card is added you get a "network is busy" on the windows 98 machines.  I use swat to configure samba.  I also have tried the interfaces options.  I am at a loss.
Any help would be greatly apprecited.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Did you specify both interfaces in your smb.conf file?
One possible cause is that the Windows client is trying to to connect to the wrong ip address.  Find out what ip address it thinks the Samba server possesses.  A simple way to do this is to run "ping <servername>" from the Windows c client.  That should reveal but ip address it associates with the Samba server netbios name.  If the ip address is incorrect, the problem may be coming from your /etc/hosts file.  Often times when people add a new interface the also create a new entry in /etc/hosts.  What Samba does when you start the daemons is it checks to see what the identity of the machine is (You can check this with the "hostname" command).  It then goes through /etc/hosts and looks for the first entry in the file that contains the hostname it just found.  When it finds that first entry it then assumes that the ip address in that entry is the correct ip address for the interface to bind to.  If you have added a new entry for the ip address of your new network card in /etc/hosts and the line precedes the entry for the ip address of the other network card and the hostnames are the same in both entries then this could very well be the source of the problem.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.