So, I’ve done my homework and scoured many places looking for a solution but have come up short. I am trying to setup a wifi direct connection with an Android device and I have not been able to get my wifi usb dongle to work…some information:
I have a Rev A5 Beaglebone running
root@beaglebone:~# uname --all
Linux beaglebone 3.2.14 #1 Mon Apr 9 12:21:19 CEST 2012 armv7l GNU/Linux
root@beaglebone:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 050d:1102 Belkin Components
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@beaglebone:~# dmesg |grep rtl
[ 0.601619] rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet driver
[ 0.601673] usbcore: registered new interface driver rtl8150
[ 8.607924] rtl8192cu: MAC address: 08:86:3b:1f:1f:76
[ 8.607957] rtl8192cu: Board Type 0
[ 8.627562] rtlwifi: rx_max_size 15360, rx_urb_num 8, in_ep 1
[ 8.655918] ieee80211 phy0: Selected rate control algorithm ‘rtl_rc’
[ 8.656897] usbcore: registered new interface driver rtl8192cu
root@beaglebone:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:18:32:67:59:BE
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:16436 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 92:88:44:0A:C8:67
inet addr:192.168.7.2 Bcast:192.168.7.3 Mask:255.255.255.252
inet6 addr: fe80::9088:44ff:fe0a:c867/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:107 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17726 (17.3 KiB) TX bytes:2545 (2.4 KiB)
root@beaglebone:~# iwconfig
lo no wireless extensions.
usb0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Encryption key:off
Power Management:on
eth0 no wireless extensions.
root@beaglebone:~# lsmod
Module Size Used by
g_ether 28856 0
arc4 1131 2
rtl8192cu 73389 0
rtl8192c_common 53190 1 rtl8192cu
rtlwifi 57396 1 rtl8192cu
mac80211 146560 3 rtl8192cu,rtl8192c_common,rtlwifi
cfg80211 122995 2 rtlwifi,mac80211
ip_tables 7830 0
x_tables 14348 1 ip_tables
rfcomm 24259 0
ircomm_tty 14073 0
ircomm 8407 1 ircomm_tty
irda 85557 2 ircomm_tty,ircomm
hidp 10152 0
bluetooth 109654 4 rfcomm,hidp
rfkill 14605 3 cfg80211,bluetooth
ipv6 210442 14
root@beaglebone:~# ifdown wlan0
root@beaglebone:~# ifup wlan0
Could not set interface wlan0 flags: Operation not possible due to RF-kill
Failed to initialize driver interface
ifconfig: SIOCSIFFLAGS: Operation not possible due to RF-kill
Any ideas?