Add 'WAN Miniport (PPPoE)' Component into run-time image

G

Guest

I already have developed XPE image without 'WAN Miniport (PPPoE)' component.

However, in the field, customers needs to install DSL modem connection, but
my XPE image cannot support it because PPPoE component is not included.

So, now I have to make patch program for released XPE image to install 'WAN
Miniport (PPPoE)' component for myself.
But I have no idear how I make runtime setup from specific component - 'WAN
Miniport (PPPoE)'.

Somebody help me!
 
D

David Harris

David Gu said:
I already have developed XPE image without 'WAN Miniport (PPPoE)' component.

However, in the field, customers needs to install DSL modem connection, but
my XPE image cannot support it because PPPoE component is not included.

So, now I have to make patch program for released XPE image to install 'WAN
Miniport (PPPoE)' component for myself.
But I have no idear how I make runtime setup from specific component - 'WAN
Miniport (PPPoE)'.

Somebody help me!

The problem is not just adding that component, but finding out what other
components are needed by it that are not in the image (and what components they
need). As a first step you need to find out how many new components will be
needed.

Make a copy of your current Target Designer configuration (SLD file)
Set the visibility in TD to 100.
Load your copy configuration.
Add the 'WAN Miniport (PPPoE)' component
Resolve dependencies

Then look at the logs to see what other components have been added. That will
give you an idea of all the additional components that will be needed to add
PPPoE support. Once you have listed all the additional components you need,
then you must identify the following for each of them ...

What additional files they include
What additional registry entries are supplied
What additional DLL & COM-object registrations are required.
What run-time actions are required

Only when you have the above information can you decide whether it is easier to
produce a patch for your original image, or deploy a new image.
 
G

Guest

Thanks Mr. Harris,

Actually, I already check that point you mentioned below.
As I do dependency check after adding PPPoE component into my slx file on
TD, at result, only 'WAN Miniport (PPPoE)' component was added, this means
any other addtional component is not needed for my image with PPPoE image.

So, now I just have to get a method to add 'WAN Miniport (PPPoE)' component
into run-time image.
But, as I see the component on TD, this component has only a registry data,
and futhermore, that registry data already exists in my run-time image.
I guess that I must miss some files or registry data or any other things to
add that component onto my run-time image.

Could you check which files or data must be added to run-time image for PPPoE?
Please help me.

Thank you!
 
D

David Harris

David Gu said:
Thanks Mr. Harris,

Actually, I already check that point you mentioned below.
As I do dependency check after adding PPPoE component into my slx file on
TD, at result, only 'WAN Miniport (PPPoE)' component was added, this means
any other addtional component is not needed for my image with PPPoE image.

So, now I just have to get a method to add 'WAN Miniport (PPPoE)'
component
into run-time image.
But, as I see the component on TD, this component has only a registry
data,
and futhermore, that registry data already exists in my run-time image.
I guess that I must miss some files or registry data or any other things
to
add that component onto my run-time image.

Could you check which files or data must be added to run-time image for
PPPoE?
Please help me.

Thank you!

A simple check of the 'WAN Miniport (PPPoE)' component in Target Designer
shows a lot of things are needed to get it working. For more info set TD
into 'Advanced Mode' and ensure that the 'Resources' entry is ticked in the
View menu. Then look at the Miniport component settings. This shows ...

a) One registry entry
HKLM\SYSTEM\CurrentControlSet\Services\NdisTapi\Parameters\AsyncEventQueueSize

b) One PnP Id that is attached to service 'RasPppoe'

c) Service data for the 'NdisTapi' service.

d) Service data for the 'RasPppoe' service.

So at the least you will need to make sure that the PnP id is in the
registry, the following files are in the image and the services they provide
are correctly registered...
%12%\raspppoe.sys
%12%\ndistapi.sys
 
S

sniper

I have the same problem...

Two file(raspppoe.sys, ndistapi.sys) is copied to my run-time image.
The registry data already exists, but, i don't know how to add PnP id
in run-time image.

Could you tell me how to do it?
Please help me.
 
D

David Harris

I am no expert on this part of XPe, but looking at FBA it seems to do the
following when the pppoe miniport is included ...

1) Add registry entries for the two services 'NdisTapi' and 'RasPppoe' prior to
FBA.

2) Use the command 'C:\WINDOWS\system32\snetcfg.exe -l
C:\WINDOWS\inf\netrast.inf -c p -i MS_PPPOE' to install the PPPOE configuration
in phase 5600.

Looking at the inf files you may also need to use the commmand
'C:\WINDOWS\system32\snetcfg.exe -l C:\WINDOWS\inf\netrast.inf -c p -i
MS_PppoeMiniport'.


So to patch your system you will probably need to...

Make sure the registry entries for the 'NdisTapi' and 'RasPppoe' services are
present.

Ensure the following files are present...
C:\WINDOWS\system32\snetcfg.exe
C:\WINDOWS\inf\netrast.inf
C:\WINDOWS\inf\netrasa.inf
C:\WINDOWS\inf\layout.inf

Then run the commands
'C:\WINDOWS\system32\snetcfg.exe -l C:\WINDOWS\inf\netrast.inf -c p -i MS_PPPOE'
and possibly also
'C:\WINDOWS\system32\snetcfg.exe -l C:\WINDOWS\inf\netrast.inf -c p -i
MS_PppoeMiniport'

With luck that should setup the ndistapi and raspppoe services and link the
miniport to them.

David
 
D

David Harris

Looking at the inf files you may also need to use the commmand
'C:\WINDOWS\system32\snetcfg.exe -l C:\WINDOWS\inf\netrast.inf -c p -i
MS_PppoeMiniport'.

That should have read

Looking at the inf files you may also need to use the commmand
'C:\WINDOWS\system32\snetcfg.exe -l C:\WINDOWS\inf\netrasa.inf -c p -i
MS_PppoeMiniport'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top