个人工具

“UbuntuHelp:WifiDocs/NetworkManagerMadWifi”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/WifiDocs/NetworkManagerMadWifi}} {{Languages|UbuntuHelp:WifiDocs/NetworkManagerMadWifi}} == NetworkManager with the madwifi drivers on Dapper == ...)
 
第2行: 第2行:
 
{{Languages|UbuntuHelp:WifiDocs/NetworkManagerMadWifi}}
 
{{Languages|UbuntuHelp:WifiDocs/NetworkManagerMadWifi}}
 
== NetworkManager with the madwifi drivers on Dapper ==
 
== NetworkManager with the madwifi drivers on Dapper ==
 
 
When using the default madwifi drivers shipped with Ubuntu Dapper Drake Beta using NetworkManager with WPA does not work (at least for me). Therefore I have created a little HOWTO which requires building new madwifi drivers and installing two debian packages. You can find the original version of the HOWTO here:
 
When using the default madwifi drivers shipped with Ubuntu Dapper Drake Beta using NetworkManager with WPA does not work (at least for me). Therefore I have created a little HOWTO which requires building new madwifi drivers and installing two debian packages. You can find the original version of the HOWTO here:
 
[http://www.hackenberger.at/blog/guides-for-ubuntu-dapper/how-to-configure-ubuntu-dapper-to-use-network-manager-with-the-madwifi-drivers/ Original HOWTO]
 
[http://www.hackenberger.at/blog/guides-for-ubuntu-dapper/how-to-configure-ubuntu-dapper-to-use-network-manager-with-the-madwifi-drivers/ Original HOWTO]
 
 
=== Instructions ===
 
=== Instructions ===
 
 
First download the following files:
 
First download the following files:
 
[http://www.hackenberger.at/ubuntu_guides/madwifi-ng-r1531-20060427.tar.bz2 madwifi-ng-r1531-20060427.tar.bz2]
 
[http://www.hackenberger.at/ubuntu_guides/madwifi-ng-r1531-20060427.tar.bz2 madwifi-ng-r1531-20060427.tar.bz2]
 
[http://www.hackenberger.at/ubuntu_guides/dhcdbd_1.10-0ubuntu12_i386.deb dhcdbd_1.10-0ubuntu12_i386.deb]
 
[http://www.hackenberger.at/ubuntu_guides/dhcdbd_1.10-0ubuntu12_i386.deb dhcdbd_1.10-0ubuntu12_i386.deb]
 
[http://www.hackenberger.at/ubuntu_guides/wpasupplicant-madwifi-hack.deb wpasupplicant-madwifi-hack.deb]
 
[http://www.hackenberger.at/ubuntu_guides/wpasupplicant-madwifi-hack.deb wpasupplicant-madwifi-hack.deb]
 
 
The deb packages are just quick hacks to make everything work. I expect that madwifi + nm + WPA will be available in Dapper as soon as it is released.
 
The deb packages are just quick hacks to make everything work. I expect that madwifi + nm + WPA will be available in Dapper as soon as it is released.
 
 
Unpack the madwifi source:
 
Unpack the madwifi source:
 
<pre><nowiki>
 
<pre><nowiki>
 
tar xjf madwifi-ng-r1531-20060427.tar.bz2
 
tar xjf madwifi-ng-r1531-20060427.tar.bz2
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Compile and install the drivers:
 
Compile and install the drivers:
 
<pre><nowiki>
 
<pre><nowiki>
第26行: 第20行:
 
sudo make install
 
sudo make install
 
</nowiki></pre>
 
</nowiki></pre>
 
 
It will prompt you to remove the old drivers from the ubuntu packages. You should answer "r". Make sure that the script installed the files to the right directory (should be something like /lib/modules/2.6.15-22-386, depending on the output of "uname -r"). Also make sure that there is only one version of ath_pci.ko ("find /lib/modules/2.6.15-22-386 -iname ath_pci*", or similar should tell you that).
 
It will prompt you to remove the old drivers from the ubuntu packages. You should answer "r". Make sure that the script installed the files to the right directory (should be something like /lib/modules/2.6.15-22-386, depending on the output of "uname -r"). Also make sure that there is only one version of ath_pci.ko ("find /lib/modules/2.6.15-22-386 -iname ath_pci*", or similar should tell you that).
 
 
Then install the provided debs:
 
Then install the provided debs:
 
<pre><nowiki>
 
<pre><nowiki>
第34行: 第26行:
 
sudo dpkg -i wpasupplicant-madwifi-hack.deb
 
sudo dpkg -i wpasupplicant-madwifi-hack.deb
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Uninstall the old supplicant
 
Uninstall the old supplicant
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo apt-get remove wpasupplicant
 
sudo apt-get remove wpasupplicant
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Install network-manager and network-manager-gnome if you haven't already:
 
Install network-manager and network-manager-gnome if you haven't already:
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo apt-get install network-manager network-manager-gnome
 
sudo apt-get install network-manager network-manager-gnome
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Reboot once (or replug your network card and reload the drivers) and you should be up and running networkmanager (start nm-applet if the tray icon is missing)
 
Reboot once (or replug your network card and reload the drivers) and you should be up and running networkmanager (start nm-applet if the tray icon is missing)
 
 
=== Troubleshooting ===
 
=== Troubleshooting ===
 
Add your problems here, and I will try to resolve them.
 
Add your problems here, and I will try to resolve them.
 
 
Some more information on the subject:
 
Some more information on the subject:
 
 
NetworkManager
 
NetworkManager
 
 
[[UbuntuHelp:WifiDocs/Driver/Madwifi]]
 
[[UbuntuHelp:WifiDocs/Driver/Madwifi]]
 
 
Have fun!
 
Have fun!
 
 
----
 
----
 
[[category:CategoryDocumentation]]
 
[[category:CategoryDocumentation]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 22:25的版本

NetworkManager with the madwifi drivers on Dapper

When using the default madwifi drivers shipped with Ubuntu Dapper Drake Beta using NetworkManager with WPA does not work (at least for me). Therefore I have created a little HOWTO which requires building new madwifi drivers and installing two debian packages. You can find the original version of the HOWTO here: Original HOWTO

Instructions

First download the following files: madwifi-ng-r1531-20060427.tar.bz2 dhcdbd_1.10-0ubuntu12_i386.deb wpasupplicant-madwifi-hack.deb The deb packages are just quick hacks to make everything work. I expect that madwifi + nm + WPA will be available in Dapper as soon as it is released. Unpack the madwifi source:

tar xjf madwifi-ng-r1531-20060427.tar.bz2

Compile and install the drivers:

cd madwifi-ng-r1531-20060427
make
sudo make install

It will prompt you to remove the old drivers from the ubuntu packages. You should answer "r". Make sure that the script installed the files to the right directory (should be something like /lib/modules/2.6.15-22-386, depending on the output of "uname -r"). Also make sure that there is only one version of ath_pci.ko ("find /lib/modules/2.6.15-22-386 -iname ath_pci*", or similar should tell you that). Then install the provided debs:

sudo dpkg -i dhcdbd_1.10-0ubuntu12_i386.deb
sudo dpkg -i wpasupplicant-madwifi-hack.deb

Uninstall the old supplicant

sudo apt-get remove wpasupplicant

Install network-manager and network-manager-gnome if you haven't already:

sudo apt-get install network-manager network-manager-gnome

Reboot once (or replug your network card and reload the drivers) and you should be up and running networkmanager (start nm-applet if the tray icon is missing)

Troubleshooting

Add your problems here, and I will try to resolve them. Some more information on the subject: NetworkManager UbuntuHelp:WifiDocs/Driver/Madwifi Have fun!