Solved

Problems with Samba

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

732 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