特殊:Badtitle/NS100:WifiDocs/NdiswrapperOnAMD64:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
第5行: 第5行:
=== Instal necessary packages ===
=== Instal necessary packages ===
<pre><nowiki>  
<pre><nowiki>  
sudo apt-get install build-essential dh-make gcc-3.4 fakeroot linux-headers-`uname -r`  
  sudo apt-get install build-essential dh-make gcc-3.4 fakeroot linux-headers-`uname -r`  
</nowiki></pre>
  </nowiki></pre>
* Make sure you've added Universe to your repositories
* Make sure you've added Universe to your repositories
=== Prepare ndiswrapper ===
=== Prepare ndiswrapper ===
第22行: 第22行:
From Command line:
From Command line:
<pre><nowiki>
<pre><nowiki>
sudo ndiswrapper -i ''driver''.inf (where  
  sudo ndiswrapper -i ''driver''.inf (where  
</nowiki></pre>
  </nowiki></pre>
<!> Replace ''driver'' in command with actual driver file name.
<!> Replace ''driver'' in command with actual driver file name.
<br>
<br>
to see if the driver is alright do:
to see if the driver is alright do:
<pre><nowiki>
<pre><nowiki>
ndiswrapper -l
  ndiswrapper -l
</nowiki></pre>
  </nowiki></pre>
You should see output like this if everything is ok:
You should see output like this if everything is ok:
<pre><nowiki>
<pre><nowiki>
Installed ndis drivers:
  Installed ndis drivers:
{name of driver}  driver present, hardware present
  {name of driver}  driver present, hardware present
</nowiki></pre>
  </nowiki></pre>
Next:
Next:
<pre><nowiki>
<pre><nowiki>
sudo modprobe ndiswrapper
  sudo modprobe ndiswrapper
</nowiki></pre>
  </nowiki></pre>
if that works run:
if that works run:
<pre><nowiki>
<pre><nowiki>
sudo ndiswrapper -m
  sudo ndiswrapper -m
</nowiki></pre>
  </nowiki></pre>
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.
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.
* For more information or general help with ndiswrapper see Self:WifiDocs/Driver/Ndiswrapper
* For more information or general help with ndiswrapper see Self:WifiDocs/Driver/Ndiswrapper

2007年12月6日 (四) 11:03的版本

{{#ifexist: :WifiDocs/NdiswrapperOnAMD64/zh | | {{#ifexist: WifiDocs/NdiswrapperOnAMD64/zh | | {{#ifeq: {{#titleparts:WifiDocs/NdiswrapperOnAMD64|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:WifiDocs/NdiswrapperOnAMD64|1|-1|}} | zh | | }}

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.
  5. 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.

  • For more information or general help with ndiswrapper see Self:WifiDocs/Driver/Ndiswrapper