Solved

Windows network connection problem - semaphore?

Posted on 2004-08-28
19
508 Views
Last Modified: 2008-01-09
Hi there,

I have read the threads of two related questions:
http://www.experts-exchange.com/Networking/Q_20867466.html and
http://www.experts-exchange.com/Operating_Systems/WinXP/Q_20970995.html
but I can't see a solution (or at least I don't understand it). So here's my problem:

I am running a small local network consisting of a tower with Win98 and
a laptop with WinXP. TCP/IP connection is OK in both directions, i.e. "ping tower"
gives me 4 good packets from 192.168.0.2 and "ping laptop" the same from 192.168.0.3.
(IP adresses fixed). I can access shared directories on my laptop from the tower. But most of the time (sometimes it works...) I get one of two error messages (translated from German):

If I click on network drive T: in Explorer:
"Error restoring connection of T: to \\Tower\Harddisk
Microsoft Windows network: The local device name is already in use.
The connection is not restored."

If I click on the "Tower" icon in my network neighborhood:
"Can't access \\Tower. You are possibly not authorized to use this network resource.
Contact the server's admin to find out whether you are authorized.
The time limit for the semaphore has been reached."

To make things clear: I am using 100MB full duplex on both network adaptors. It doesn't
matter if my firewalls are running or not and - yes, sometimes it works both ways.

Tia,
Robin <><
0
Comment
Question by:hutter
19 Comments
 
LVL 57

Expert Comment

by:Pete Long
Comment Utility
this is not a semaphore timeout error? looks more like simple permissions error to me?

Networking Windows XP and windows 98/95/ME

1. Get the machines connected, Each machine will need a NIC (network interface card) you can either plug both machines into a hub or switch, OR connect them directly with a crossover cable (this differs from a normal network cable either buy one or make one see my website.) http://www.petenetlive.com/Tech/Networking/networking1.htm


2. Decide what addresses you are going to use you may have a router or another device that dynamically hands out addresses if so set everything to automatic, if not and your just transferring files use

Windows 98:  192.168.1.2 subnet mask 255.255.255.0
Windows XP 192.168.1.1 subnet mask 255.255.255.0

3. On the Windows 98 box

From your desktop, right click the "network neighbourhood" or the "My Network Neighbourhood" icon and select Properties.
 
Be sure 'Client for Microsoft Networks" and "File and Printer Sharing" are both installed.  If they are not installed, click the "Add Button" to install them now, reboot and come back to this point.  Be sure your Primary Network Login is set to "Client for Microsoft Networks.

Next, Select the "File and Print Sharing button"
 
Ensure that the 'I want to give others access to my files' checkbox is checked.  You can check the other checkbox if you plan to share a printer on this computer. - Clikc OK when finished.

Next, select the "Internet Protocol (TCP/IP)" and click Properties.
 
Select the 'Bindings tab' and ensure both checkboxes are checked
Next, Select the NetBIOS TAB and ensure you have a checkmark.

4. On the XP Box

From your Network Connections, select your network adapter and then select "Change Settings of this Connection".  To find your "Network Connections", select "My Computer" from the start menu, then select "My Network Places" and finally select "My Network Connections".

Be sure 'Client for Microsoft Networks" and "File and Printer Sharing" are both installed.  If they are not installed, click the "Install Button" to install them now. - You should also check to ensure the XP built in firewall is DISABLED.   This is in the ADVANCED tab.

Next, select the "Internet Protocol (TCP/IP)" and click Properties.
 
If you have a network that uses a STATIC IP ADDRESS schema you should see information here.

Next, click the Advanced Button
 
Select the WINS tab.  Under the "NetBios Setting" area, select the "Enable NetBIOS over TCP/IP"

References

http://www.homenethelp.com/web/howto/net.asp

Links
Windows XP Network Troubleshooting
http://www.practicallynetworked.com/sharing/troubleshoot/
0
 
LVL 2

Expert Comment

by:marcin79
Comment Utility
might to check this site
http://www.windowsnetworking.com/articles_tutorials/shareacc.html
xp doesnt like share level access

regards
marcin
0
 

Expert Comment

by:abcolaco
Comment Utility
"Error restoring connection of T: to \\Tower\Harddisk
Microsoft Windows network: The local device name is already in use.
The connection is not restored."

If I click on the "Tower" icon in my network neighborhood:
"Can't access \\Tower. You are possibly not authorized to use this network resource.

Hi Robin,

I have copy pasted your errors as u listed above. I'll start with the second issue, as it has a very simple solution, as marcin said it is a purely permission related problem, but does not require much of settings change.

You probably have a password to login to  your XP Tower. Heres what u do on ur win98 laptop, in network properties make sure Client for microsoft  networks is loaded and is the primary logon scheme. Then you just give the same username and password in the win98 logon windows (DONOT CANCEL LOGIN), if security is not an issue, login on your win98 laptop with the administrator account which u are using on the XP tower and Voila.. u've got it all... i know ms does not have this solution even on their web site, trust  me it has worked for me on winNT 4.0, win2K and i bet it will work on XP.

as for the problem with XP i have put it on my hate list, its rubbish, and i do not support ms 's stratergy of shoving technology at the masses.

Thanks and hope my solution hepls
0
 
LVL 1

Author Comment

by:hutter
Comment Utility
Hi PeteLong,

thanks for answering. Here are my comments:

> 1. Get the machines connected,

I guess this is a standard file you use. As you can read in my question. The machines are connected and can communicate.

> 2. Decide what addresses you are going to use

Same again. The adresses are fixed: 192.168.0.2 for the Win98 tower and 192.168.0.3 for the XP laptop.

> Be sure your Primary Network Login is set to "Client for Microsoft Networks.

It was "Windows logon". I changed it to Client for MS networks, but it didn't change anything.

> Next, select the "Internet Protocol (TCP/IP)" and click Properties.
>
> Select the 'Bindings tab' and ensure both checkboxes are checked

There are three checkboxes: Client for MS netwoks, File and printer sharing and Microsoft Family Logon. All three are checked.

> Next, Select the NetBIOS TAB and ensure you have a checkmark.

It is greyed out, but checked.

> 4. On the XP Box
[...]
> Next, select the "Internet Protocol (TCP/IP)" and click Properties.
>
> If you have a network that uses a STATIC IP ADDRESS schema you should see information
> here.

I have.

> Next, click the Advanced Button
>
> Select the WINS tab.  Under the "NetBios Setting" area, select the "Enable NetBIOS over
> TCP/IP"

I did so, but no effect. In fact this is not surprising, as the previous setting was "Standard" which enables NetBIOS over TCP/IP if the static IP is used.

Sorry, that didn't work.

Robin <><
0
 
LVL 1

Author Comment

by:hutter
Comment Utility
Hi Marcin,

might well be that XP doesn't like share level acces. But it worked previously. And it still does (sometimes). I have not yet found out what conditions make it work. As far as I can analyze it chances are best if both computers are freshly booted.

Robin <><
0
 
LVL 1

Author Comment

by:hutter
Comment Utility
Hi abcolaco,

you wrote

> Thanks and hope my solution hepls

Difficult. As your answer makes wrong assumptions. I have a Win98SE *tower* and a XP *laptop*, not the other way around.

But anyway - I have tried your solution and set identical passwords for both machines. In addition the password for file sharing is the same. But it didn't work.

Sorry,
Robin <><
0
 
LVL 2

Expert Comment

by:marcin79
Comment Utility
pleasy try my solution - sometimes the difference in the method of granting access between win 2k-xp/9x causes realu much troulbles. Not telling that this will solve the problem, but it's worth a try.
BUT
you wrote:
"But it worked previously"

previous what ?

Regards
Marcin
0
 
LVL 5

Expert Comment

by:intreeg
Comment Utility
Make sure your username AND password both match on both machines. That is my 2 cents.
0
 
LVL 1

Author Comment

by:hutter
Comment Utility
Hi marcin,

the problem is that I can't tell you "previous what"... I used Win98 on my tower then bought a USB printer which didn't work, so I installed Win98SE. Now the printer works. The network worked OK at the beginning. It still does - sometimes. Just yesterday I rebooted both systems and the connection went OK in both directions. A few hours later (hibernating on WinXP and standby on Win98) the network was a one way street again. In the last weeks I have installed many security updates an patches for Win98SE. Maybe they caused the problem. I hope to get XP SP2 in a few days. Maybe this will help. But I really am at my wit's end.

You see: I don't change any settings and it works sometimes (e.g. when freshly booted) and most of the time it doesn't. While the connection used to work both ways it was sometimes necessary to deactivate the "LAN connection" in XP and activate it again. That doesn't do the trick any more. Maybe it's a bug (oh, sorry - a feature) of either WinXP or Win98SE. Maybe it's another program that interferes - although I don't believe that because I also tried shutting down all processes not necessary for Windows - to no avail. But I dare to say that it is not a matter of "standard settings".

Robin <><
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 1

Author Comment

by:hutter
Comment Utility
And, yes. I'll try your solution.

Robin <><
0
 
LVL 2

Expert Comment

by:marcin79
Comment Utility
when system says you "the ... in use"
try to type in
start->run->net use * /d<enter>

and check if the error message persists

Regards
Marcin
0
 
LVL 1

Author Comment

by:hutter
Comment Utility
Marcin,

if I do, my system asks me if I want to disconnect drive T: connected to \\Tower\C

I confirm. The network drive disappears from Explorer. I try to reconnect the network drive and I get a semaphore time limit error.

I have started using Packetyzer and am trying to figure out exactly what's going on. New insights will be shared with U all.

Thanks a lot for your efforts,
Robin <><
0
 
LVL 1

Author Comment

by:hutter
Comment Utility
Hi all,

I'm back with new information. Packetyzer gave me a little hint. I will report shortly.

A successful connection goes as follows:

Laptop asks DNS who TOWER is: 192.168.0.3 to 192.168.0.255 NetBIOS-NS: Name query NB TOWER

ARP jumps in and supplies the physical card network card address

TOWER gives LAPTOP its IP address: 192.168.0.2 to 192.168.0.3 NetBIOS-NS: Name query response NB 192.168.0.2

LAPTOP tries to establish TCP connection: 192.168.0.3 to 192.168.0.3 TCP: 1822 to netbios-ssn SYN

TOWER acknowledges TCP connection: 192.168.0.2 to 192.168.0.2 TCP: netbios-ssn to 1822 SYN, ACK

LAPTOP requests NetBIOS session: 192.168.0.3 to 192.168.0.2 NetBIOS-SessionService: Session request to TOWER from LAPTOP

TOWER grants NetBIOS access: 192.168.0.2 to 192.168.0.3 NetBIOS-SessionService: Positive session response

In an unsuccessful attempt, the last two lines are:

LAPTOP requests NetBIOS session: 192.168.0.3 to 192.168.0.2 NetBIOS-SessionService: Session request to TOWER from LAPTOP

TOWER gives TCP acknowledgement, but no NBSS grant: 192.168.0.2 to 192.168.0.3 TCP: netbios-ssn to 1822 ACK

So why does the Win98SE tower sometimes accept the session request and sometimes just give a TCP ACK answer?

Still someone with me?

Robin <><
0
 
LVL 1

Author Comment

by:hutter
Comment Utility
As for the share-level vs. user-level access. I tried to change it. But it seems as if needed a NT server providing the user data. And I don't have one. I tried to use "TOWER" or "127.0.0.1", but the system says it doesn't find the server providing the user information.

Am I doing something wrong?

Robin <><
0
 
LVL 1

Author Comment

by:hutter
Comment Utility
Hi there,

yesterday I had a brilliant idea. I deleted my network adaptor (Realtek RTL8139) from the network dialog and rebooted the computer. Win98 found the adaptor again. Realtek disk and Win98 CD in the correct drives. Readjustment of the parameters and - BINGO! It works! I am still testing and waiting if the no-problem ;-) persists...

Robin <><
0
 
LVL 2

Expert Comment

by:marcin79
Comment Utility
happy that you get it working :)
0
 
LVL 1

Author Comment

by:hutter
Comment Utility
My system is still working fine. I don't know exactly what was wrong, but reinstallation of my network adaptor seems to have fixed the problem. Maybe it was a corrupt driver...

Anyway: http://www.packetyzer.com/ definitely was helpful in narrowing down the search for the problem source.

Thanks to all who tried.
0
 

Accepted Solution

by:
modulo earned 0 total points
Comment Utility
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

772 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

9 Experts available now in Live!

Get 1:1 Help Now