Re: WNetAddConnection doesn't work without DHCP

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



It's not obsolete, just used for other things, in this case NetWare servers.
I'm not saying that that, specifically, is required, but you need your
Windows machines to respond to LAN Manager requests, which I think means
that you need *one* of the Net BIOS protocols. The fact that you can ping
the server by name means *nothing* about being able to connect to the name.
That name is being mapped, by the IP stack, using hosts or whatever, to the
indicated IP address. That won't work for the Net BIOS operation that you
need to perform.

Your DHCP server is sending some piece of information to the adapter being
configured that way that you have not set yourself on the adapter that is
using static addressing. I don't, off-hand, know what that is, but you
could look at the configuration of the DHCP server to see what requests it
will respond to, or capture the messages between the client and the server
to see what they are.

Paul T.

"Ulrich Eckhardt" <eckhardt@xxxxxxxxxxxxxx> wrote in message
news:si46t5-4pk.ln1@xxxxxxxxxxxxxxxxxxxxxxxxx
"Paul G. Tobey [eMVP]" wrote:
The only way is for the device to include the redirector, which you
obviously have, which includes the NetBIOS component. That, however,
doesn't have any means to add names to it. If the device you're trying
to
map doesn't already have a name and NetBIOS support on it, the name
doesn't exist on the network and sharing won't work. I'm not sure
exactly
what your scenario is, but here's what mine looks like:

I have a bunch of Windows machines, mostly Windows XP. They all have
TCP/IP, IPX/SPX (with NetBIOS), and NetBEUI protocols installed on them
(and, of course, they have names that are assigned via the System Control
Panel applets in Windows on the Computer Name page).

Actually, I would be surprised to find IPX/SPX running on my desktop, I
was
under the impression that that was an obsolete network protocol. Anyway, I
added it to the network settings and it didn't get me any further. I also
activated NETBIOS over TCP/IP, in the advanced settings, but that still
didn't get me any further.

My Windows CE devices all have custom names assigned to them, not the
default "WindowsCE", but something else entered via the Device Name page
of the System Control Panel applet in Windows CE.

Once you've set that device name for Windows CE *and rebooted the
device*,
you can grab any share on any of the Windows machines using
\\<name>\<share>. Where is this falling down for you?


I have static addresses assigned to both the CE device and my desktop. I
can
ping my desktop via its name from the CE device (I have added according
entries under HKLM/Comms/Tcpip/Hosts). However, I can neither map nor use
a
share on my desktop machine, I always get error 53 (network path not
found).

If I use the second network adapter on the CE machine, which is configured
to use DHCP, it works. However, I can't use DHCP in the setup I need.

Thanks for your suggestion!

Uli
--
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932



.



Relevant Pages

  • RE: Printing from Win9x clients stops
    ... Open Server Management. ... then right-click the name of the computer running Windows Small Business ... >From the client computer: ... The Select Network Component Type ...
    (microsoft.public.windows.server.sbs)
  • RE: Printing from Win9x clients stops
    ... The printers with 9x drivers on the server appeared automatically in the ... > then right-click the name of the computer running Windows Small Business ... > From the client computer: ... The Select Network Component Type ...
    (microsoft.public.windows.server.sbs)
  • Re: random lockouts
    ... >> I've got a network with several Windows 2000 Servers and ... >> about 150 Windows 98 clients. ... >This problem occurs because the Windows 2000-based server ... >because the session that is reused is against a DFS ...
    (microsoft.public.win2000.security)
  • Questions Relating to Administering Windows 2000 Server
    ... installed the network client on the target computer. ... Sarah has been attempting to install Windows 2000 ... Server for two days. ... Sarah has checked the cables and hard drives. ...
    (microsoft.public.cert.exam.mcse)
  • Questions Relating to Administering Windows 2000 Server
    ... installed the network client on the target computer. ... Sarah has been attempting to install Windows 2000 ... Server for two days. ... Sarah has checked the cables and hard drives. ...
    (microsoft.public.cert.exam.mcse)