WPA_SUPPLICANT on OLPC not connecting to HOSTAPD on Raspberry Pi

Corey McGuire coreyfro at coreyfro.com
Tue Mar 7 15:25:29 PST 2017


Hey all!

I am new to the list so please let me know if I am using it improperly.

I am a contributor to the on going OLPC XO project and I am working on
a S.T.E.A.M. Education project where the XO running a modern version
of Debian is an IDE for robotics on a Raspberry Pi 3.

I currently have HOSTAPD working on the RPI and I am 99.9% sure it is
working fine.  Most clients log in with no trouble at all.  I watch
the statuses in HOSTAPD for each connection and everything looks
optimal.

When I watch the OLPC XO attempt to connect to HOSTAPD, I see nothing.
Not a peep from HOSTAPD.  Again, I suspect HOSTAPD and the RPi are
fine, but I am writing exhaustively for everyone's sake.  I have
included the output of HOSTAPD, here which includes 1. Start up, 2. My
laptop connecting, 3. The XO SUCCESSFULLY connecting from 'Sugar' (the
default, RH OS), 4. The sound of silence as the XO attempts to connect
from a modern copy of Debian:

HOSTAPD statuses
      http://pastebin.com/02hGAgEd

Here's the config of the HOSTAPD:

      interface=wlan0
      driver=nl80211
      ssid=xorobo
      hw_mode=g
      channel=6
      ieee80211n=1
      wmm_enabled=1
      ht_capab=[HT40][SHORT-GI-20][DSSS_CCK-40]
      macaddr_acl=0
      auth_algs=1
      ignore_broadcast_ssid=0
      wpa=2
      wpa_key_mgmt=WPA-PSK
      wpa_passphrase=rpixorobo
      rsn_pairwise=CCMP


Moving on to the guest system, OLPC XO Running Debian Jessie.  As I
said, before, under sugar, I can connect.  I have any number of
reasons to get away from this old build, though.

I have built a thoroughly modern version of debian for the XO.
Compared to the performance of Sugar, it is night and day.  However,
except for a few unencrypted networks, I have been unable to connect
my XO to anything.

Below is my attempt to connect to the Raspberry Pi running HOSTAPD from above.

      http://pastebin.com/wDwsW8Az

Here are the configs.  The passphrases aren't really a concern of
mine.  Feel free to log in to my robot if you see it driving around
;-)  Just don't drive it under a truck.


WPA_SUPPLICANT.CONF
      # reading passphrase from stdin
      network={
         ssid="xorobo"
         #psk="rpixorobo"
          psk=babbfca5090e36c4d9919ef90fb099ec50f3c6830ab9f4959f2746f7e9b0ba99
      }


/etc/network/INTERFACES
      auto wlan0
      iface wlan0 inet manual
         wpa-driver nl80211
         address 192.168.128.2
         netmask 255.255.255.252
         wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

UNAME -A
      Linux olpc-deb-master 4.5.0-263497-gea093ed #1 PREEMPT Sun Feb
26 06:17:05 UTC 2017 i586 GNU/Linux

LSMOD
      Module                  Size  Used by
      uinput                  5799  1
      usb8xxx                10343  0
      libertas               78445  1 usb8xxx
      input_leds              2094  0
      led_class               2643  1 input_leds
      serio_raw               3233  0

DMESG
      http://pastebin.com/2q5nAGWb

And for the overly inquisitive, here's how I build the OS
      https://docs.google.com/document/d/1LrKfiRNY_-K5tDGRWopfX6hXTlrvxW79jKJo1iquMl0

Please let me know if there is anything else you need.

Thank you!

--



More information about the Hostap mailing list