Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Problems with Samba

Posted on 1997-04-28
5
Medium Priority
?
436 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
  • 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 360 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

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…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month21 days, 4 hours left to enroll

810 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