Question

NetBIOS over TCP/IP: Host not found.

Asked by: p_gurule

I am trying to connect to a remote computer using NetBIOS
over TCP/IP on a Windows 95 machine.  If it matters, I am
connected via a cable modem and receive an IP from a DHCP
server.

The only protocol installed is TCP/IP.  I have enabled DNS
and set DHCP for WINS resolution.  I installed 'Client for
Microsoft Networks' and 'File and printer sharing for
Microsoft Networks' and checked that TCP/IP is bound to
both.  Under the NetBIOS tab the 'I want to enable NetBIOS
over TCP/IP' is greyed out and checked.  I assume this
means that it is enabled by default.

I've created an LMHOSTS file with the IP Address and name
of the remote computer followed by the #PRE tag.  When I
run nbtstat -R the table purges and reloads successfully.  
When I run nbtstat -c, it appears that I have a valid
NetBIOS Remote Cache Name Table.  When I run nbtstat -a
[remote_computer_name] or nbtstat -A [remote_IP_Address], i
get a 'Host not found.' response.

If I try browsing the remote computer from Start|Run
\\[remote_computer_name] or \\[remote_IP_Address], I get a
dialog box that says 'The network name cannot be found.'

Can anybody tell me what I'm missing?  Based on what I know
this shouldn't be impossible.  Any ideas or suggestions
would be greatly appreciated.

    - Phil

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
1998-10-19 at 22:23:20ID10090405
Tags

found

,

host

,

nbtstat

,

netbios

Topic

Windows 95 - 98 Networking

Participating Experts
3
Points
210
Comments
17

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Using Netbios /LMHOST FILE
    To increase the proformace of mail on a small LAN I want to use netbios name resolution /lmhost files. The network consists of win95 and win98 systems please help with the best way to do this Thanks
  2. Netbios purge problem
    I need to be able to browse to SERVERRHB (172.20.4.10) If you look at the nbtstat -c table below SERVERRHB has the IP address of 172.20.4.1 when in reality the correct address is 172.20.4.10. BOCARHB also has the address of 172.20.4.1 - BOCARHB does not exist any longer an...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: naikmanishPosted on 1998-10-20 at 01:40:46ID: 1545938

Have you tried to ping the other computer?

 

by: p_gurulePosted on 1998-10-20 at 04:41:59ID: 1545939

I can ping to the other computer just fine.

 

by: tim_holmanPosted on 1998-10-20 at 07:42:55ID: 1545940

What are you dialing into ?
If you can ping the machine, then maybe NBT is filtered out ?
Have you enabled LMHOSTS lookup in TCP/IP properties and disabled WINS ?

 

by: p_gurulePosted on 1998-10-20 at 07:51:50ID: 1545941

i am trying to get into my non-firewalled work network.  the
network consists of nt servers, workstations, and win95/98
clients each with static ip addresses.  i have tried with
WINS both enabled and disabled with no luck.  as i said, the
checkbox to enable lmhosts is greyed out in tcp/ip properties.
i assume this means it is enabled.

 

by: p_gurulePosted on 1998-10-20 at 07:59:33ID: 1545942

correction, i meant enable netbios over tcp/ip is greyed out.
where is enable lmhosts in tcp/ip properties on win95?

 

by: fmismettiPosted on 1998-10-20 at 11:18:44ID: 1545943

As far as I know, windows 95 does not use "lmhosts" file, but "hosts".

Try to create a file named "hosts" in c:\windows, with the following two lines:

127.0.0.1          localhost
NNN.NNN.NNN.NNN         name_of_remote_computer

NNN.NNN.NNN.NNN is the IP of the remote computer you are trying to reach.

Disable wins and dns and try to ping the other machine using the name, not the IP. If pinging the name is ok, then you should get the connection.

Give a try and let me know the result.

 

by: p_gurulePosted on 1998-10-20 at 15:11:32ID: 1545944

I removed lmhosts and edited hosts to include the computers that
I want to connect to.  I disabled WINS and DNS and rebooted the
computer.  I was able to ping using the remote_computer_name
entry in the hosts file.

I was unsuccessful, however, in connecting to the machine using
\\[remote_computer_name].

 

by: fmismettiPosted on 1998-10-20 at 15:20:12ID: 1545945

Try to execute, at win95 dos prompt:

net view \\remote_computer_name

You should have a list of shared resources on remote computer. Let me know the result or the error message.

 

by: p_gurulePosted on 1998-10-20 at 16:22:10ID: 1545946

i ran...

net view \\[remote_computer_name]

from the win95 dos prompt and got...

Error 53: The computer name specified in the network path
cannot be located.  Make sure you are specifying the computer
name correctly, or try again later when the remote computer is
available.

 

by: fmismettiPosted on 1998-10-21 at 01:39:48ID: 1545947

Some questions:

1. What kind of OS is on the remote computer?
2. Is the remote computer behind some firewall?
3. Are you sure that the remote computer has file and print sharing on? If yes, other computers are connected to its shared resources? If yes, this computers are using only TCP/IP protocol?

 

by: tim_holmanPosted on 1998-10-21 at 03:57:05ID: 1545948

p_gurule -  enable LMHOSTS lookup is a function in NT - sorry !
fmismetti - Windows 95 can use LMHOSTS OR WINS (not both).

How are you establishing your dial-up connection ?


 

by: p_gurulePosted on 1998-10-21 at 06:05:45ID: 1545949

fmismetti:
For now, I need to connect to an NT server.  On the same network
there are NT workstations and Win95/98 clients.  These computers
are NOT behind a firewall.  They do have file and printer sharing
on and other computers are connected to its shared resources. In
particular, other NT workstations at remote locations are able
to connect.  These computers are also using NetBEUI.

tim:
I'm using a cable modem on MediaOne express.  Therefore my
computer is connected 24/7, but I do not have a static IP
address.  The IP address is pretty steady, however--meaning, I
can have the same IP address for about 3-4 months.  A DHCP server
assigns my IP address and the lease is negotiated every time
the computer is restarted, etc.

An extension on my thoughts, and correct me if I'm wrong.  I'm
sure that lmhosts is being loaded and read.  When I had an
lmhosts file (and no hosts), I was able to ping the entries in
the lmhosts file and receive a response.  However, I was still
getting a 'Host not found.' error when running
nbtstat -a [remote_computer_name]

It really seems like NetBIOS is not using LMHOSTS or something.
I've insured that DNS _AND_ WINS are disabled.  I even went so
far as editing the registry to disable DNS to remove the
check from the checkbox in winipcfg that says 'use dns res. for
netbios' (or something like that).  As I said, there is no
enabling 'lmhosts for netbios' anywhere that I can find.  I
poked through the registry to see if there was any way to do
it that route, but couldn't find any.

Also, I edited the 'node type' in the registry so that it is
always in 'hybrid' mode.

I hope this helps.  Thanks for the input guys...

 

by: tim_holmanPosted on 1998-10-21 at 07:46:41ID: 1545950

Phil,
  Include the #DOM:{domain name} after the IP and name of the server if you want to enable a NetBIOS logon (and the destined server is running NetLogon service).
  Your NT system may be locked down with NTFS permissions that won't let just Everyone see the shares.
  If you're not actually performing a NetBIOS logon, then all you'll be able to see is shares with read permissions given to the Everyone group.
  Maybe the LAN Administrator's been tightening things up ?
  I've no idea what MediaOne Express is, so forgive my ignorance!
  Are there any routers in between you and the destination computer ?
  Are they letting through IP traffic on port 139 ?
  As for the LMHOSTS file, if your machine cannot resolve the NetBIOS name to an IP address via WINS, then it will look in
%systemroot%\lmhosts, so it doesn't really matter if WINS is enabled or not (except if WINS is misconfigured...).
  Hope I'm helping !

Tim

 

by: p_gurulePosted on 1998-10-21 at 08:14:28ID: 1545951

Tim:

I won't be at my home pc 'til this evening to check specific
things.  
Until then...
- I've got #DOM in my LMHOSTS as well as an entry that identifies the domain.
- I'll check the NTFS permissions, but I believe their set properly.
- Sorry, MediaOne Express is a cable modem setup.  Go to www.mediaoneexpress.com if you want a full explanation.
- How do I check for routers between the home and destination PC?
- How do I check for IP traffic through port 139?

Is 'NetLogon' an actual service in NT that should be in the
service list under Network properties?  If remote NT workstations
are able to connect to the particular server that I am trying
to connect to in the way that I'm trying to connect, is there
any server configurations that might be preventing me?  The
other NT workstations are in different domains and they don't
appear to have a problem.

I'm not sure if this has any effect, but my workgroup name on
win95 is different from the domain name of which i am trying to
connect.  I've set the option to login to the domain that in
network properties, but it tells me that it can't find the
domain.

Thanks for the input so far.
Any more ideas are certainly welcome, keep 'em coming....

- Phil

 

by: tim_holmanPosted on 1998-10-22 at 04:13:25ID: 1545952

Phil,
   OK - I've had a look a MediaOneExpress's web page - very nice.
   I didn't realise you were going through an ISP.
   I take it you can ping other machines on the Internet etc..
   Although we now know a lot about your workstation, we have no idea what's at the other end.
   How is the remote computer you are trying to ping connected to the Internet ?
   Or is it ?

Tim

PS - Anyone know how to change your profile on Experts Exchange ?

 

by: p_gurulePosted on 1998-10-22 at 04:54:56ID: 1545953

Hey Tim,

Well, through your help and a whole lot of surfing to figure out
what's wrong I've learned a lot.  As you suggested a while back,
ports 137-139 are being filtered.  They don't tell you this
anywhere, but I happened to come accross it by coincidence.
Based on what you'd been saying and not really finding anything
wrong with what I'd been doing, I thought it might be a good
possibility and was going to call them anyway.

To make a long story short.
 They're removing the filter.
 You can have the points if you send an answer.

Thanks for your help...
 - Phil

 

by: tim_holmanPosted on 1998-10-22 at 05:56:57ID: 1545954

Glad to be of help Phil !

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...