Skip to content

Commit

Permalink
Update docs to reflect current driver name
Browse files Browse the repository at this point in the history
  • Loading branch information
bonsaiviking committed Jul 17, 2023
1 parent 2cd7b62 commit 5701e5e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
17 changes: 6 additions & 11 deletions docs/npcap-devguide.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,8 @@ printf("%s", pcap_version);
// Npcap output: "Npcap version 0.92, based on libpcap version 1.8.1"
// WinPcap output: "WinPcap version 4.1.3"</screen>

<para>Npcap requires the <varname>npcap</varname> service to be running. If
installed in <quote>WinPcap Compatible Mode</quote>, the
<varname>npf</varname> service can be started instead. Given that
<varname>npcap</varname> service is always installed
in both modes, a good practice is just trying the <varname>npcap</varname> service first.
If it fails, then try the <varname>npf</varname> service. This is also what most of our users
do in their software based on our investigation. A code sample from Nmap is
<para>Npcap requires the <varname>npcap</varname> service to be running.
A code sample from Nmap showing how to check the status of the service is
<ulink role="hidepdf" url="https://github.com/nmap/nmap/blob/8c8e4a08c6c6b7abd2343e5921aafb6077bdb257/mswin32/winfix.cc#L322-L328">here</ulink>.
</para>
</sect3>
Expand Down Expand Up @@ -233,11 +228,11 @@ printf("%s", pcap_version);
unlike WinPcap which was often installed in a demand-start
configuration.</para>

<para>Npcap uses service name <quote>npcap</quote> instead of WinPcap's <quote>npf</quote> with
<quote>WinPcap Compatible Mode</quote> OFF. So applications using
<para>Npcap uses service name <quote>npcap</quote> instead of WinPcap's <quote>npf</quote>,
so applications using
<command>net start npf</command> for starting service must change to this:
run <command>net start npcap</command> first, if it fails, then try
<command>net start npf</command>.</para>
run <command>net start npcap</command>.
</para>
</sect3>
</sect2>

Expand Down
4 changes: 1 addition & 3 deletions docs/npcap-guide.xml
Original file line number Diff line number Diff line change
Expand Up @@ -517,9 +517,7 @@
If there is an issue with the Npcap driver, you can open an
<emphasis>Administrator</emphasis> command prompt, enter <command>sc query
npcap</command> to query the driver status and <command>net start
npcap</command> to start the driver (replace
<replaceable>npcap</replaceable> with <replaceable>npf</replaceable> if you
installed Npcap in <quote>WinPcap Compatible Mode</quote>). The command
npcap</command> to start the driver. The command
output will inform you whether there's an error. If the driver is running
well, but the issue still exists, then you may need to check the driver's
log. Normal Npcap releases don't switch on the driver log function for
Expand Down

0 comments on commit 5701e5e

Please sign in to comment.