LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   computer name is not accessible (https://www.linuxquestions.org/questions/linux-networking-3/computer-name-is-not-accessible-19566/)

TriniMan 04-26-2002 07:14 PM

computer name is not accessible
 
Hi everyone

My Server had crashed due to a faulty network card. I reinstlled Linux and Samba (and a new network card ) on the server. I also installed LinNeighborhood as well. I configured the Linux server to see the share on my windows 2000 domain but i cannot access the Linux Server on my windows machines. I can ping the ip address but and I see the machine on my 200 network but when i click on it i ge "computername" is not accessible. The network path was not found. I think I may have configured the smb.conf file wrong

Any Ideas




DMR 04-26-2002 09:09 PM

To start with, check smb.conf carefully for typos in the NetBioS name and the IP addresses on the HOSTS line. Check name-to-IP mappings in /etc/hosts, /etc/hosts.allow, /etc/hosts.deny, and your lmhosts file.
Also check the output of ps -ax to make sure that both smbd and nmbd are running.

TriniMan 04-29-2002 09:27 AM

Ok I could not find anything really in The smb.conf file that look out of place except that i added another [public] in it. In etc/hosts I have 127.0.0.1. ACS_NT. (the name of the Linux machine) localhost. In etc/host.allow I have swat 127.0.0.1 192.168.1. (note swat does not work as i am using LinNeighborhood). etc/hosts.deny has nothing in it. lmhosts has 127.0.0.1 localhost.

But the weird thing is smbd and nmbd does not look like it is running how can i start them

DMR 04-29-2002 06:41 PM

Both the hosts and lmhosts files should have entries for your machines in addition to the localhost entries:
Code:

#
 # Sample Samba lmhosts file.
 #
127.0.0.1      localhost
192.168.1.1    <Linux_NetBIOS _name>
192.168.1.2    <Win_NetBIOS_name>

You should be able to do "samba start" to start the daemons maually.

TriniMan 04-30-2002 09:20 AM

ok do i put it exactly how you have it for the host files or do i have to put the ip Address of the names of my Linux machines and the windows server machines?

Do I just type in samba start at the command prompt?


All times are GMT -5. The time now is 10:33 AM.