Remove outdated note about ndis not supporting USB, add list of card
types supported to previous paragraph. Edit redundant language. Clarify explanation of 32-bit versus 64-bit drivers.
This commit is contained in:
parent
705ca6c684
commit
83ffb4ec19
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=38690
1 changed files with 15 additions and 22 deletions
|
|
@ -905,17 +905,12 @@ linuxemu/chapter.sgml -->
|
||||||
&os; NDISulator (otherwise known as Project Evil) takes a
|
&os; NDISulator (otherwise known as Project Evil) takes a
|
||||||
&windows; driver binary and basically tricks it into
|
&windows; driver binary and basically tricks it into
|
||||||
thinking it is running on &windows;. Because the
|
thinking it is running on &windows;. Because the
|
||||||
&man.ndis.4; driver is using a &windows; binary, it is only
|
&man.ndis.4; driver is using a &windows; binary, it only
|
||||||
usable on &i386; and amd64 systems.</para>
|
runs on &i386; and amd64 systems. PCI, CardBus, PCMCIA
|
||||||
|
(PC-Card), and USB devices are supported.</para>
|
||||||
|
|
||||||
<note>
|
<para>To use the NDISulator, three
|
||||||
<para>The &man.ndis.4; driver is designed to support mainly
|
things are needed:</para>
|
||||||
PCI, CardBus and PCMCIA devices, USB devices are not yet
|
|
||||||
supported.</para>
|
|
||||||
</note>
|
|
||||||
|
|
||||||
<para>In order to use the NDISulator, you need three
|
|
||||||
things:</para>
|
|
||||||
|
|
||||||
<orderedlist>
|
<orderedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
|
@ -932,27 +927,25 @@ linuxemu/chapter.sgml -->
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
|
|
||||||
<para>Locate the files for your specific card. Generally,
|
<para>Locate the files for your specific card. Generally,
|
||||||
they can be found on the included CDs or at the vendors'
|
they can be found on the included CDs or at the vendor's
|
||||||
websites. In the following examples, we will use
|
website. In the following examples, we will use
|
||||||
<filename>W32DRIVER.SYS</filename> and
|
<filename>W32DRIVER.SYS</filename> and
|
||||||
<filename>W32DRIVER.INF</filename>.</para>
|
<filename>W32DRIVER.INF</filename>.</para>
|
||||||
|
|
||||||
<note>
|
<para>The driver bit width must match the version of &os;.
|
||||||
<para>You can not use a &windows;/i386 driver with
|
For &os;/i386, use a &windows; 32-bit driver. For
|
||||||
&os;/amd64, you must get a &windows;/amd64 driver to make it
|
&os;/amd64, a &windows; 64-bit driver is needed.</para>
|
||||||
work properly.</para>
|
|
||||||
</note>
|
|
||||||
|
|
||||||
<para>The next step is to compile the driver binary into a
|
<para>The next step is to compile the driver binary into a
|
||||||
loadable kernel module. To accomplish this, as
|
loadable kernel module. As
|
||||||
<username>root</username>, use &man.ndisgen.8;:</para>
|
<username>root</username>, use &man.ndisgen.8;:</para>
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>ndisgen <replaceable>/path/to/W32DRIVER.INF</replaceable> <replaceable>/path/to/W32DRIVER.SYS</replaceable></userinput></screen>
|
<screen>&prompt.root; <userinput>ndisgen <replaceable>/path/to/W32DRIVER.INF</replaceable> <replaceable>/path/to/W32DRIVER.SYS</replaceable></userinput></screen>
|
||||||
|
|
||||||
<para>The &man.ndisgen.8; utility is interactive and will
|
<para>&man.ndisgen.8; is interactive and
|
||||||
prompt for any extra information it requires; it will
|
prompts for any extra information it requires.
|
||||||
produce a kernel module in the current directory which can
|
A new kernel module is written in the current directory.
|
||||||
be loaded as follows:</para>
|
Use &man.kldload.8; to load the new module:</para>
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>kldload <replaceable>./W32DRIVER_SYS.ko</replaceable></userinput></screen>
|
<screen>&prompt.root; <userinput>kldload <replaceable>./W32DRIVER_SYS.ko</replaceable></userinput></screen>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue