Skip to content

ACX-MAC80211

How To Compile ACX-MAC80211 on openSUSE 10.3


(But it still won't work for me! Yes, you've read correctly: THIS HOW TO DOES NOT WORK! Instead it WILL freeze your system! Don't try unless you know what you are doing and might have an idea on how to bring this thing to life!)

Why?


Most distributions out there ship a module called acx. This works for everyone still using WEP (or no encryption at all) but not with WPA. WPA is supposed to be supported only in the port to the mac80211 stack. There might be precompiled packages out there but they didn't work (at least not for me). Well, this doesn't work, either, but I thought if I document what I did maybe I'd find out what I did wrong. I didn't. But nonetheless:

How?


(Everything logged in as root!)
  • Install kernel sources via yast
  • Download acx-mac80211 sources: http://sourceforge.net/project/showfiles.php?group_id=75380&package_id=75880 (eg. acx-mac80211-20071003.tar.bz2)
  • Extract them to /usr/src/linux/drivers/net/wireless/acx
  • cd there and modify Makefile to look like this: obj-m += acx-mac80211.o
    acx-mac80211-obj-m += pci.o
    #acx-mac80211-obj-m += usb.o
    acx-mac80211-objs := common.o $(acx-mac80211-obj-m)

    (to build for USB devices, comment the 2nd and uncomment the 3rd line)
  • cd .. and modify Makefile by adding: obj-m += acx/
  • cd ../../..
  • If your kernel is not already configured you can: cp /proc/config.gz .config.gz && ungzip .config.gz
  • make && make modules_install
    (on my machine depmod fails because it only has 256M ram; you can try to free ram by leaving X, eg. init 3 or init 1)
  • Download firmware. That's the tricky part. I've found some by looking at my Gentoos ebuild: http://www.gentooportage.info/portage/net-wireless/acx-firmware.html; ${P} is the package name, acx-firmware-20060207 in this case; so the complete link would be http://www.kazer.org/acx-firmware-20060207.tar.bz2
  • Unpack firmware to /lib/firmware and link the appropriate files, eg in /lib/firmware:
    tar -xjvf acx-firmware-20060207.tar.bz2
    ln -s fw/acx100_1.9.8.b/tiacx100* .
  • Use yast to set up wlan0. Set it to NOT automatically load at system start, because (as mentioned above) it might freeze your machine! Or use the following /etc/sysconfig/network/ifcfg-wlan0:
    BOOTPROTO='dhcp'
    STARTMODE='manual'
    NAME='WLAN'
    BROADCAST=''
    ETHTOOL_OPTIONS=''
    IPADDR=''
    MTU=''
    NETMASK=''
    NETWORK=''
    REMOTE_IPADDR=''
    USERCONTROL='no'
    WIRELESS_AP=''
    WIRELESS_AUTH_MODE='psk'
    WIRELESS_BITRATE='auto'
    WIRELESS_CA_CERT=''
    WIRELESS_CHANNEL=''
    WIRELESS_CLIENT_CERT=''
    WIRELESS_CLIENT_KEY=''
    WIRELESS_CLIENT_KEY_PASSWORD=''
    WIRELESS_DEFAULT_KEY='0'
    WIRELESS_EAP_AUTH=''
    WIRELESS_EAP_MODE=''
    WIRELESS_ESSID='Your Essid goes here!'
    WIRELESS_FREQUENCY=''
    WIRELESS_KEY=''
    WIRELESS_KEY_0=''
    WIRELESS_KEY_1=''
    WIRELESS_KEY_2=''
    WIRELESS_KEY_3=''
    WIRELESS_KEY_LENGTH='128'
    WIRELESS_MODE='Managed'
    WIRELESS_NICK=''
    WIRELESS_NWID=''
    WIRELESS_PEAP_VERSION=''
    WIRELESS_POWER='yes'
    WIRELESS_WPA_ANONID=''
    WIRELESS_WPA_IDENTITY=''
    WIRELESS_WPA_PASSWORD=''
    WIRELESS_WPA_PSK='Your very secret passphrase goes here!'
  • Now it is time to freeze your system: Do a modprobe acx-mac80211 and watch /var/log/messages.
  • Do a ifup wlan0 and everything stops. No "Oops", no "Panic", no nothing, just a blinking coursor.
  • If you think it helps you might want to copy the kernel you've compiled earlier to /boot and reboot your machine. It didn't help me. (Both the old and the new kernel seem to bee identical.)

If anyone figures this on out, PLEASE POST A COMMENT! I have to try this on my Gentoo machine some time, but, alas, I have not enough time at the moment. It's been a long time since I used a Suse and I only installed it on this system since I thought it would be a bit... overstraining an old Duron 800 with 256M to try and compile everything myself.

Trackbacks

Keine Trackbacks

Kommentare

Ansicht der Kommentare: Linear | Verschachtelt

Noch keine Kommentare

Kommentar schreiben

Umschließende Sterne heben ein Wort hervor (*wort*), per _wort_ kann ein Wort unterstrichen werden.
Standard-Text Smilies wie :-) und ;-) werden zu Bildern konvertiert.

Um maschinelle und automatische Übertragung von Spamkommentaren zu verhindern, bitte die Zeichenfolge im dargestellten Bild in der Eingabemaske eintragen. Nur wenn die Zeichenfolge richtig eingegeben wurde, kann der Kommentar angenommen werden. Bitte beachten Sie, dass Ihr Browser Cookies unterstützen muss, um dieses Verfahren anzuwenden.
CAPTCHA

Formular-Optionen

Kommentare werden erst nach redaktioneller Prüfung freigeschaltet!