BBB wifi setup

I have a OURLINK wifi adapter
I can see the wifi, and it has a inet6 address, but not an ip address.
I can’t figure out why not?
I am using a wpa_supplicant.conf file which I know works (because it is the same file that works on my raspberry pi.

Can someone who knows what my problem is, tell me what I need to do?

lsusb output is:

us 001 Device 002: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter

ifconfig looks like this:

eth0 Link encap:Ethernet HWaddr 6c:ec:eb:ac:78:45

UP BROADCAST MULTICAST MTU:1500 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)

Interrupt:40

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:65536 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:0

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

usb0 Link encap:Ethernet HWaddr e6:0b:5a:a8:76:94

inet addr:192.168.7.2 Bcast:192.168.7.3 Mask:255.255.255.252

inet6 addr: fe80::e40b:5aff:fea8:7694/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:190 errors:0 dropped:0 overruns:0 frame:0

TX packets:39 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:54027 (52.7 KiB) TX bytes:10046 (9.8 KiB)

wlan0 Link encap:Ethernet HWaddr 00:e0:4c:0b:f3:ab

inet addr:10.0.1.19 Bcast:10.0.1.255 Mask:255.255.255.0

inet6 addr: fe80::2e0:4cff:fe0b:f3ab/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:282 errors:0 dropped:0 overruns:0 frame:0

TX packets:106 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:39482 (38.5 KiB) TX bytes:14832 (14.4 KiB)

My interfaces file looks like this:

auto lo

iface lo inet loopback

allow-hotplug wlan0

iface wlan0 inet manual

wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

iface default inet dhcp

The primary network interface

#allow-hotplug eth0

#iface eth0 inet dhcp

Example to keep MAC address between reboots

#hwaddress ether DE:AD:BE:EF:CA:FE

The secondary network interface

#allow-hotplug eth1

#iface eth1 inet dhcp

WiFi Example

#iface wlan0 inet dhcp

wpa-ssid “essid”

wpa-psk “password”

Ethernet/RNDIS gadget (g_ether)

… or on host side, usbnet and random hwaddr

Note on some boards, usb0 is automaticly setup with an init script

iface usb0 inet static

address 192.168.7.2

netmask 255.255.255.0

network 192.168.7.0

gateway 192.168.7.1