Joining wireless network not working

I have a raspberry pi B with a ew-7811un I want to add it as a client to my wireless network but after clicking join network and entering all the correct network details the wireless interface shows up as "disabled or not associated"
How do I troubleshoot this?

My system log after booting:

kern.err kernel: [   65.726792] rtl_usb: Urb has error status 0xFFFFFFB9
kern.err kernel: [   65.734203] rtl_usb: Urb has error status 0xFFFFFFB9
kern.info kernel: [   65.747630] usb 1-1.2: USB disconnect, device number 17
kern.info kernel: [   66.055818] usb 1-1.2: new high-speed USB device number 18 using dwc_otg
kern.info kernel: [   66.177800] usb 1-1.2: New USB device found, idVendor=7392, idProduct=7811
kern.info kernel: [   66.187258] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kern.info kernel: [   66.197045] usb 1-1.2: Product: 802.11n WLAN Adapter
kern.info kernel: [   66.204402] usb 1-1.2: Manufacturer: Realtek
kern.info kernel: [   66.210999] usb 1-1.2: SerialNumber: 00e04c000001
kern.info kernel: [   66.267018] rtl8192cu: Chip version 0x10
kern.info kernel: [   66.449498] rtl8192cu: Board Type 0
kern.info kernel: [   66.466012] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
kern.info kernel: [   66.486165] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
kern.debug kernel: [   66.496323] ieee80211 phy14: Selected rate control algorithm 'rtl_rc'
kern.info kernel: [   66.539579] rtl8192cu: MAC auto ON okay!
kern.info kernel: [   66.642923] rtl8192cu: Tx queue select: 0x05
kern.info kernel: [   69.418123] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
kern.err kernel: [   69.726722] rtl_usb: Urb has error status 0xFFFFFFB9
kern.err kernel: [   69.734236] rtl_usb: Urb has error status 0xFFFFFFB9
kern.info kernel: [   69.843349] usb 1-1.2: USB disconnect, device number 18

See this Raspberry PI forum thread...

https://www.raspberrypi.org/forums/viewtopic.php?p=93676

Which post in particular, the compiling from source one? His link to the source is dead.

EDIT: I found a mirror for the source but the build fails, this is very frustrating for what seems a simple task.

rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/clean
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404
install.sh: line 32: ./make_drv: not found
Authentication requested [root] for make clean:
install.sh: line 42: su: not found
Authentication requested [root] for make driver:
install.sh: line 52: su: not found
##################################################
Compile make driver error: 127
Please check error Mesg
##################################################

I would suggest reading the whole thread.

Appears to not be a LEDE issue.