<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Grnbrg</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Grnbrg"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Grnbrg"/>
	<updated>2026-04-04T06:30:30Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_checkout_and_install_madwifi_experimental_driver_for_ar5008&amp;diff=41657</id>
		<title>How to checkout and install madwifi experimental driver for ar5008</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_checkout_and_install_madwifi_experimental_driver_for_ar5008&amp;diff=41657"/>
		<updated>2009-02-24T23:35:10Z</updated>

		<summary type="html">&lt;p&gt;Grnbrg: Name change of project host causing svn to fail.  Updated svn url.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Official support for the AR5008/AR5418 chipset has not yet been included in an official release of the madwifi-hal however, in the meantime, there is  pre-release support with which some have found some success. In order to take advantage of the latest version of the code, you can either download the [http://snapshots.madwifi.org/madwifi-trunk-current.tar.gz nightly snapshot], or use subversion as described below:&lt;br /&gt;
&lt;br /&gt;
* make (if necessary) and change to a directory where you new directory&lt;br /&gt;
 user@box:~/$ mkdir madwifi&lt;br /&gt;
 user@box:~/$ cd madwifi &lt;br /&gt;
* Fetch files using svn&lt;br /&gt;
 user@box:~/madwifi$ svn co http://svn.madwifi-project.org/madwifi/trunk&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 Checked out revision ####.&lt;br /&gt;
* Now enter the directory and start compiling:&lt;br /&gt;
 user@box:~/madwifi$ cd trunk/&lt;br /&gt;
 user@box:~/madwifi/trunk$ make&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
* With a little luck, you now have a properly compiled driver, ready for install. You'll probably be asked to enter the root password.&lt;br /&gt;
 user@box:~/madwifi/trunk$ sudo make install&lt;br /&gt;
* If you're using debian, you will have to add an entry to your &amp;lt;tt&amp;gt;/etc/network/interfaces&amp;lt;/tt&amp;gt; file in order to be able to bring up the device. To make use of wpa_supplicant in roaming mode, add an entry like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#Wireless&lt;br /&gt;
noauto ath0&lt;br /&gt;
allow-hotplug ath0&lt;br /&gt;
&lt;br /&gt;
iface ath0 inet manual&lt;br /&gt;
    wpa-driver madwifi&lt;br /&gt;
    wpa-roam   /etc/network/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
iface default inet dhcp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Now all that's missing is probing the module. This will create two new network interfaces &amp;quot;wifi#&amp;quot; and &amp;quot;wlan#&amp;quot;&lt;br /&gt;
 user@box:~/madwifi/trunk$ sudo modprobe ath_pci&lt;br /&gt;
 user@box:~/madwifi/trunk$ /sbin/ifconfig &lt;br /&gt;
 ath0      Link encap:Ethernet  HWaddr 00:19:7E:41:09:C1  &lt;br /&gt;
           inet addr:192.168.0.102  Bcast:192.168.0.255  Mask:255.255.255.0&lt;br /&gt;
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
           RX packets:316176 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
           TX packets:562494 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
           collisions:0 txqueuelen:0 &lt;br /&gt;
           RX bytes:54115716 (51.6 MiB)  TX bytes:823180275 (785.0 MiB)&lt;br /&gt;
 eth0      Link encap:Ethernet  HWaddr 00:15:58:86:70:EE  &lt;br /&gt;
           inet addr:192.168.0.119  Bcast:192.168.0.255  Mask:255.255.255.0&lt;br /&gt;
           UP BROADCAST MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
           RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
           collisions:0 txqueuelen:1000 &lt;br /&gt;
           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)&lt;br /&gt;
           Base address:0x2000 Memory:ee000000-ee020000 &lt;br /&gt;
 lo        Link encap:Local Loopback  &lt;br /&gt;
           inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
           UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
           RX packets:1420 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
           TX packets:1420 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
           collisions:0 txqueuelen:0 &lt;br /&gt;
           RX bytes:182621 (178.3 KiB)  TX bytes:182621 (178.3 KiB)&lt;br /&gt;
 wifi0     Link encap:UNSPEC  HWaddr 00-19-7E-41-09-C1-00-00-00-00-00-00-00-00-00-00  &lt;br /&gt;
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
           RX packets:462907 errors:753 dropped:0 overruns:0 frame:182&lt;br /&gt;
           TX packets:563036 errors:6 dropped:0 overruns:0 carrier:0&lt;br /&gt;
           collisions:0 txqueuelen:199 &lt;br /&gt;
           RX bytes:91695661 (87.4 MiB)  TX bytes:846831037 (807.6 MiB)&lt;br /&gt;
           Interrupt:21 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
It's the ath0 interface that you're after for actually configuring whatever network manager you choose to use. The wifi0 is the accursed binary hal interface.&lt;br /&gt;
=Troubleshooting=&lt;br /&gt;
If you're having trouble getting the ath0 interface to show up on a regular &amp;lt;tt&amp;gt;ifconfig&amp;lt;/tt&amp;gt;, but can see it if you do an &amp;lt;tt&amp;gt;ifconfig -a&amp;lt;/tt&amp;gt; and nothing seems to be happening with wpa_supplicant, the solution (for some unknown reason) is to rename ath0 to wlan0. This is easily done by modifying the udev rule. &lt;br /&gt;
&lt;br /&gt;
Upon the first probing of the &amp;lt;tt&amp;gt;ath_pci&amp;lt;/tt&amp;gt; module, something resembling the following rule line should have been added &amp;lt;tt&amp;gt;/etc/udev/rules.d/z25_persistent-net.rules&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x168c:0x0024 (ath_pci)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;&amp;lt;your mac address&amp;gt;&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, NAME=&amp;quot;ath0&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
All you need to do is change the &amp;lt;tt&amp;gt;&amp;quot;ath0&amp;quot;&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;&amp;quot;wlan0&amp;quot;&amp;lt;/tt&amp;gt; and you're good to go. Bring down the interface, remove the module with &amp;lt;tt&amp;gt;rmmod ath_pci&amp;lt;/tt&amp;gt;, run the command &amp;lt;tt&amp;gt;pkill wpa&amp;lt;/tt&amp;gt;, remove &amp;lt;tt&amp;gt;/var/run/wpa_supplicant/ath0&amp;lt;/tt&amp;gt; if it's still there and reprobe the module. Hopefully that should get you working.&lt;br /&gt;
=See Also=&lt;br /&gt;
[[ThinkPad 11a/b/g/n Wireless LAN Mini Express Adapter]]&lt;/div&gt;</summary>
		<author><name>Grnbrg</name></author>
		
	</entry>
</feed>