Solved

Problems with Samba

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

706 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now