|
| |||||||||
| Tags: address, fine, hostname, net |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| 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 |
|
#2
| |||
| |||
| 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 > |
|
#3
| |||
| |||
| 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 |
![]() |
|
| Thread Tools | Search this Thread |
| |
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 |