Jump to content

STZ128

Member
  • Posts

    17
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About STZ128

  • Birthday 06/24/1951

Profile Information

  • OS
    XP Pro x64

STZ128's Achievements

0

Reputation

  1. Hello, I have been looking for DHCP code to receive a request from a remote computer. The test program is compiled with Builder 5 C++. This how my test is illustrated: Test Unit ------------------------------- Work Station no Keyboard with Kbd,CRT no CRET Borland Builder 5 10 MHz Ethernet C++ When I recycle the PXE to restart, I captured the first several two frames. The first frames of data look okay. (as a matter of fact the PXE process works OK!) So these two frames are "Golden Results". I used builder, with taking from many examples, to create code that should behave as the Golden Result. When the test code receives the frame 1 from the test unit, The workstations receives the data correctly. Then the workstation code is to reply to Test Unit. However before the code can execute sendto(), the error 10049. I am hoping there is problem with my code. I can not find the problem! Some help would surely be appreciated DHCP_test.cpp
  2. Thanks, I figured it out. Some leftover batch file was killing it. DOOOOH steve Jaclaz, And I didn't endup hammering Google. HA HA Have a Great Day!
  3. Yes I know about hammering. But like you said, right now it does not work. As soon as a ping starts to work, I will add a delay. :-) This my configuration: Eventually, I will a DHCP and PXE servers to the workstation. But for now, I want the PE test to access the WWW via the ccproxy. Yes, the workstation shows 216.144.187.199 as the server, in the control window as well as ipconfig.sys. However, on the workstation I can not get a response from any of the three DNS servers with pings. (What???!!) On the PE test, i can ping 20.0.0.1/ Years ago, I had this config working with win 95. Any ideas? steve Steve
  4. I have a winPE 3.1 image that loads from CD of PXE. My desired application, BOINC, runs well. However now I would like to network 10-20 PE3.1 computers onto a sub-network. This network will be tied to a XP computer that will store the images and provide interface to the WWW. In this server I will use ccproxy. However, I am having trouble setting up the PE to interface with the server ccproxy. So far the following lines do not work. netsh int IP set address name="local area connection" static 20.0.0.5 255.255.255.0 20.0.0.1 netsh interface ip set dns name="Local Area Connection" static 216.144.187.199 ipconfig /all pause :LOOP ping www.google.com goto :LOOP Using this test, it appears the DNS is not working yet. ( I have ccproxy set up for DNS and HTTP services) Any ideas? Thanks in advance. Steve
  5. Thanks Jaclaz, I am more familiar with using .reg files. The ramdisk is built in the image phase of construction. I am now having a problem utilizing Proxy server. Tripredacus has suggested I create a new topic. Thanks for your help on getting the PE setup! steve
  6. Jaclaz, Right after posting the message, I discovered that website. Yes it is excellant reference. Thanks for referring it to me... Yesterday and this morning I was working on implementing it. I hate to type, so I clipped the two reg files and put them into reg files. And import them with reg.exe. reg load HKLM\_WinPE_SYSTEM %PEDIR%\mount\windows\system32\config\system reg load HKLM\_WinPE_software %PEDIR%\mount\windows\system32\config\software reg import %PEDIR%\mount\windows\system32\config\imdisk.system reg import %PEDIR%\mount\windows\system32\config\imdisk.software reg unload HKLM\_WinPE_SYSTEM reg unload HKLM\_WinPE_SOFTWARE (Superficial change, but minimizes chance of error!) It works beautifully! Yes, just a plain WinPE3.1. No desktop app, just a command window. Now on to other fish to fry! Thanks again for your help, steve
  7. Hello! I have finally gotten back to my project after several computer crashes! I have my winpe 3.1 back online again. Current status: I can now burn an ISO file, Make an hard disk boot able image. So things are better now. However now: I would like to employ a ramdisk at run time. My idea is, after booting, install the ramdisk to hold my running application. After the boot, I install the imdisk setup. It installs perfectly ( and appears to function.) I shutdown the the pe (wpeutil shutdown) and then attempt to reboot. Rebooting seems to remove the ramdisk that was installed. The registry does not show the effects of loading the imdisk setup. The only results maintained are the new files on the hard drive. Apparently the active drivers are not maintained, nor the registry saved. Help needed here: The files that are required for imdisk are: imdisk.inf imdisk.sys imdisk.cpl (control appalet), imdisk.exe, imdsksvc.exe (service task) and awealloc.sys What I think I have to do is, duplicate the operation on the installer to activate the ramdisk. Anyone have ideas how to do this? Thanks in adv! Steve
  8. Tripredacus, Thank for my latest hint! This link provides just the information I have been searching for desperately. I suspect the one of the ram disks are adjusting their size to leave ~30Mb of remaining memory .... killing my app! I will check it out immediately! Thank you very much. Steve
  9. Submix8c Jaclaz Wimb Thank you for all your comments, they are very much appreciated! Currently I have: PXE server running on my XP workstation (I do not miss burning CD after CD!) I have PE3.0 and PE3.1 running on my target machine, but still not enough free ram to allow the app to run. I have successfully taken my boot.wim from 144Mb down to 70 Mb. I am still confused my both versions leave me with <32Mb of free virtual x drive? I am wondering if BCD is allocating too much ram for the virtual drive? I tried to use Visual BCD to check the BCD on my PE3 image, but it does not run. I moved it to my Win 8 machine, it runs but only like to look at the Win 8 boot.wim. Perhaps I can trim out the unused drivers next. After that I will take another look at the PE1.0/1.1 OS. I appreciate all of your comments! Steve PS: Yes, Submix8c, your last post is exactly what I am trying to do in the long run....eventually.
  10. Wimb, My machines are so old.... they do not know about booting from USB devices. I was hoping to use the romed NIC to implement PXE booting....(later opertunites!) Info on image sizes follow. When I use my Master build: It uses WAIK to build a win3.0 with my application installed. ISO size 164Mb Boot.wim size 136mb Target available Ram 30 mb I create a profile while on the target, then I modify the Master image to generate an Optimized image. The optimized image: ISO size 246Mb Boot.wim size 80Mb Target X: ram size is 32Mb. The following questions from this information are: 1) Why is the ISO size on the otimized version larger than the original? (Perhaps this should telling me something?) 2) The wim files are showing me what I expect... (appears reasonable) 3) But the available ram on the x: ramdrive still remains to be 32Mb. I ran a system information program (SIV32L.exe). It tells me there is a paging file on the test machine. I used regedit to examine the register, I do not see any references to paging file. If there is one, it must be set at startup and not registered. If I could minimize the paging file, or make it zero, I think that would solve my problem. So, If anyone has any ideas, I would much appreciate it. steve
  11. Sure, submix8c. The Tech machine is used to build the image. I have several directories, one for the image work area and the other for the containing the programs to be embedded int the test computer. The WAIK process if performed by: rem MakeMaster.bat rev. 1.5 2/29/2016 rem Step 1 rem 1.1 Remove files cd "C:\Program Files\Windows AIK\Tools\PETools" set PEDIR=c:\Kepler_Master-image set ADD=c:\Kepler_Master rd /s/q %PEDIR% echo on rem 1.2 Build structure call copype x86 %PEDIR% echo on copy winpe.wim iso\sources\boot.wim echo on rem pause cd %PEDIR% echo on rem Step 2 rem 2.1 Mount WINPE.wim dism /Mount-WIM /WimFile:ISO\sources\boot.wim /Index:1 /MountDir:mount rem pause rem Step 3 rem 3.1 Add Packages dism /Image:mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-wmi.cab" rem pause rem Step X rem x.1 Add Additional xcopy %ADD%\additional\*.* %PEDIR%\mount\ /E /y rem pause rem Step 4 rem 4.1 Enable Profiling dism /Image:mount /Enable-Profiling rem pause UnMount next rem Step 5 rem 5.1 Unmount DISM /Unmount-Wim /MountDir:mount /Commit rem pause rem Step 6 rem Make ISO oscdimg -n -m -o -betfsboot.com ISO ISO\winpe_x86.iso Nothing clever or clean, but it seems to work!
  12. Jaclaz Thanks for the note. I just started to optimize the image. I will look into the the XP version. The application (BOINC) needs >32Mb of unused ram before it wan even start to work. So everything little bit helps. Thanks for the suggestions! Steve
  13. Ahhh-Haaaaa I figured it out! The whole problem was: The child inherites from the parents and never the other way! I broke the "system" into individual batch files. The working directory was changed in a called batch file, but of course the change was lost when returning to the main batch file! I noticed will watching a UTube video! DOOH! Now everything is working with profiling. Tomorrow I will start optimizing! Hurray! I will keep in touch with my results. Thanks to all those the responded! Later, Steve
  14. I appreciate all the help! I tried the QuickPe image builder, it is very similar to the method I was using. The loaded image still only left 32Mb of ram for the system. Profiling: In my web search, I have found that DISM may not utilize the "/Enable-Profiling" option! Although I have seen it being used in examples. (#%$@) How it would work: 1) Setting the /Enable-Profiling when building the image, code would be added to the image that would log whenever a dll or object was loaded on the test. 2) When the image was run, all support dll or object loaded, would be logged into a file. If a dll or object was not loaded, it would NOT be listed. 3) After the windows was running, one would exercise the application(s) with every option. This would cause the objects/dll required to be added to the list. 4) Now WPEUTIL would be executed on the test machine. This would create a list of required objects/dll. 5) Now, with this list, another image build is startedt. The objects logged on the list would be included in the image. Objects NOT on the list would be NOT included in the image. This image hopefully would be smaller and would require less ram. (And more for my application.) Perhaps there is another PE builder that includes this function?? Misc Notes: I have about 20 main boards, power supplies, chassis and several equipment racks that I was using for BOINC when Win95 was the required OS. Now they say the OS required is WinXP. So I am trying to generate Winpe 2 or 3 that can be used to host my clients. (Updating the H/W is not an option for me because of $$$) Any other ideas on this problem? Thanks in advance, Steve
×
×
  • Create New...