On Sat, Mar 16, 2013 at 5:18 AM, fantajista <fantajista1089@gmail.com> wrote:

But, I have no interface named "uap0" and get these errors.

root@overo:~# ifconfig uap0 up
uap0: ERROR while getting interface flags: No such device

root@overo:~# dmesg | tail
[   42.256561] UAP FW is active
[   42.259918] Cmd Size is 0
[   42.259979] Fail to get mac address
[   42.260223] uap_probe: uap_add_callback failed
[   42.260253] uap_sdio: probe of mmc1:0001:1 failed with error -1

I use kernel 3.5 and Overo AirStorm.

Would you give me some advice ?

Can you try black listing uap8xxx module so that it does not get loaded at boot?

In /etc/modprobe.d, create two files.  

In a file called libertas.conf, put the line:
blacklist libertas_sdio

In a file called uap8xxx.conf, put the line:
blacklist uap8xxx

Then, upon boot, neither should get loaded.

You should then be able to:
root@overo:~# modprobe uap8xxx                                                  
[   41.942810] uap_probe: vendor=0x02DF device=0x9103 class=7 function=1        
[   42.170471] UAP FW is active                                                 
root@overo:~# ifconfig uap0 up                                      
[   50.911071] IPv6: ADDRCONF(NETDEV_UP): uap0: link is not ready               
root@overo:~# ./wpa.sh                                                          
SSID setting successful                                                         
protocol setting successful                                                     
WPA passphrase setting successful                                               
cipher setting successful                                                       
Channel setting successful                                                      
BSS started!