Solved

Problems with Samba

Posted on 1997-04-28
5
421 Views
Last Modified: 2010-03-18
I have installed samba on one PC and on another PC I have
Windows 95. I can ping from one PC to the other. When I test
the samba program with "smbclient -L myhost" it works fine.  But when I test it with "nmblookup -d 2 *" I get the error message: Network is unreachable.
So what could be the problem?
0
Comment
Question by:abosch
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 

Expert Comment

by:timc
ID: 1584485
How is your network configured in terms of IP addresses/netmasks etc?
0
 

Author Comment

by:abosch
ID: 1584486
The Linux PC has the IP 10.0.0.5 and the netmask 255.255.255.0 , the Computer with Win95 IP 10.0.0.6 and netmask 255.255.255.0.
0
 
LVL 1

Expert Comment

by:bcook
ID: 1584487
What's your routing table look like ? (Use route)

What is tyour broadcast adress ? (Use ifconfig /dev/eth0)

What is in your smb.conf ?
0
 

Author Comment

by:abosch
ID: 1584488
route: 10.0.0.0   *    255.255.255.0  U   0   0  0 eth0

ifconfig:  Link encap 10Mbps Ethernet HWaddr 00:40:95:AA:A1:27
           inet addr 10.0.0.6 BCast:10.0.0.255 Mask:               255.255.255.0
           ...
smb.conf:  [global]
             workgroup = arbeitsgruppe
             guest account = nobody
             os level = 2
             security = share
             interfaces = 10.0.0.5/255.255.255.0

            [homes]
              browseable = yes
              read only = no
              create mode = 0750
 
             [test]
               path = /home/guest
               writeable = yes
0
 
LVL 1

Accepted Solution

by:
bcook earned 120 total points
ID: 1584489
Ok - Assuming that the above hasn't been typed in, and
is accurate:

The interfaces line in smb.conf doesn't match your machine Ip address. - You don't actually need the interfaces line in smb.conf - you would be better off without it.


0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

689 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question