LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   NMBD and SWAT (https://www.linuxquestions.org/questions/linux-networking-3/nmbd-and-swat-100584/)

jrdioko 10-05-2003 04:46 PM

NMBD and SWAT
 
Hello all.

I am currently trying to get a network going between my Linux box and Win98 machine that are connected directly via a crossover cable.

I have checked that SAMBA is installed, made a very basic smb.conf file, and configured SWAT. I go to a command prompt and type smbd and nmbd without any error messages, and everything seems to be working there. However, if I go into SWAT on the View screen, it shows nmbd as not having been started. I can click on the start nmbd as many times as I want and it still shows it as "Not running." Why could this be, and is there any way I can verify that nmbd is running? How can I get it running?

Thanks,
JMagi

sidmark-2850 10-05-2003 08:20 PM

Make sure that you list the lopback interface is listed under the "interfaces" parameter in your smb.conf file.

interfaces = eth0 127.0.0.1

Kill both smbd and nmbd, then restart.

jrdioko 10-05-2003 11:56 PM

Thanks for the info. I tried putting this under the [Global] header in my smb.conf file and killing and restart the processes, but SWAT still shows nmbd as not running. I checked in the help file for the interfaces, and it says:

By default Samba will query the kernel for the list of all active interfaces and use any interfaces except 127.0.0.1 that are broadcast capable.

That almost sounds like you don't need this line, but I'm still not sure exactly what IPs are being used here. Either way, with or without that line it still won't start.

Any other ideas?

Thanks,
JMagi

sidmark-2850 10-08-2003 12:30 AM

That happened to me before and I was not sure what I did to fix it. To make sure that it is running, type
Code:

ps -A | grep nmbd
If nothing shows up, you should run
Code:

nmbd -D -l /var/log
This will place a log file from nmbd in the /var/log directory called log.nmbd. It may give you the reason why nmbd is dying, that is if the ps / grep thing does not come up with anything.

If it is running, just ignore what swat says about it.


All times are GMT -5. The time now is 12:37 AM.