当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 5 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 怎样设置Ndiswrapper
帖子发表于 : 2005-03-31 22:14 
论坛管理员

注册: 2005-03-27 0:06
帖子: 10116
系统: Ubuntu 12.04
送出感谢: 7
接收感谢: 128
Setting up ndiswrapper is trivial for those "in the know", but here's a How-To to help those who are less experienced.

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 from André:

# 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

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

Contributed by André Kuntze

http://www.ubuntulinux.org/support/docu ... diswrapper


最后由 oneleaf 编辑于 2005-04-15 22:22,总共编辑了 1 次

页首
 用户资料  
 
2 楼 
 文章标题 : 怎样设置Ndiswrapper
帖子发表于 : 2005-04-15 21:40 

注册: 2005-04-15 17:24
帖子: 15
送出感谢: 0 次
接收感谢: 0 次
设置ndiswrapper对那些已经知道了的人来说是小菜一碟,不过这篇文档是写给那些没什么经验的人的。

ndiswrapper-utils是让你的无线卡得以使用.inf文件来设置的一组程序。.inf文件是微软windows里让你的无线卡得以工作的配置文件。(即驱动。译者注)你能从你的无线卡的安装光盘里找到它,也可以到无线卡的生产厂家的网站去下载。如果你不知道该用哪个,就都试一下。

选好你需要的.inf文件

1,启动新立得或你喜欢的任何包管理器
2,安装"ndiswrapper-utils"
3,键入"sudo ndiswrapper -i foobar.inf"这里foorbar.inf是你的.inf文件(windows无线卡驱动)
4,键入"sudo modprobe ndiswrapper"来安装需要的模块
5,现在你能在 桌面----〉管理工具----〉网络里设置你的无线设备
6,不要忘了键入"ndiswrapper -m"如果你需要它随系统启动的话
7,在新界面里用 网络工具 来设置你的网络,或者手动编辑/etc/network/interfaces

一个来自André的样本:
# 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

8,现在你能键入ifup wlan0,而你的无线卡应该可以工作了

André Kuntze投稿


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2005-04-15 22:20 
论坛管理员

注册: 2005-03-27 0:06
帖子: 10116
系统: Ubuntu 12.04
送出感谢: 7
接收感谢: 128
http://www.ubuntu.org.cn/docs/folder.20 ... ument_view


_________________
当净其意如虚空,远离妄想及诸取,令心所向皆无碍


页首
 用户资料  
 
4 楼 
 文章标题 : debian amd64, broadcom bcm94306 (4306) wlan config how to
帖子发表于 : 2005-04-25 7:17 

注册: 2005-04-25 6:13
帖子: 3
送出感谢: 0 次
接收感谢: 0 次
debian amd64, broadcom bcm94306 (4306) wlan config how to with ndiswrapper


To install you need the ndiswrapper from ndiswrapper.sf.net.
Additionally you must have wlan-tools installed (apt-get install wlan-tools).
Further you need the generic broadcom driver which you can find at the ubuntoforums.org site (http://ubuntuforums.org/attachment.php?attachmentid=186). The downloaded zip file contains a netbc564.inf file which will be used later as a 64bit binary driver for the ndiswrapper.

make shure you have the right kernel-header files installed. To find out which header files you need look at uname -a to get to know your exact kernel version. A apt-cache search kernel-header should bring up the name of the kernel-header package you are looking for. Install it via apt-get install.

now unpack you ndiswrapper into a directory of your choice. cd to it. run make distclean && make && make install as root. afterwards run ndiswrapper -l to list you loaded drivers. it should return zero loaded drivers. This will change in a moment.

unzip the broadcom 64bit zip archive with the netbc564.inf file within. cd to the directory and run ndiswrapper -i netbc564.inf run ndiswrapper -l again. Now you should get netbc564 as loaded in the list.

Now its time to load the ndiswrapper module into your kernel. run modprobe ndiswrapper. If you recieve warnings check dmesg. If you recieve a warning that says you need a different gcc version, simply run apt-get install for the version nummer. For example apt-get install gcc-3.4. Afterwards you should target the symlink gcc in /usr/bin to you gcc installation and recompile everything.

If the loading of the ndidwrapper module worked without errors you can start working with the wlan-tools. Work on iwconfig should enable to bring up your wlan0 interface.

Note: If you want ndiswrapper module to be loaded automatically you must edit /etc/modules.conf manually or run ndiswrapper -m.

Now everything should work. I hope this little how to has helped you a little. Compared to a 32bit installation of the broadcom wlan chipset via ndiswrapper I stumbled accross two barriers: First one was to find the one and only 64bit driver for the broadcom 4306 chipset (at the moment) at ubuntuforums.org and to resolve the problems with the gcc compiler (amd64 bit debian comes with gcc-3.3 preinstalled at the moment while ndiswrapper was looking for gcc-3.4).


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2006-07-31 22:47 
头像

注册: 2005-07-02 14:41
帖子: 4133
系统: Ubuntu 14.04 (Kylin)
送出感谢: 53
接收感谢: 11
没翻完,先放着


_________________
https://weakish.github.io


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 5 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译