分页: 1 / 1

HowToSetUpNdiswrapper

发表于 : 2005-07-22 14:22
oneleaf
PLEASE NOTE: By following the directions below, you are using an old release of Ndiswrapper. Not all drivers will work with this version. It is recommended to install Ndiswrapper from source to get the latest version. Many drivers will not work unless you do use the newest version.
How To - Set up Ndiswrapper
How To - Set up Ndiswrapper

The ndiswrapper kernel module is contained in the linux-restricted-modules package that matches your kernel version. To install it make sure the restricted repository in synaptic is enabled.

ndiswrapper-utils is a set of programs which allow .inf files to be used to configure your WiFi card. .inf files are the configuration files used by Microsoft Windows to set up WiFi cards so are readily available. These files can be obtained from your cards (Windows) instalation CD or downloaded from the card manufacturers website. If you are not sure which one to use, try them all.

Select the inf-file you need.

1.

Launch synaptic or whatever package management tool you prefer
2.

Install the package "ndiswrapper-utils"
3.

Call "sudo ndiswrapper -i foobar.inf" where foobar.inf is the path to your inf-file (windows wireless-lan driver).
4.

Call "sudo modprobe ndiswrapper" to install the needed module.
5.

Now you can set up your working Wlan device under Desktop->Administration->Networking
6.

Dont forget to type "ndiswrapper -m" if you want to load it at startup automatically
7.

Use the Networking tool to configure networking on the new interface, or edit /etc/network/interfaces by hand to your liking.
*

A sample:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#auto eth0
#iface eth0 inet static
# address 192.168.2.3
# netmask 255.255.255.0
# network 192.168.2.0
# broadcast 192.168.2.255
# gateway 192.168.2.1
# # dns-* options are implemented by the resolvconf package, if installed
# dns-nameservers XXX

# The wireless network interface
auto wlan0
iface wlan0 inet dhcp
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers XXX
wireless_keymode XXX
wireless_key XXX
wireless_essid XXX

1.

Now you can call ifup wlan0 and your card will hopefully ready to work.


https://wiki.ubuntu.com/HowToSetUpNdiswrapper

发表于 : 2005-07-24 9:27
yongyi
如何安装Ndiswrapper


请注意:依据下列的说明,你正使用一个旧版本的 Ndiswrapper 。不是所有驱动程序都能在这版本中使用。再次推荐你从源中安装最新的版本。许多驱动程序都无法工作,直至你使用最新版本。


How To - 安装 Ndiswrapper


How To - 安装 Ndiswrapper


ndiswrapper 内核模块包含在与你的内核版本相匹配的 linux-restricted-modules 软件包中。要安装它,请确保在新立得软件包管理器中激活 restricted 软件源。

ndiswrapper-utils 是一整套允许用 .inf 文件来配置WiFi卡的程序。.inf 文件是Microsoft Windows 用来安装 WiFi 卡的,所以可轻易得到。这些文件可以从你 WiFi 卡的安装CD获取,或从卡的制造厂家网站下载。如果你不确定使用哪个,请全部都尝试一下。


选择你需要的 inf 文件。


1. 启动新立得软件包管理器,或其他你喜欢的软件包管理工具


2. 安装 "ndiswrapper-utils" 软件包


3. 调用 "sudo ndiswrapper -i foobar.inf" ,foobar.inf 是你的 inf 文件(windows 无线局域网驱动程序)的路径。


4. 调用 "sudo modprobe ndiswrapper" 来安装所需模块。


5. 现在你可以调配你工作着的 Wlan 设备:
Desktop->Administration->Networking
桌面 -> 管理 -> 联网
(应该是:系统 -> 系统管理 -> 联网)


6. 如果你想开机时自动装载它,请别忘了键入 "ndiswrapper -m"


7. 使用联网工具在新的 interface 配置网络,或者手工编辑 /etc/network/interfaces ,你喜欢就好。



举个例子:

代码: 全选

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#auto eth0
#iface eth0 inet static
# address 192.168.2.3
# netmask 255.255.255.0
# network 192.168.2.0
# broadcast 192.168.2.255
# gateway 192.168.2.1
# # dns-* options are implemented by the resolvconf package, if installed
# dns-nameservers XXX

# The wireless network interface
auto wlan0
iface wlan0 inet dhcp
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers XXX
wireless_keymode XXX
wireless_key XXX
wireless_essid XXX



1. 现在你可以调用 ifup wlan0 ,你的卡将可望准备工作了。

https://wiki.ubuntu.com/HowToSetUpNdiswrapper

发表于 : 2005-08-01 18:11
oneleaf

发表于 : 2006-07-30 23:01
millenniumdark
官方已经没有这个了,先放着。