Name lost on the network
-
RubberDuckie
- Posts: 2854
- Joined: Thu Nov 23, 2000 3:38 am
- Location: Texas
- Contact:
Name lost on the network
I have had this happen before and time will fix it but I was wondering if I can force something. Here is the situation:
I have mapped drives to folders on another computer on the network by name (not IP). We had a power failure and when things came back the computer got a different IP. Now the mapped drives will not work by name. If I access the folders by IP/folder then it works.
ie: TV-PC was on IP 192.168.1.100 and now it is on 192.168.1.102.
folder //TV-PC/Movies will not work any more but //192.168.1.102/movies will
Thanks
I have mapped drives to folders on another computer on the network by name (not IP). We had a power failure and when things came back the computer got a different IP. Now the mapped drives will not work by name. If I access the folders by IP/folder then it works.
ie: TV-PC was on IP 192.168.1.100 and now it is on 192.168.1.102.
folder //TV-PC/Movies will not work any more but //192.168.1.102/movies will
Thanks
JSTMF
- eGoCeNTRoNiX
- Posts: 7362
- Joined: Wed Oct 23, 2002 12:51 pm
- Location: HELL
-
RubberDuckie
- Posts: 2854
- Joined: Thu Nov 23, 2000 3:38 am
- Location: Texas
- Contact:
-
RubberDuckie
- Posts: 2854
- Joined: Thu Nov 23, 2000 3:38 am
- Location: Texas
- Contact:
nbtstat -n displays the names that were registered locally on the system by programs such as the server and redirector.
nbtstat -c shows the NetBIOS name cache, which contains name-to-address mappings for other computers.
nbtstat -R purges the name cache and reloads it from the Lmhosts file.
nbtstat -RR releases NetBIOS names registered with a WINS server and then renews their registration.
nbtstat -a name performs a NetBIOS adapter status command against the computer specified by name. The adapter status command returns the local NetBIOS name table for that computer plus the media access control address of the adapter.
nbtstat -S lists the current NetBIOS sessions and their status, including statistics
nbtstat -c shows the NetBIOS name cache, which contains name-to-address mappings for other computers.
nbtstat -R purges the name cache and reloads it from the Lmhosts file.
nbtstat -RR releases NetBIOS names registered with a WINS server and then renews their registration.
nbtstat -a name performs a NetBIOS adapter status command against the computer specified by name. The adapter status command returns the local NetBIOS name table for that computer plus the media access control address of the adapter.
nbtstat -S lists the current NetBIOS sessions and their status, including statistics
- FlyingPenguin
- Flightless Bird
- Posts: 33161
- Joined: Wed Nov 22, 2000 11:13 am
- Location: Central Florida
- Contact:
If you are running a domain server then the server is running a WINS server and it keeps track of associating IPs with Netbios names and broadcasting it to all the PCs on the LAN.
However if this is a typical peer-to-peer non-domain server network (just a bunch of PCs networked together but no domain server), there is no WINS server and each computer individually keeps track of the Netbios names on the network by querying the network. This normally works fine but sometimes doesn't - especially with mixed operating systems.
The solution is to assign every PC with a static IP (something you should do anyway for every hard wired PC on a network IMO) and then create an LMHOSTS file and place a copy on each PC. The LMHOSTS file acts as a table that tells each PC what the Netbios name of each PC on the network is, and the IP it's assigned so it doesn't have to query the network to figure it out for itself.
More info here:
http://www.howtonetworking.com/Windows/lmhosts.htm
Keep in mind there are other reasons you may be having issues. If you have a very intrusive firewall (like Norton's) it may be blocking the ports and services that allow network discovery. Windows Vista Business and Windows 7 Pro both come from the factory with network discovery disabled.
However if this is a typical peer-to-peer non-domain server network (just a bunch of PCs networked together but no domain server), there is no WINS server and each computer individually keeps track of the Netbios names on the network by querying the network. This normally works fine but sometimes doesn't - especially with mixed operating systems.
The solution is to assign every PC with a static IP (something you should do anyway for every hard wired PC on a network IMO) and then create an LMHOSTS file and place a copy on each PC. The LMHOSTS file acts as a table that tells each PC what the Netbios name of each PC on the network is, and the IP it's assigned so it doesn't have to query the network to figure it out for itself.
More info here:
http://www.howtonetworking.com/Windows/lmhosts.htm
Keep in mind there are other reasons you may be having issues. If you have a very intrusive firewall (like Norton's) it may be blocking the ports and services that allow network discovery. Windows Vista Business and Windows 7 Pro both come from the factory with network discovery disabled.
---
“The Government of Spain will not applaud those who set the world on fire just because they show up with a bucket.” - Prime Minister of Spain, Pedro Sánchez

“The Government of Spain will not applaud those who set the world on fire just because they show up with a bucket.” - Prime Minister of Spain, Pedro Sánchez

-
RubberDuckie
- Posts: 2854
- Joined: Thu Nov 23, 2000 3:38 am
- Location: Texas
- Contact:
OK... This is really pissing me off. Here is my screen shot. If I try to connect to the computer TV-PC by the address \\tv-pc\ I get the screen requesting password. If I connect to the computer by typing \\192.168.1.100\ everything works. My assumption is that the IP changed and it is pointing to another computer.
I have the directories shared for guest so it should not be asking for a pw... and it will not with the IP

I have the directories shared for guest so it should not be asking for a pw... and it will not with the IP

JSTMF
- FlyingPenguin
- Flightless Bird
- Posts: 33161
- Joined: Wed Nov 22, 2000 11:13 am
- Location: Central Florida
- Contact:
Is this issue occurring on only one computer? For instance are all the PCs having this issue with connecting to the same PC or is just one PC having an issue connecting to all the PCs? If it seems to be isolated to one PC you may have a bad switch that is failing to properly route, or even a bad network card.
If everyone is having issues connecting to everybody then you probably will need to implement the LMHOSTS solution I mentioned above.
If everyone is having issues connecting to everybody then you probably will need to implement the LMHOSTS solution I mentioned above.
---
“The Government of Spain will not applaud those who set the world on fire just because they show up with a bucket.” - Prime Minister of Spain, Pedro Sánchez

“The Government of Spain will not applaud those who set the world on fire just because they show up with a bucket.” - Prime Minister of Spain, Pedro Sánchez

-
RubberDuckie
- Posts: 2854
- Joined: Thu Nov 23, 2000 3:38 am
- Location: Texas
- Contact:
Good example... in the above screen shot. Notice my network lists several computers and one IP. the computer with the IP is the same as TV-PC. Only when I double click the IP Computer everything works. When I double click the computer tv-pc I get a promt for a password (I think it is coming from another computer..could be wrong)
I have run nbtstat on all computers with no success. (found out you have to run cmd under admin)
I have run nbtstat on all computers with no success. (found out you have to run cmd under admin)
JSTMF
-
RubberDuckie
- Posts: 2854
- Joined: Thu Nov 23, 2000 3:38 am
- Location: Texas
- Contact:
- FlyingPenguin
- Flightless Bird
- Posts: 33161
- Joined: Wed Nov 22, 2000 11:13 am
- Location: Central Florida
- Contact:
Can't say why - there could be a variety of reasons. I would definitely power cycle everything. Since this happened after a power interruption it could be a flaky network switch or something.
Worst case the LMHOSTS trick should fix it since it will force it to use the correct IP.
Worst case the LMHOSTS trick should fix it since it will force it to use the correct IP.
---
“The Government of Spain will not applaud those who set the world on fire just because they show up with a bucket.” - Prime Minister of Spain, Pedro Sánchez

“The Government of Spain will not applaud those who set the world on fire just because they show up with a bucket.” - Prime Minister of Spain, Pedro Sánchez

-
RubberDuckie
- Posts: 2854
- Joined: Thu Nov 23, 2000 3:38 am
- Location: Texas
- Contact:
- eGoCeNTRoNiX
- Posts: 7362
- Joined: Wed Oct 23, 2002 12:51 pm
- Location: HELL
I have run into issues like this in the past too Duckie.. And I have spent even longer than you at times trying to figure it out, then broke down and did what you did. Hence my original answer lol But, every time this happens, I try to figure it out again, if I ever come across the answer, I'll let you know 
eGo
eGo
PM before Email People!!
Heat Under eGoCeNTRoNiX
Who Farted? BEANIE!!!
!Welcome to the United States of the Offended!
Heat Under eGoCeNTRoNiX
Who Farted? BEANIE!!!
!Welcome to the United States of the Offended!
