Hello,
-----Message d'origine----- De : ros-dev-bounces@reactos.org [mailto:ros-dev-bounces@reactos.org] De la part de James Tabor Envoyé : samedi 15 octobre 2005 02:52 À : ros-dev@reactos.org Objet : [ros-dev] Re: [ros-svn] [hpoussin] 18453: Remove entries that are created by netcfgx.dll
Hi! Will we need to add entries in hivesys for ROS Ne2K pci (2) driver?
Currently the driver loads but ROS dhclient does not work. All my other
dhclient systems, Win98-2 and XP work.
Thanks, James
* Here are some of the entries created by setupapi when installing ne2000 (by processing media/inf/netisa.inf)
in HKLM\SYSTEM\CurrentControlSet\Services\ne2000 ErrorControl (REG_DWORD) = 1 Group (REG_SZ) = "NDIS" ImagePath (REG_EXPAND_SZ) = "System32\drivers\ne2000.sys" Start (REG_DWORD) = 3 Type (REG_DWORD) = 3
in HKLM\SYSTEM\CurrentControlSet\Control\Class{4D36E972-E325-11CE-BFC1-08002bE 10318}{Index} DriverDesc (REG_SZ) = "NE2000 compatible" ProviderName (REG_SZ) = "ReactOS team" Port (REG_SZ) = "c100" Irq (REG_SZ) = "B" NetworkAddress (REG_SZ) = "001122334455"
* Here are the registry entries created for all netcards by netcfgx.dll
in HKLM\SYSTEM\CurrentControlSet\Services{RANDOMGUID}\Parameters\Tcpip DefaultGateway (REG_SZ) = "0.0.0.0" IPAddress (REG_SZ) = "0.0.0.0" SubnetMask (REG_SZ) = "0.0.0.0"
in HKLM\SYSTEM\CurrentControlSet\Control\Class{4D36E972-E325-11CE-BFC1-08002bE 10318}{Index} NetCfgInstanceId (REG_SZ) = "{RANDOMGUID}
in HKLM\SYSTEM\CurrentControlSet\Control\Class{4D36E972-E325-11CE-BFC1-08002bE 10318}{Index}\Linkage Export (REG_SZ) = "\Device{RANDOMGUID}" RootDevice (REG_SZ) = "{RANDOMGUID}" UpperBind (REG_SZ) = "Tcpip"
in HKLM\SYSTEM\CurrentControlSet\Control\Network{4D36E972-E325-11CE-BFC1-08002 BE10318}{RANDOMGUID} Name (REG_SZ) = "Network connection"
in HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Linkage Bind (REG_MULTI_SZ) = "\Device{RANDOMGUID}" Export (REG_MULTI_SZ) = "\Device\Tcpip_{RANDOMGUID}" Route (REG_MULTI_SZ) = "{RANDOMGUID}"
* Mismatching entries with your setup (Ne20001 is replaced by a random GUID)
Before HKLM,"SYSTEM\CurrentControlSet\Services\Ne2000","Type",0x00010001,0x00000001 (SERVICE_SYSTEM_START) HKLM,"SYSTEM\CurrentControlSet\Control\Class{4D36E972-E325-11CE-BFC1-08002B E10318}\0001","Port",0x00000000,"D000" HKLM,"SYSTEM\CurrentControlSet\Services\Ne20001\Parameters\Tcpip","DefaultGa teway",0x00010000,"10.65.145.1" HKLM,"SYSTEM\CurrentControlSet\Services\Ne20001\Parameters\Tcpip","IPAddress ",0x00010000,"10.65.145.79" HKLM,"SYSTEM\CurrentControlSet\Services\Ne20001\Parameters\Tcpip","SubnetMas k",0x00010000,"255.255.255.0" Now HKLM,"SYSTEM\CurrentControlSet\Services\Ne2000","Type",0x00010001,0x00000003 (SERVICE_DEMAND_START) HKLM,"SYSTEM\CurrentControlSet\Control\Class{4D36E972-E325-11CE-BFC1-08002B E10318}\0001","Port",0x00000000,"c100" HKLM,"SYSTEM\CurrentControlSet\Services{RANDOMGUID}\Parameters\Tcpip","Defa ultGateway",0x00010000,"0.0.0.0" HKLM,"SYSTEM\CurrentControlSet\Services{RANDOMGUID}\Parameters\Tcpip","IPAd dress",0x00010000,"0.0.0.0" HKLM,"SYSTEM\CurrentControlSet\Services{RANDOMGUID}\Parameters\Tcpip","Subn etMask",0x00010000,"0.0.0.0"
* Missing entries now HKLM,"SYSTEM\CurrentControlSet\Control\Class{4D36E972-E325-11CE-BFC1-08002B E10318}{Index}","Characteristics",0x00010001,0x00000000 HKLM,"SYSTEM\CurrentControlSet\Control\Class{4D36E972-E325-11CE-BFC1-08002B E10318}{Index}","BusType",0x00000000,"5" HKLM,"SYSTEM\CurrentControlSet\Control\Class{4D36E972-E325-11CE-BFC1-08002B E10318}{Index}","SlotNumber",0x00000000,"11" HKLM,"SYSTEM\CurrentControlSet\Control\Class{4D36E972-E325-11CE-BFC1-08002B E10318}{Index}","BusNumber",0x00000000,"0" HKLM,"SYSTEM\CurrentControlSet\Services\Ne2000","Route",0x00000000,"Ne20001"
I don't think DHCP registry entries are important (btw, we need a control panel to change them) The Route entry in Ne2000 service seems useless (not used by ne2000.sys) For other differences, can you try the attached patch and see if something happens?
Regards,
Hervé