Re: Detect PPPoE Broadband Connection - restated

From: Stephan Wolf (stewo68_at_hotmail.com)
Date: 03/04/04


Date: Thu, 04 Mar 2004 21:23:03 +0100


[Re-posted from microsoft.public.win32.programmer.networks due to FUP2
by OP]

Such an adapter (PPPoE) is an NDIS Miniport driver that implements a
virtual network device (as opposed to a physical device). Such devices
have the NCF_VIRTUAL bit set in their "Characteristics", see e.g.
INetCfgComponent::GetCharacteristics().

Note, however, that there are various virtual network adapters, which
are not necessarily doing PPPoE.

See also the BindView sample in the DDK (snetcfg sample in earlier
DDKs) for how to use the INetCfg interface.

Stephan

---
On Wed, 03 Mar 2004 08:56:51 GMT, "Mark Holiday"
<mholiday@nycap.NO-SPAM.rr.com> wrote:
>Here is the problem restated for these newsgroups:
>
>I need to detect that a user has an active PPPoE connection
>for Broadband, such as would be the case for a DSL connection.
>
>For example, under Network Connection applet:
>
>Type: "LAN or High-Speed Internet"
>Device Name: <Name of PHYSICAL adapter in system>
>
>Type: "Broadband"
>Device Name: "WAN Minport (PPPOE)"
>
>How can I reliably *programatically* - e.g. Win32 API - detect
>that the "broadband device" is active?  It does NOT seem to appear
>in the system the same as a "physical" network adapter, such as
>a good ol' wired NIC.
>
>(Thread started in NG microsoft.public.win32.programmer.networks)
>
>Thanks,
>Mark


Relevant Pages

  • Re: Detect PPPoE Broadband Connection - restated
    ... virtual network device. ... are not necessarily doing PPPoE. ... such as would be the case for a DSL connection. ... <Name of PHYSICAL adapter in system> ...
    (microsoft.public.win32.programmer.networks)
  • Re: i get problem with Routing & Remote Access Service
    ... change the the priority order of you network connections to make the pppoe ... adapter first in order under network connections/advanced/advanced settings. ... routers and set that up for pppoe. ...
    (microsoft.public.win2000.security)
  • PPPoE detection
    ... Hope this is the right newsgroup ... ... PPPoE is bound for a specific adapter? ... Is the RASENTRY structure of the 'RasEnumEntries' ...
    (microsoft.public.windowsxp.network_web)
  • PPPoE detection
    ... Hope this is the right newsgroup ... ... PPPoE is bound for a specific adapter? ... Is the RASENTRY structure of the 'RasEnumEntries' ...
    (microsoft.public.win32.programmer.networks)