Distribution list/Fedora
From ACX100/ACX111 wireless network driver project
note:
- This howto works for Fedora Core 6 Zod. Some minor changes should make it usable on FC5 as well though.
- Compile Errors. Some people seem to have problem compiling the module on kernels >= 2.6.20 using the steps below. If you get compile errors mentioning the number of arguments passed to "INIT_WORK", try doing a manual installation, outside the kernel tree, as described here. (Shown to work on 2.6.22.1-41.fc7 and others)
Contents |
Installing kernel headers
Start by firing up a terminal and switching to root by (mind the `-')
su -
Establish which kernel release you are running
uname -r
Check if the according kernel-devel packages are installed
yum list installed kernel-devel
i586!=i686, make sure this matches with what you are running. There`s a bug in anaconda which might have wrongfully installed i586 more
If its not installed yet do so by
yum install kernel-devel
Verify that all went well by
cd /lib/modules/`uname -r` ls -l
note the location of the `build' link and check it against the following output
cd /usr/src/kernels/ ls -l
If the headers arent there try to find out more
find / -name *<kernel-version-here>*
Obtaining build tool, source and firmware packages
To build the kernel module we'll use dkms, which is available in the extras repository
yum install --enablerepo=extras dkms
Neither the acx source nor the firmware is available on official repositories. However both freshrpms and Dries hold them. Lets activate freshrpms
rpm -ivh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/6/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm
Next install the required packages
yum install acx100-firmware acx111-firmware dkms-tiacx
cabocdrontr
Building, installing and adding acx to the kernel
Compile the module through dkms. You`ll need the dkms-tiacx package version, which was echo`ed by the yum install command above. At the time of writing this verion info was `0.4.7-3'.
dkms build -m tiacx -v <version>
This should print `DKMS: build completed'. The compiled module is situated in /var/lib/dkms/tiacx/<version>/`uname -r`/<architecture>/module/ If this step fails you probably havent got the kernel headers installed properly.
Note: The build did not work with kernel 2.6.20-1.2948.fc6, it failed with an error message "(bad exit status: 2)" and instructions to look in a file called make.log. Reading that log, and googling for the error message led me to this page http://www.fedoraforum.org/forum/showthread.php?t=150622 . Applying the patch linked to by the last post at least let me get through the compilation. /Christian RidderstrÃÂöm
Next insert with
dkms install -m tiacx -v <version>
All is well if `DKMS: install Completed.' got echo`ed ...
Nearly there now, load the module with
modprobe acx
or (works for FC5)
modprobe acx-pci
or
modprobe acx-usb
depending on if you have the PCI or USB version of the chipset.
Note: when upgrading your kernel you`ll have to recompile and reinstall with dkms, which is quite painless.
Verifying
You can check if all was succesfull with:
a/ lsmod which lists the currently running kernel modules
lsmod | grep acx
this should output acx
b/ Watching the led on your card go green, if any.
c/
iwconfig
An interface named `wlan0' or the like indicates success.
If any of the above isnt true try to find out more with
dmesg
Configuring your card
Refer to the manuals of `ifconfig' and `iwconfig' ...
man ifconfig man iwconfig
or for a clean and easy gui run
system-config-network&
Done~ xD
