Hi
I've created an image, without the NE2000 option enabled.
Then i want to launch my image and to have the NE2000 option enabled. I use the following command :
DeviceEmulator.exe /s \tmp\noNe2000.dess /p 000D56FB2057
or
DeviceEmulator.exe /s \tmp\noNe2000.dess /p
the image is launched, but the NE2000 option is still not activated. Why
If i create an image with the option enabled, selecting my netcard, the NE2000 option will be enabled if i launch the image.
My purpose is to create an image that will work on several machines. So i can't bind it to a specific netcard.
If i finaly succeed to enable the NE2000 option at the image launch, will the MAC address be the one set by the machine that created the image, or will it be set by the machine that launches the image
Thank's a lot to who will help me !

enabling NE2000 when launching Saved State
RicoE
So, now i know that we can create an image that is not bind to a MAC address.
BUT, to launch the emulator the first time (without image) i'm using the Emulator Manager, because i don't have any binary file to use with the DeviceEmulator.exe cmd.
I just have a stand alone application that i copy in the emulated device file system, via Active Sync. (So i need to "craddle" the emulator). I put a shortcut to the application in the StartUp folder.
Once, the image created, the idea is to start it on several different machines, with NE2000 activated, so the application will start automaticaly and report some benchmarks to a distant server.
So my question is :
- How to create an image from an emulator launched via the Emu Manager, that will allow to enable at startup the NE2000 option (with no bind MAC address of course)
- Is it possible to trigger a "craddle" from the command line
Thank's a lot for your help !
nbie
1. Images launched from Device Emulator Manager looks for boot the following things -> local save state, global save-state, bin file. So you can launch the device emulator from DvcEmuManager and enable network card from file->config dialog (make sure not to select anything except "Connected network card". Selecting "Connected network card is equivalent to enabling networking without specifying mac address) and then do a save-state and exit. This local save-state will be placed in c:\documents and settings\<user name>\application data\microsoft\Device Emulator\*.dess. You can try moving these files to other m/c in same location and connect from that m/c should work.
2. No you can't trigger a cradle from command-line as of now. In future versions we may be looking at it. You can try using SendKeys to Device emulator manager.
-thanks,
mohit
Michael Hansen
Hello,
If you don't want to bind to a perticular netcard, please don't specify the mac address while creating the save-state. So the sequence of steps is
1. DeviceEmulator.exe <binfile> <other options> /p
2. Save the state and exit.
3. DeviceEmulator.exe /s <save-state file name>
The NE2000 emulation is done as a PCMCIA card which is inserted in PCMCIA slot. At the time of the emulator start this PCMCIA (NE2000) card is inserted again. So if you have not specified any mac address it will get its own mac address and hence the save-state file should be portable across different machines.
Hope this helps.
-Thanks,
Mohit
GConst
Thank's. Enabling NE2000 option by selected "connected network card" made the image free from MAC addresses.
Thank's for the answers.
Ronan