-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Somebody in the thread at some point said: > Hi Andy, > > On Fri, Feb 01, 2008 at 10:43:44AM +0000, Andy Green wrote: > Hi Sameo - > > Wah lovely stuff, was able to configure wpa_supplicant by hand and use > udhcpd to get right on my local WLAN and stay there until now anyway. >> Excellent :-) So, that's a WPA AP, right ? And you managed to get a >> DHCP offer from the AP ?
Yep, proper WPA AP: ~$ wpa_supplicant -Dwext -c/etc/wpa_supplicant.conf -ieth0 ioctl[SIOCSIWENCODEEXT]: Operation not supported ioctl[SIOCSIWENCODEEXT]: Operation not supported ioctl[SIOCSIWENCODEEXT]: Operation not supported ioctl[SIOCSIWENCODEEXT]: Operation not supported ioctl[SIOCGIWSCAN]: Resource temporarily unavailable Trying to associate with 00:11:50:xx:xx:xx (SSID='froh' freq=2437 MHz) Associated with 00:11:50:xx:xx:xx WPA: Key negotiation completed with 00:11:50:xx:xx:xx [PTK=CCMP GTK=TKIP] CTRL-EVENT-CONNECTED - Connection to 00:11:50:xx:xx:xx completed (auth) [id=0 id_str=] and the DHCP offer: $ udhcpc eth0 udhcpc (v1.2.1) started run-parts: /etc/udhcpc.d/00avahi-autoipd exited with return code 1: Success Sending discover... Sending select for 192.168.0.226... Lease of 192.168.0.226 obtained, lease time 7200 run-parts: /etc/udhcpc.d/00avahi-autoipd exited with return code 1: Success adding dns 192.168.0.1 But I am a few metres away from the AP, maybe it helps. >> I currently have 2 bugs with our 2.0 firmware: >> 1) with my AP, my module doesn't hear the AP's DHCP offer unless I switch >> it to full power (no power saving). Ah that can be about your AP perhaps? The powersaving thing relies on a rendezvous at beacon times to pick up packets (and the client WLAN powers down for ~100ms inbetween), maybe the problem can come from the AP side. Mine is a Belkin F5D7230-4. >> 2) If I scp a big file from another machine to /dev/null, the link stalls, >> and it looks like the module is dead. >> Atheros is saying that this could be related to my AP, so I'd be really >> happy if you could run test 2) on your network. Maybe it is not the AP. I did already a 50MB transfer to time it initially: wget http://warmcat.com/xxxxxxx -O/dev/null Connecting to warmcat.com[87.106.142.209]:80 null 0% | | 0 - --:--:-- ETAnull 0% | | 234 KB 00:03:30 ETAnull 1% | | 616 KB 00:02:38 ETAnull 1% | | 976 KB 00:02:28 ETAnull 2% | | 1444 KB 00:02:12 ETAnull 3% | | 1836 KB 00:02:09 ETAnull 4% |* | 2284 KB 00:02:03 ETAnull 5% |* | 2734 KB 00:01:59 ETAnull 6% |* | 3211 KB 00:01:55 ETAnull 7% |** | 3491 KB 00:01:58 ETAnull 7% |** | 3933 KB 00:01:55 ETAnull 9% |** | 4471 KB 00:01:50 ETAnull 9% |** | 4856 KB 00:01:50 ETAnull 10% |** | 5293 KB 00:01:48 ETAnull 11% |*** | 5716 KB 00:01:47 ETAnull 12% |*** | 6159 KB 00:01:45 ETAnull 13% |*** | 6637 KB 00:01:43 ETAnull 14% |**** | 7011 KB 00:01:42 ETAnull 15% |**** | 7516 KB 00:01:40 ETAnull 16% |**** | 7963 KB 00:01:38 ETAnull 17% |**** | 8445 KB 00:01:37 ETAnull 17% |**** | 8871 KB 00:01:36 ETAnull 18% |***** | 9233 KB 00:01:35 ETAnull 19% |***** | 9679 KB 00:01:34 ETAnull 20% |***** | 10125 KB 00:01:33 ETAnull 21% |****** | 10585 KB 00:01:31 ETAnull 22% |****** | 10961 KB 00:01:31 ETAnull 23% |****** | 11431 KB 00:01:29 ETAnull 24% |****** | 11897 KB 00:01:28 ETAnull 24% |****** | 12327 KB 00:01:27 ETAnull 25% |******* | 12770 KB 00:01:26 ETAnull 26% |******* | 13191 KB 00:01:25 ETAnull 27% |******* | 13586 KB 00:01:24 ETAnull 28% |******** | 13908 KB 00:01:24 ETAnull 28% |******** | 14269 KB 00:01:23 ETAnull 29% |******** | 14614 KB 00:01:23 ETAnull 30% |******** | 14938 KB 00:01:23 ETAnull 31% |******** | 15373 KB 00:01:22 ETAnull 31% |******** | 15779 KB 00:01:21 ETAnull 32% |********* | 16220 KB 00:01:19 ETAnull 33% |********* | 16428 KB 00:01:20 ETAnull 33% |********* | 16776 KB 00:01:19 ETAnull 34% |********* | 17030 KB 00:01:19 ETAnull 34% |********* | 17272 KB 00:01:20 ETAnull 35% |********** | 17484 KB 00:01:20 ETAnull 36% |********** | 17836 KB 00:01:19 ETAnull 36% |********** | 18126 KB 00:01:19 ETAnull 37% |********** | 18427 KB 00:01:19 ETAnull 38% |*********** | 18816 KB 00:01:18 ETAnull 38% |*********** | 19249 KB 00:01:16 ETAnull 39% |*********** | 19574 KB 00:01:16 ETAnull 40% |*********** | 19799 KB 00:01:16 ETAnull 41% |*********** | 20294 KB 00:01:14 ETAnull 41% |*********** | 20696 KB 00:01:13 ETAnull 42% |************ | 21082 KB 00:01:12 ETAnull 43% |************ | 21425 KB 00:01:11 ETAnull 43% |************ | 21753 KB 00:01:11 ETAnull 44% |************ | 22070 KB 00:01:10 ETAnull 45% |************* | 22426 KB 00:01:09 ETAnull 46% |************* | 22817 KB 00:01:08 ETAnull 46% |************* | 23203 KB 00:01:07 ETAnull 47% |************* | 23559 KB 00:01:07 ETAnull 48% |************* | 23965 KB 00:01:05 ETAnull 49% |************** | 24356 KB 00:01:04 ETAnull 49% |************** | 24648 KB 00:01:04 ETAnull 50% |************** | 24985 KB 00:01:03 ETAnull 51% |************** | 25421 KB 00:01:02 ETAnull 52% |*************** | 25830 KB 00:01:01 ETAnull 52% |*************** | 26114 KB 00:01:00 ETAnull 53% |*************** | 26487 KB 00:00:59 ETAnull 54% |*************** | 26801 KB 00:00:59 ETAnull 55% |*************** | 27259 KB 00:00:57 ETAnull 55% |*************** | 27627 KB 00:00:56 ETAnull 56% |**************** | 28081 KB 00:00:55 ETAnull 57% |**************** | 28508 KB 00:00:54 ETAnull 58% |**************** | 28940 KB 00:00:53 ETAnull 59% |***************** | 29273 KB 00:00:52 ETAnull 60% |***************** | 29685 KB 00:00:51 ETAnull 60% |***************** | 30058 KB 00:00:50 ETAnull 61% |***************** | 30482 KB 00:00:49 ETAnull 62% |***************** | 30851 KB 00:00:48 ETAnull 63% |****************** | 31271 KB 00:00:47 ETAnull 64% |****************** | 31672 KB 00:00:46 ETAnull 64% |****************** | 32114 KB 00:00:44 ETAnull 65% |****************** | 32558 KB 00:00:43 ETAnull 66% |******************* | 32978 KB 00:00:42 ETAnull 67% |******************* | 33438 KB 00:00:41 ETAnull 68% |******************* | 33879 KB 00:00:39 ETAnull 69% |******************** | 34293 KB 00:00:38 ETAnull 70% |******************** | 34745 KB 00:00:37 ETAnull 71% |******************** | 35122 KB 00:00:36 ETAnull 71% |******************** | 35567 KB 00:00:35 ETAnull 72% |******************** | 36022 KB 00:00:34 ETAnull 73% |********************* | 36314 KB 00:00:33 ETAnull 74% |********************* | 36758 KB 00:00:32 ETAnull 75% |********************* | 37250 KB 00:00:31 ETAnull 76% |********************** | 37758 KB 00:00:29 ETAnull 77% |********************** | 38228 KB 00:00:28 ETAnull 77% |********************** | 38561 KB 00:00:27 ETAnull 79% |********************** | 39067 KB 00:00:26 ETAnull 80% |*********************** | 39570 KB 00:00:24 ETAnull 80% |*********************** | 40014 KB 00:00:23 ETAnull 81% |*********************** | 40375 KB 00:00:22 ETAnull 82% |*********************** | 40885 KB 00:00:21 ETAnull 83% |************************ | 41342 KB 00:00:20 ETAnull 84% |************************ | 41824 KB 00:00:19 ETAnull 85% |************************ | 42307 KB 00:00:17 ETAnull 86% |************************ | 42705 KB 00:00:16 ETAnull 87% |************************* | 43175 KB 00:00:15 ETAnull 88% |************************* | 43641 KB 00:00:14 ETAnull 89% |************************* | 44117 KB 00:00:13 ETAnull 90% |************************** | 44596 KB 00:00:12 ETAnull 91% |************************** | 45054 KB 00:00:10 ETAnull 91% |************************** | 45473 KB 00:00:09 ETAnull 93% |************************** | 45989 KB 00:00:08 ETAnull 93% |************************** | 46403 KB 00:00:07 ETAnull 94% |*************************** | 46815 KB 00:00:06 ETAnull 95% |*************************** | 47314 KB 00:00:05 ETAnull 96% |*************************** | 47843 KB 00:00:03 ETAnull 97% |**************************** | 48352 KB 00:00:02 ETAnull 98% |**************************** | 48724 KB 00:00:01 ETAnull 99% |**************************** | 49047 KB 00:00:00 ETAnull 100% |*****************************| 49448 KB 00:00:00 ETA But I repeated it since you mention it can die: Connecting to warmcat.com[87.106.142.209]:80 null 0% | | 0 - --:--:-- ETAnull 0% | | 234 KB 00:03:30 ETAnull 0% | | 488 KB 00:03:20 ETAnull 1% | | 812 KB 00:02:59 ETAnull 2% | | 1170 KB 00:02:44 ETAnull 3% | | 1599 KB 00:02:29 ETAnull 4% |* | 1996 KB 00:02:22 ETAnull 4% |* | 2419 KB 00:02:16 ETAnull 5% |* | 2883 KB 00:02:09 ETAnull 6% |* | 3372 KB 00:02:02 ETAnull 7% |** | 3824 KB 00:01:59 ETAnull 8% |** | 4198 KB 00:01:58 ETAnull 9% |** | 4625 KB 00:01:56 ETAnull 10% |** | 5030 KB 00:01:54 ETAnull 11% |*** | 5548 KB 00:01:50 ETAnull 12% |*** | 6013 KB 00:01:48 ETAnull 13% |*** | 6459 KB 00:01:46 ETAnull 13% |*** | 6889 KB 00:01:45 ETAnull 14% |**** | 7188 KB 00:01:45 ETAnull 15% |**** | 7603 KB 00:01:44 ETAnull 16% |**** | 7922 KB 00:01:44 ETAnull 16% |**** <== death | 7962 KB 00:01:49 ETAnull 16% |**** | 7962 KB 00:01:54 ETAnull 16% |**** | 7962 KB 00:01:59 ETA[ 8813.910000] AR6000 scan complete: 0 [ 8813.920000] AR6000 Neighbor Report Event [ 8813.920000] bssid 00:11:50:xx:xx:xx null 16% |**** | 7962 KB 00:02:05 ETAnull 16% |**** | 7962 KB 00:02:10 ETAnull 16% |**** | 7962 KB 00:02:15 ETAnull 16% |**** | 7962 KB - stalled -null 16% |**** | 7962 KB - stalled -null 16% |**** | 7962 KB - stalled -null 16% |**** | 7962 KB - stalled -null 16% |**** | 7962 KB - stalled -null 16% |**** | 7962 KB - stalled -null >> Yeah, it's not too bad. Are you running with the peripheral clock at 50 Mhz ? >> Also, do still get the spinlock BUG() you were frequently getting ? > >> Lots of questions, sorry :-/ No problem... I did not see the spinlock BUG() yet since updating everything, so that is encouraging, but I didn't reboot many times yet. Peripheral clock is 50MHz, yes: [ 0.000000] S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz One other minor thing, maybe it's not actually your problem either, but the iwconfig data about signal strength is either unscaled or broken. - -Andy PS Actually, a couple of other things... can we expect Monitor Mode and raw injection? I realize we are at the mercy of the firmware there. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFHowEgOjLpvpq7dMoRAvblAJ9qWi1Bg4NDIlQmqJngi9+SbWW+rwCgh1H1 8uv9w9Yf/AjNMfQu8zcc14U= =AQHQ -----END PGP SIGNATURE-----
