在Debian下面使用无线网卡
时间:2006-07-21 来源:linxh
ndiswrapper项目使得在linux下使用无线网卡可以用windows的驱动.
准备工作:
1. 安装相应版本的linux-header:
aptitude install linux-headers-$(uname -r)
这是编译ndiswrapper必须的。
2.安装wireless-tools:
aptitude install wireless-tools
步骤如下:
准备工作:
1. 安装相应版本的linux-header:
aptitude install linux-headers-$(uname -r)
这是编译ndiswrapper必须的。
2.安装wireless-tools:
aptitude install wireless-tools
步骤如下:
- 从http://sourceforge.net/projects/ndiswrapper下载最新的ndiswrapper源代码,
- 编译安装ndiswrapper。很简单,分别进入ndiswrapper/driver,utils目录执行make install将安装相应的内核模块和工具。
- 安装网卡的winXP驱动:
- 执行ndiswrapper -i xxxxxxx.INF。
- 执行ndiswrapper -l看看安装是否成功?如果看到"xxxxxx driver present, hardware present",说明安装成功了。
- 加载ndiswrapper模块:modprobe ndiswrapper。
- iwconfig可以看到wlan0设备已经起来了。
- 改一下/etc/network/inteface 文件,把wlan0的设置写进去,然后执行/etc/init.d/network restart。
(example)
auto wlan0
iface wlan0 inet static
address 192.168.116.116
netmask 255.255.255.0
network 192.168.116.0
roadcast 192.168.116.255
gateway 192.168.116.1
dns-nameservers 192.168.116.1
auto wlan0
iface wlan0 inet static
address 192.168.116.116
netmask 255.255.255.0
network 192.168.116.0
roadcast 192.168.116.255
gateway 192.168.116.1
dns-nameservers 192.168.116.1
相关阅读 更多 +