个人工具

UbuntuHelp:WifiDocs/NdiswrapperOnAMD64

来自Ubuntu中文

跳转至: 导航, 搜索

<<Include(Tag/Unsupported)>> IconsPage?action=AttachFile&do=get&target=Icongnomeicu3.png Note: this is a defunct method written for hoary. Breezy and dapper both come with precompiled ndiswrapper modules. If those do not work try using the instructions on the ndiswrapper website. Dapper and includes drivers for broadcom that do not require ndiswrapper as well, see WifiDocs/Driver/bcm43xx.

Instal necessary packages

 
  sudo apt-get install build-essential dh-make gcc-3.4 fakeroot linux-headers-`uname -r` 
  
  • Make sure you've added Universe to your repositories

Prepare ndiswrapper

  1. download the ndiswrapper source from ndiswrapper.sf.net.
  2. Untar it and go into the ndiswrapper directory
  3. from there go to the debian directory.
  4. Open all of the control.* files. They should be:
  • control.modules
  • control.source
  • control.utils
  • There is a line that looks like: Architecture: i386 in each of the files. Change the i386 to amd64 in all of them.
  1. After that go back to the ndiswrapper-(version) directory and make deb, and then dpkg -i ndiswrapper*amd64.deb.

{i} I got the drivers for the broadcom 4360 that came in my HP Pavilion from linuxant [1] they probably have the drivers you need.

Install Driver

From Command line:

  sudo ndiswrapper -i ''driver''.inf (where 
  

<!> Replace driver in command with actual driver file name. <
> to see if the driver is alright do:

  ndiswrapper -l
  

You should see output like this if everything is ok:

  Installed ndis drivers:
  {name of driver}  driver present, hardware present
  

Next:

  sudo modprobe ndiswrapper
  

if that works run:

  sudo ndiswrapper -m
  

if this goes through you should be able to go into System-Administration-Networking in the gnome menu (i'd imagine kwifimanager or whatever can do it in kde, and i'd appreciate confirmation on that) and see the wireless card. If it did not you may need to check the driver.