Project

General

Profile

Bug #2320

Updated by Anonymous about 8 years ago

Hi, 

 

 I'm currently setting up a new foreman infrastructure on our network. I used the instructions on the foreman website to installthe proxy under Windows. BTW I installed a proxy under Windows XP. This works fine as long as you add the dhcp option for netsh: 

 

 NETSH ADD HELPER DHCPMON.DLL 

 

 and install the ruby DEVKIT. 

 

 First problem is that the timeout in lib/proxy/dhcp/server/native_ms.rb is too low. It is set to 5 seconds and should be set to 10. Something I was able to fix myself for now. 

 

 But then I get this error when trying to import the subnets from the dhcp in foreman: 

 

 D, [2013-03-14T15:20:01.414954 #3564] DEBUG -- : Loading subnets for 172.28.20.14 
 
 D, [2013-03-14T15:20:01.430579 #3564] DEBUG -- : executing: c:\windows\system32\cmd.exe /c c:\Windows\System32\netsh.exe -c dhcp server 172.28.20.14 show scope 
 
 I, [2013-03-14T15:20:08.946156 #3564]    INFO -- : Vendor class not found 
 
 E, [2013-03-14T15:20:08.946156 #3564] ERROR -- : Failed to enumerate the scopes on 172.28.20.14Vendor class not found 

 

 If using not the latest version of the smart-proxy under windows XP, this works just fine. I used the latest version of the smart-proxy as this was pointed out in the documentation.

Back