Hello,
I'm testing rtl8187 on Blackfin platform (linux-2.6.28)
compat-wireless-2.6.31-rc3
driver rtl8187
wpa_supplicant-0.6.5
Sympthoms:
Association works but no ping in WPA2(AES)
Association works and ping is working with WPA(TKIP)
This is probably not a wpa_supplicant and it's config problem
because it's working (WPA2-AES and WPA-TKIP) on 2.6.28 with corresponding configs.
Any suggestions how to track down the problem?
Best regards,
Ivan
On Fri, Jul 24, 2009 at 8:52 AM, Ivan Kuten<[email protected]> wrote:
> No Network Manager.
> Just:
> wpa_supplicant -Dwext -iwlan0 -c /home/ACORP.conf -dd &
> /sbin/udhcpc -n -q -i wlan0 -s /bin/default.script
How did you get the eth0 IP? ps -ef?
Luis
> On Fri, Jul 24, 2009 at 8:52 AM, Ivan Kuten<[email protected]> wrote:
>> No Network Manager.
>> Just:
>> wpa_supplicant -Dwext -iwlan0 -c /home/ACORP.conf -dd &
>> /sbin/udhcpc -n -q -i wlan0 -s /bin/default.script
>
> How did you get the eth0 IP? ps -ef?
>
> Luis
>
>
>
in rc script it's ifconfig eth0 192.168.5.1
it's the same behaviour without eth0. I'm using eth0 for netconsole because
a lot of debug printks over slow UART bring kernel to crash.
I can't neither dhcp nor ping via wlan0. but association is ok.
It is a Blackfin board with busybox, not a desktop PC with NetworkManager stuff.
here is ps - nothing special:
PID Uid VSZ Stat Command
1 root 588 S /init
2 root SW< [kthreadd]
3 root SW< [ksoftirqd/0]
4 root SW< [events/0]
5 root SW< [khelper]
60 root SW< [kblockd/0]
74 root SW< [khubd]
93 root SW [pdflush]
94 root SW [pdflush]
95 root SW< [kswapd0]
101 root SW< [mediabox2fb]
162 root SW< [mtdblockd]
164 root SW< [bfin-spi.0]
179 root SW< [uwbd]
184 root SW< [wusbd]
209 root SWN [jffs2_gcd_mtd2]
214 root 864 R -/bin/sh
215 root 496 S /bin/watchdogd -f -s
217 root 764 S /sbin/syslogd -n
220 root 772 S /sbin/klogd -n
230 root SW< [bf537_trackball]
234 root 500 S netsettings_updater
236 root 504 S /bin/Apek
241 root 512 S /bin/keyhandler
283 root SW< [phy0]
303 root 1776 S wpa_supplicant -Dwext -iwlan0 -c /home/ACORP.conf -dd
334 root 768 R ps -ef
The question is how to verify is it kernel or wpa_supplicant bug or some timing issue.
Regards,
Ivan
On Fri, Jul 24, 2009 at 1:13 AM, Ivan Kuten<[email protected]> wrote:
>> On Thu, Jul 23, 2009 at 2:22 AM, Ivan Kuten<[email protected]> wrote:
>>> compat-wireless-2.6.31-rc3
>>
>> compat-wireless-2.6.31-rc4 is out, please try that.
>>
>> Luis
>>
>
> Here is what I get for compat-wireless-2.6.31-rc4:
>
>
> <6>cfg80211: Using static regulatory domain info
> <6>cfg80211: Regulatory domain: US
> <6> (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
> <6> (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
> <6> (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
> <6> (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
> <6> (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
> <6> (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
> <6> (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
> <6>usb 1-1: new high speed USB device using isp1761 and address 2
> <6>cfg80211: Calling CRDA for country: US
> <6>usbcore: registered new interface driver rtl8187
> <6>usb 1-1: configuration #1 chosen from 1 choice
> <6>hub 1-1:1.0: USB hub found
> <6>hub 1-1:1.0: 3 ports detected
> <6>usb 1-1.1: new high speed USB device using isp1761 and address 3
> <6>usb 1-1.1: configuration #1 chosen from 1 choice
> <7>phy0: Selected rate control algorithm 'minstrel'
> <6>phy0: hwaddr 00277080, RTL8187vB (default) V1 + rtl8225z2
> <7>phy0: device now idle
> <7>phy0: device no longer idle - scanning
> <7>phy0: device now idle
> <7>phy0: device no longer idle - in use
> <7>wlan0: authenticate with AP 01a4b568
> <7>wlan0: authenticated
> <7>wlan0: associate with AP 01a4b568
> <7>wlan0: RX AssocResp from 003e101a (capab=0x411 status=0 aid=2)
> <7>wlan0: associated
> <7>phy0: Allocated STA 002fbfc4
> <7>phy0: Inserted STA 002fbfc4
> <7>wlan0: switched to short slot time (BSSID=01a4b568)
This looks peachy.
> iwconfig output:
>
> lo no wireless extensions.
>
> eth0 no wireless extensions.
>
> wmaster0 no wireless extensions.
>
> wlan0 IEEE 802.11bg ESSID:"ACORP"
> Mode:Managed Frequency:2.462 GHz Access Point: 00:02:72:74:AC:85
> Bit Rate=1 Mb/s Tx-Power=27 dBm
> Retry long limit:7 RTS thr:off Fragment thr:off
> Encryption key:2BAC-63B9-5D99-CF9A-4D39-079F-BB55-5D39 [2]
> Power Management:off
> Link Quality=61/70 Signal level=-49 dBm
> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
> Tx excessive retries:0 Invalid misc:0 Missed beacon:0
>
>
> ifconfig:
>
> eth0 Link encap:Ethernet HWaddr 02:80:AD:20:31:EB
> inet addr:192.168.5.1 Bcast:192.168.5.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:40 errors:0 dropped:0 overruns:0 frame:0
> TX packets:188 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:4077 (3.9 KiB) TX bytes:17012 (16.6 KiB)
Note an IP address on eth0, most likely you have a default route using
eht0 as well. Check with 'ip route'.
> wlan0 Link encap:Ethernet HWaddr 00:12:0E:98:67:FC
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:2 errors:0 dropped:0 overruns:0 frame:0
> TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:304 (304.0 B) TX bytes:3932 (3.8 KiB)
>
> wmaster0 Link encap:UNSPEC HWaddr 00-12-0E-98-67-FC-00-00-00-00-00-00-00-00-00-00
> UP RUNNING MTU:0 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
>
> Neither dhcp nor setting static IP for wlan0 - no ping.
Do you have Network Manager on? Please read:
http://wireless.kernel.org/en/users/Documentation/Reporting_bugs
Specifically the section that describes getting 'iw event -t' log and
Network Manager.
Luis
On Thu, Jul 23, 2009 at 2:22 AM, Ivan Kuten<[email protected]> wrote:
> compat-wireless-2.6.31-rc3
compat-wireless-2.6.31-rc4 is out, please try that.
Luis
> On Thu, Jul 23, 2009 at 2:22 AM, Ivan Kuten<[email protected]> wrote:
>> compat-wireless-2.6.31-rc3
>
> compat-wireless-2.6.31-rc4 is out, please try that.
>
> Luis
>
Here is what I get for compat-wireless-2.6.31-rc4:
<6>cfg80211: Using static regulatory domain info
<6>cfg80211: Regulatory domain: US
<6> (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
<6> (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
<6> (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
<6> (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
<6> (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
<6> (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
<6> (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
<6>usb 1-1: new high speed USB device using isp1761 and address 2
<6>cfg80211: Calling CRDA for country: US
<6>usbcore: registered new interface driver rtl8187
<6>usb 1-1: configuration #1 chosen from 1 choice
<6>hub 1-1:1.0: USB hub found
<6>hub 1-1:1.0: 3 ports detected
<6>usb 1-1.1: new high speed USB device using isp1761 and address 3
<6>usb 1-1.1: configuration #1 chosen from 1 choice
<7>phy0: Selected rate control algorithm 'minstrel'
<6>phy0: hwaddr 00277080, RTL8187vB (default) V1 + rtl8225z2
<7>phy0: device now idle
<7>phy0: device no longer idle - scanning
<7>phy0: device now idle
<7>phy0: device no longer idle - in use
<7>wlan0: authenticate with AP 01a4b568
<7>wlan0: authenticated
<7>wlan0: associate with AP 01a4b568
<7>wlan0: RX AssocResp from 003e101a (capab=0x411 status=0 aid=2)
<7>wlan0: associated
<7>phy0: Allocated STA 002fbfc4
<7>phy0: Inserted STA 002fbfc4
<7>wlan0: switched to short slot time (BSSID=01a4b568)
iwconfig output:
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:"ACORP"
Mode:Managed Frequency:2.462 GHz Access Point: 00:02:72:74:AC:85
Bit Rate=1 Mb/s Tx-Power=27 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:2BAC-63B9-5D99-CF9A-4D39-079F-BB55-5D39 [2]
Power Management:off
Link Quality=61/70 Signal level=-49 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
ifconfig:
eth0 Link encap:Ethernet HWaddr 02:80:AD:20:31:EB
inet addr:192.168.5.1 Bcast:192.168.5.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:40 errors:0 dropped:0 overruns:0 frame:0
TX packets:188 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4077 (3.9 KiB) TX bytes:17012 (16.6 KiB)
wlan0 Link encap:Ethernet HWaddr 00:12:0E:98:67:FC
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:304 (304.0 B) TX bytes:3932 (3.8 KiB)
wmaster0 Link encap:UNSPEC HWaddr 00-12-0E-98-67-FC-00-00-00-00-00-00-00-00-00-00
UP RUNNING MTU:0 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Neither dhcp nor setting static IP for wlan0 - no ping.
Regards,
Ivan
>> ifconfig:
>>
>> eth0 Link encap:Ethernet HWaddr 02:80:AD:20:31:EB
>> inet addr:192.168.5.1 Bcast:192.168.5.255 Mask:255.255.255.0
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:40 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:188 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:1000
>> RX bytes:4077 (3.9 KiB) TX bytes:17012 (16.6 KiB)
>
> Note an IP address on eth0, most likely you have a default route using
> eht0 as well. Check with 'ip route'.
>
No default route. eth0 only for netconsole.
I'm doing udhcpc on wlan0.
Another thing is that WPA-TKIP is working. The problem only with CCMP.
I posted also in wpa_supplicant list with detailed wpa_supplicant log:
http://lists.shmoo.com/pipermail/hostap/2009-July/020026.html
>> wlan0 Link encap:Ethernet HWaddr 00:12:0E:98:67:FC
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:2 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:1000
>> RX bytes:304 (304.0 B) TX bytes:3932 (3.8 KiB)
>>
>> wmaster0 Link encap:UNSPEC HWaddr 00-12-0E-98-67-FC-00-00-00-00-00-00-00-00-00-00
>> UP RUNNING MTU:0 Metric:1
>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:1000
>> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
>>
>> Neither dhcp nor setting static IP for wlan0 - no ping.
>
> Do you have Network Manager on? Please read:
>
No Network Manager.
Just:
wpa_supplicant -Dwext -iwlan0 -c /home/ACORP.conf -dd &
/sbin/udhcpc -n -q -i wlan0 -s /bin/default.script
> http://wireless.kernel.org/en/users/Documentation/Reporting_bugs
>
> Specifically the section that describes getting 'iw event -t' log and
> Network Manager.
>
I'll try with iw event -t.
Is it possible to check via debugfs something like number of received unencrypted packets?
Regards,
Ivan