You are not logged in.

#1 2009-03-23 16:13:57

henrikken
Member
Registered: 2008-12-12
Posts: 3

[SOLVED] Acer Aspire One - Wireless issue + Wpa_supplicant

Hi there!
I've been using arch on both my desktop and laptop for a while, with wpa_supplicant working perfectly for both of them (University 802.1x auth) I have a config file which works perfectly on the same wireless network with my laptop, but on the netbook I just can't seem to get on it. It's an Acer Aspire One - A150.
This computer uses as we know an atheros chip, which I just can't seem to get working. My laptop on the other hand uses an ipw2200 chip which works fine.

I've installed the madwifi modules, and when doing iwconfig i can see wlan0 listed.  If i try to scan for wireless ap's with "iwlist wlan0 scan" it does not find anything.
Doing "wpa_supplicant -Dmadwifi -iwlan0 -c/..../wpa_supplicant.conf -dd " produces the following error

[henrik@scribble ~]$ sudo wpa_supplicant -Dmadwifi -iwlan0 -c/home/henrik/wpa_supplicant.conf -dd
Initializing interface 'wlan0' conf '/home/henrik/wpa_supplicant.conf' driver 'madwifi' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/home/henrik/wpa_supplicant.conf' -> '/home/henrik/wpa_supplicant.conf'
Reading configuration file '/home/henrik/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
eapol_version=1
ap_scan=1
fast_reauth=1
Line: 485 - start of a new network block
ssid - hexdump_ascii(len=7):
     65 64 75 72 6f 61 6d                              eduroam         
key_mgmt: 0x1
eap methods - hexdump(len=16): 00 00 00 00 19 00 00 00 00 00 00 00 00 00 00 00
identity - hexdump_ascii(len=21):
     68 72 69 30 30 33 40 6d 61 69 6c 62 6f 78 2e 75   xXxXXX@xxxxxxx
     69 74 2e 6e 6f                                    xx.com           
password - hexdump_ascii(len=8): [REMOVED]
phase2 - hexdump_ascii(len=13):
     61 75 74 68 3d 4d 53 43 48 41 50 56 32            auth=MSCHAPV2   
priority=10 (0xa)
Priority group 10
   id=0 ssid='eduroam'
Initializing interface (2) 'wlan0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
ioctl[IEEE80211_IOCTL_SETPARAM]: Operation not supported
wpa_driver_madwifi_init: failed to set wpa_supplicant-based roaming
WEXT: Operstate: linkmode=0, operstate=6
Failed to initialize driver interface
Failed to add interface wlan0
Cancelling scan request
Cancelling authentication timeout
[henrik@scribble ~]$

I really hope some of you have a suggestion to what I can do to fix this, as it's really annoying only being able to use wired.
What I find wierd, is that "iwlist...scan" does not work.

Thanks in advance
-Henrik

Last edited by henrikken (2009-03-24 15:49:54)

Offline

#2 2009-03-23 17:19:21

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: [SOLVED] Acer Aspire One - Wireless issue + Wpa_supplicant

two things:

1. Your computer should be using the ath5k driver for the ar5007 chipset that your netbook has... and
2. If the opensource approach doesn't work for you, build this driver.

p.s. (wlan0 will be renamed to ath0)

#Contributor: KJoN <kurt_andereya@hotmail.com>
pkgname=madwifi-hal
pkgver=0.10.5.6
pkgrel=svn
pkgdesc="Multiband Atheros Drivers - hal 0.10.5.6 - svn"
arch=('i686' 'x86_64')
url="http://svn.madwifi-project.org"
license=('GPL')
depends=('subversion')
provides=('madwifi' 'madwifi-utils')
source=()
md5sums=()

build() {
    cd $startdir/src
    svn co http://svn.madwifi-project.org/madwifi/branches/$pkgname-$pkgver
    cd $pkgname-$pkgver
    make
    make DESTDIR=$startdir/pkg install
    cp $startdir/pkg/usr/local/* $startdir/pkg/usr -vR
    cp $startdir/pkg/usr/share/* $startdir/pkg/usr -vR
    rm $startdir/pkg/usr/{local,share} -r
}

errr... remember to blacklist ath5k on MODULES on your rc.conf and please, run depmod -a after installing this package.

Luck with your issue


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

#3 2009-03-24 15:13:12

henrikken
Member
Registered: 2008-12-12
Posts: 3

Re: [SOLVED] Acer Aspire One - Wireless issue + Wpa_supplicant

This may seem really noobish, but how do I go forward to build that driver?
I guess I have to add the text to a PKGBUILD file, but how do I launch that with yaourt or similar?

Thanks for the help so far.

Edit:
And will I need to substitute the ath5k modules I blacklist with some other in rc.conf?

Figured it out:
"yaourt -S madwifi-svn-hal"

replace the PKGBUILD with the one above

comment out ath5k in MODULES section of rc.conf as told above
reboot
"wpa_supplicant -Dmadwifi -iath0 -c/.../wpa_supplicant.conf"
"dhclient ath0"
then it should be up and running.

Thanks a lot for the help.

Last edited by henrikken (2009-03-24 15:49:10)

Offline

Board footer

Powered by FluxBB