Go Back   TechArena Community > Technical Support > Computer Help > Windows Vista > Windows Vista Network
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , ,

Sponsored Links



Net use with hostname fails, IP address works fine

Windows Vista Network


Reply
 
Thread Tools Search this Thread
  #1  
Old 04-03-2008
Luc Kumps
 
Posts: n/a
Net use with hostname fails, IP address works fine

Vista Business standalone machine
Share named "SHAR" is defined
IP address of machine = 192.168.2.132
Name of computer=USERPC

HOSTS file contains
192.168.2.132 bsserver

These commands work:
net use L: \\localhost\SHAR
net use L: \\192.168.2.132\SHAR

This command fails (after prompting for the user/password):
net use L: \\bsserver\SHAR
System error 86
The specified network password is not correct

The same experiment on Windows XP yields "Error 1326 - unknown user name of
bad password"...
In both cases I can ping bsserver, so name resolution works.

Any ideas?

TIA,

Luc K

Reply With Quote
  #2  
Old 04-03-2008
Robert L. \(MS-MVP\)
 
Posts: n/a
Re: Net use with hostname fails, IP address works fine

\\localhost\SHAR and \\bsserver\SHAR are different if you do these command
in a remote computer. Post back back with the result of this command ping -a
192.168.2.132.

--
Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com


"Luc Kumps" <NOkumpsSPAM@telenet.be> wrote in message
news:OtpnGEffIHA.4120@TK2MSFTNGP06.phx.gbl...
> Vista Business standalone machine
> Share named "SHAR" is defined
> IP address of machine = 192.168.2.132
> Name of computer=USERPC
>
> HOSTS file contains
> 192.168.2.132 bsserver
>
> These commands work:
> net use L: \\localhost\SHAR
> net use L: \\192.168.2.132\SHAR
>
> This command fails (after prompting for the user/password):
> net use L: \\bsserver\SHAR
> System error 86
> The specified network password is not correct
>
> The same experiment on Windows XP yields "Error 1326 - unknown user name
> of bad password"...
> In both cases I can ping bsserver, so name resolution works.
>
> Any ideas?
>
> TIA,
>
> Luc K
>


Reply With Quote
  #3  
Old 04-03-2008
Luc Kumps
 
Posts: n/a
Re: Net use with hostname fails, IP address works fine

Thanks for your assistance!

> \\localhost\SHAR and \\bsserver\SHAR are different if you do these command
> in a remote computer.


I don't do it on a remote computer, I do it LOCALLY.
The IP adress of the computer on which I'm doing this is 192.168.2.132,
which is defined to correspond with BSSERVER in the HOSTS file.

> Post back back with the result of this command ping -a 192.168.2.132.


It says
Pinging bsserver" [192.168.2.132] with 32 bytes of data:"

As no network traffic is involved (I'm doing this on a *single* machine),
response time is <1ms.

Are you able to connect to a share on your LOCAL computer, using a host name
which is NOT the Computer Name, but which was defined in HOSTS to correspond
to the IP address of the local system?

Luc K

Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Vista > Windows Vista Network


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Net use with hostname fails, IP address works fine"
Thread Thread Starter Forum Replies Last Post
Does LG Optimus 3D works fine with SGS 2 browser Ishwari Portable Devices 4 19-08-2011 08:41 PM
Problem with LAN, Wireless works fine Win7 samyboy280 Networking & Security 5 12-06-2011 05:24 PM
PPTP VPN connection works fine using wifi but fails using 3G MassMan Portable Devices 4 07-02-2011 04:50 AM
Blur game works fine through Hamachi? Centaurs Video Games 5 31-05-2010 10:58 AM
MP3 player works fine with XP but not with vista misterxboi Portable Devices 1 22-02-2010 08:57 AM


All times are GMT +5.5. The time now is 04:10 AM.