← 返回命令列表

Linux command

ndiswrapper 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Install Windows driver

ndiswrapper -i [driver.inf]

List installed drivers

ndiswrapper -l

Remove driver

ndiswrapper -r [drivername]

Write modprobe config

ndiswrapper -m

Show hardware

ndiswrapper -v

Load module

modprobe ndiswrapper

说明

ndiswrapper allows Windows WiFi drivers on Linux. It wraps NDIS drivers for Linux use. The tool enables unsupported WiFi cards. Loads Windows .sys and .inf files.

参数

-i _INF_
Install driver from given .inf file (also copies referenced .sys/.bin into /etc/ndiswrapper).
-l
List installed drivers and the matching hardware/PCI ID.
-r _NAME_
Remove an installed driver.
-m
Write a modprobe alias for the wireless interface (writes to /etc/modprobe.d).
-ma
Write module alias configuration.
-mi
Write module install configuration.
-v
Show driver and hardware (device ID) information.
-d _DEVID_:_DRIVER_
Use DRIVER for the device with the given PCI/USB id.
-e _DRIVER_
Remove a driver from the system.
--help
Display help information.

FAQ

What is the ndiswrapper command used for?

ndiswrapper allows Windows WiFi drivers on Linux. It wraps NDIS drivers for Linux use. The tool enables unsupported WiFi cards. Loads Windows .sys and .inf files.

How do I run a basic ndiswrapper example?

Run `ndiswrapper -i [driver.inf]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -i _INF_ do in ndiswrapper?

Install driver from given .inf file (also copies referenced .sys/.bin into /etc/ndiswrapper).