Edimax Wifi and BBB: not working

Hi guys, I’m on the BBB with the Edimax wifi dongle but I can’t get wifi to work. Not sure if these log messages indicate some problem (authenticating and de-authenticating multiple times?) or not. Does anyone know?

I had this same Wifi dongle and Volumio working at my old apartment, but now it’s a new apartment and I started from scratch. Configuring the wifi took a lot of tries last time… I don’t know what held it up but eventually it just ‘decided’ to work. I’m not having that luck this time. The SSID of the new router has spaces this time, but the web interface doesn’t surround the SSID with quotation marks so I have to edit it. (And the passphrase includes a #.)

My /etc/network/interfaces file contains:
auto wlan0
iface wlan0 inet dhcp
wireless-power off
wpa-ssid “ssid”
wpa-psk “password”

Doing ‘ifup wlan0’ shows this in the log:
[ 627.071405] rtl8192cu: MAC auto ON okay!
[ 627.097727] rtl8192cu: Tx queue select: 0x05
[ 627.479999] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 629.493557] wlan0: authenticate with 6c:70:9f:d9:dc:96
[ 629.524577] wlan0: send auth to 6c:70:9f:d9:dc:96 (try 1/3)
[ 629.533420] wlan0: authenticated
[ 629.538743] wlan0: associate with 6c:70:9f:d9:dc:96 (try 1/3)
[ 629.569654] wlan0: RX AssocResp from 6c:70:9f:d9:dc:96 (capab=0x1011 status=0 aid=25)
[ 629.578720] wlan0: associated
[ 629.581913] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 629.614738] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by 6c:70:9f:d9:dc:96
[ 633.622162] wlan0: deauthenticated from 6c:70:9f:d9:dc:96 (Reason: 2)
[ 633.648748] cfg80211: Calling CRDA for country: US
[ 634.513817] wlan0: authenticate with 6c:70:9f:d9:dc:96
[ 634.545288] wlan0: send auth to 6c:70:9f:d9:dc:96 (try 1/3)
[ 634.552920] wlan0: authenticated
[ 634.558270] wlan0: associate with 6c:70:9f:d9:dc:96 (try 1/3)
[ 634.584274] wlan0: RX AssocResp from 6c:70:9f:d9:dc:96 (capab=0x1011 status=0 aid=25)
[ 634.595837] wlan0: associated
[ 634.632592] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by 6c:70:9f:d9:dc:96
[ 644.601623] wlan0: disassociating from 6c:70:9f:d9:dc:96 by local choice (reason=3)
[ 644.628594] cfg80211: Calling CRDA to update world regulatory domain
[ 644.636598] wlan0: deauthenticating from 6c:70:9f:d9:dc:96 by local choice (reason=3)
[ 645.517773] wlan0: authenticate with 6c:70:9f:d9:dc:96
[ 645.549551] wlan0: send auth to 6c:70:9f:d9:dc:96 (try 1/3)
[ 645.755467] wlan0: send auth to 6c:70:9f:d9:dc:96 (try 2/3)
[ 645.962500] wlan0: send auth to 6c:70:9f:d9:dc:96 (try 3/3)
[ 646.169523] wlan0: authentication with 6c:70:9f:d9:dc:96 timed out
[ 652.829563] wlan0: authenticate with 6c:70:9f:d9:dc:96
[ 652.861161] wlan0: send auth to 6c:70:9f:d9:dc:96 (try 1/3)
[ 652.869873] wlan0: authenticated
[ 652.874688] wlan0: associate with 6c:70:9f:d9:dc:96 (try 1/3)
[ 652.889367] wlan0: RX AssocResp from 6c:70:9f:d9:dc:96 (capab=0x1011 status=0 aid=25)
[ 652.898426] wlan0: associated
[ 652.963558] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by 6c:70:9f:d9:dc:96
[ 662.905023] wlan0: disassociating from 6c:70:9f:d9:dc:96 by local choice (reason=3)
[ 662.933488] cfg80211: Calling CRDA to update world regulatory domain
[ 662.941407] wlan0: deauthenticating from 6c:70:9f:d9:dc:96 by local choice (reason=3)
[ 663.817740] wlan0: authenticate with 6c:70:9f:d9:dc:96
[ 663.848763] wlan0: send auth to 6c:70:9f:d9:dc:96 (try 1/3)
[ 664.054304] wlan0: send auth to 6c:70:9f:d9:dc:96 (try 2/3)
[ 664.261322] wlan0: send auth to 6c:70:9f:d9:dc:96 (try 3/3)
[ 664.468366] wlan0: authentication with 6c:70:9f:d9:dc:96 timed out
[ 671.120512] wlan0: authenticate with 6c:70:9f:d9:dc:96
[ 671.152017] wlan0: send auth to 6c:70:9f:d9:dc:96 (try 1/3)
[ 671.184777] wlan0: authenticated
[ 671.189127] wlan0: associate with 6c:70:9f:d9:dc:96 (try 1/3)
[ 671.218881] wlan0: RX AssocResp from 6c:70:9f:d9:dc:96 (capab=0x1011 status=0 aid=25)
[ 671.227611] wlan0: associated
[ 671.293998] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by 6c:70:9f:d9:dc:96
INIT: Id “T0” respawning too fast: disabled for 5 minutes

Oh, another thing: a few times I have seen DHCP work and get just a few seconds where ping works. Also if I make a static IP address, that sometimes gets ping working for a few seconds. So I know I at least have them connecting briefly.