Solved

Problems with Samba

Posted on 1997-04-28
5
399 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 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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

828 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