bug 456 [REGRESSION 0.7.3-6 => 1.0-2] WPA-PSK + openmoko: unable to get DHCPACK

Timo Juhani Lindfors timo.lindfors
Wed Jun 27 03:54:15 PDT 2012


Hi,

I reported this at

http://w1.fi/bugz/show_bug.cgi?id=456

but since that does not seem to be indexed by google here's also a copy
for the mailing list:

Steps to reproduce:
1) On an openmoko freerunner phone I run

sudo killall dhclient
sudo killall wpa_supplicant
om wifi power 0
sleep 4
om wifi power 1
sleep 4
om wifi maxperf wlan 1
sleep 4
sudo /sbin/wpa_supplicant -B -f /tmp/wpasupplicant.log -P /var/run/wpa_supplicant.wlan.pid -i wlan -D wext -t -ddd -C /var/run/wpa_supplicant
sleep 4
sudo wpa_cli -p /var/run/wpa_supplicant -i wlan add_network
sleep 4
sudo wpa_cli -p /var/run/wpa_supplicant -i wlan set_network 0 ssid "\"SoneraGateway00-26-44-A1-45-A9\""
sleep 4
sudo wpa_cli -p /var/run/wpa_supplicant -i wlan set_network 0 psk "\"Thaeret0\""
sleep 4
sudo wpa_cli -p /var/run/wpa_supplicant -i wlan enable_network 0
sleep 4
sleep 4
sudo dhclient -d wlan

Expected results:
1) dhclient reports DHCPACK

Actual results:
1) dhclient reports "No DHCPOFFERS received."

More info:
1) The kernel is

http://pkg-fso.alioth.debian.org/debian/pool/main/l/linux-2.6-openmoko/linux-image-2.6.34-openmoko-gta02_20101212.git049b71de-2_armel.deb

2) The wifi hardware is from atheros and supported using (out-of-tree)
   CONFIG_AR6000_WLAN=y.

3) I booted the system six times and saved syslog and wpa debug
   log. First three times with 0.7.3-6 and then three times with
   1.0-2. Results are consistent:

attempt | wpasupplicant | result
1       | 0.7.3-6       | WORKS: http://lindi.iki.fi/lindi/wpasupplicant/boot1-syslog.txt
        |               | http://lindi.iki.fi/lindi/wpasupplicant/boot1-wpa.txt
2       | 0.7.3-6       | WORKS: http://lindi.iki.fi/lindi/wpasupplicant/boot2-syslog.txt
        |               | http://lindi.iki.fi/lindi/wpasupplicant/boot2-wpa.txt
3       | 0.7.3-6       | WORKS: http://lindi.iki.fi/lindi/wpasupplicant/boot3-syslog.txt
        |               | http://lindi.iki.fi/lindi/wpasupplicant/boot3-wpa.txt
4       | 1.0-2         | FAILS: http://lindi.iki.fi/lindi/wpasupplicant/boot4-syslog.txt
        |               | http://lindi.iki.fi/lindi/wpasupplicant/boot4-wpa.txt
5       | 1.0-2         | FAILS: http://lindi.iki.fi/lindi/wpasupplicant/boot5-syslog.txt
        |               | http://lindi.iki.fi/lindi/wpasupplicant/boot5-wpa.txt
6       | 1.0-2         | FAILS: http://lindi.iki.fi/lindi/wpasupplicant/boot6-syslog.txt
        |               | http://lindi.iki.fi/lindi/wpasupplicant/boot6-wpa.txt

Is there some more information that I should provide?

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: armel (armv4tl)

Kernel: Linux 2.6.34-20101212.git049b71de
Locale: LANG=C, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wpasupplicant depends on:
ii  adduser           3.113+nmu3
ii  initscripts       2.88dsf-27
ii  libc6             2.13-33
ii  libdbus-1-3       1.6.0-1
ii  libnl-3-200       3.2.7-2
ii  libnl-genl-3-200  3.2.7-2
ii  libpcsclite1      1.8.3-3
ii  libreadline6      6.2-8
ii  libssl1.0.0       1.0.1c-3
ii  lsb-base          4.1+Debian7

wpasupplicant recommends no packages.

Versions of packages wpasupplicant suggests:
pn  libengine-pkcs11-openssl  <none>
pn  wpagui                    <none>

-- no debconf information





More information about the Hostap mailing list