Beagle Wifi Adapter
Moderators: adafruit_support_bill, adafruit

Re: Beagle Wifi Adapter

by mennochio on Thu Jul 12, 2012 5:11 pm

I just noticed that I said "BeagleBoard" in my post yesterday. I meant to say "BeagleBone". :oops:

mennochio
 
Posts: 7
Joined: Sat Apr 14, 2012 3:14 pm

Re: Beagle Wifi Adapter

by middleton on Thu Jul 12, 2012 11:05 pm

I am having the same issue. Just got my Beaglebone a week ago and tried the adapter tonight. I installed the drives in the tutorial but no luck. Mine was not even recognized the first time I plugged it in. Not sure what to do next. Maybe try Debian on the Beaglebone. Or I can always try it in the RPI. I get mine tomorrow!
middleton
 
Posts: 1
Joined: Thu Jul 12, 2012 9:43 pm

Re: Beagle Wifi Adapter

by tgalonso on Tue Jul 17, 2012 10:19 pm

Has anybody tried to use Conman 1.2? Did it work?
Tgalonso
tgalonso
 
Posts: 18
Joined: Thu Jun 21, 2012 11:45 am

Re: Beagle Wifi Adapter

by dougkirk on Fri Jul 20, 2012 12:56 am

This post https://plus.google.com/105557068601771362265/posts/93rBVxskh9G helped a lot.

Particularly the part about running 'opkg upgrade'. I made a tmp directory under /home/root, and then 'opkg -t /home/root/tmp upgrade' to upgrade the software on the bone. Then you can delete the tmp directory. I found that without using a specified tmp path it would fill up /tmp and crash the upgrade.

After I did that, and of course removed the ethernet cable from it and reboot (with the Wifi adapter in), it just worked. (I'd already done the install of the firmware and the configuration step).
dougkirk
 
Posts: 2
Joined: Tue Jul 20, 2010 9:08 am

Re: Beagle Wifi Adapter

by engineerbynight on Fri Jul 20, 2012 7:49 am

I'm having the same troubles as everyone else... my screen after "dmesg" doesn't look like what it should (according to tutorial), and the "ifconfig wlan0" command doesn't report anything promising.

I do have the recommended AC adapter plugged in while doing this.

I also have the same results when plugging it into windows machine: RTL8188CU.

Has anyone figure anything out with this?
engineerbynight
 
Posts: 4
Joined: Thu Jul 19, 2012 9:48 am

Re: Beagle Wifi Adapter

by tgalonso on Fri Jul 20, 2012 8:00 am

Well I finally got it running! Here is the recipe:
1) start with the A6 image
2) run opkg update and then opkg upgrade twice or setup a temp directory under /home/root and run opkg upgrade with it so that it doesn't run out of space. I stumbled onto the first technique last night, the second one comes from the previous posting which I found today after a late night finding the first one. Oh well!
3) follow the Adafruit tutorial. I used psk instead of wpa.
4) make sure that you unplug the Ethernet cable before rebooting
5) the antenna in the adapter is too small and you have to be close to your wifi router for it to work.
Adafruit you should update the tutorial. I would put my step 2 in the general setup section though. The rest could be added to the wifi section.
Thanks to all the folks in the forum for the help,

Tgalonso
tgalonso
 
Posts: 18
Joined: Thu Jun 21, 2012 11:45 am

Re: Beagle Wifi Adapter

by engineerbynight on Fri Jul 20, 2012 10:23 am

Wow! That did it for me... all is working great now. Thanks!

Now I just need to find a few examples of what I can do, now that I'm online :D
engineerbynight
 
Posts: 4
Joined: Thu Jul 19, 2012 9:48 am

Re: Beagle Wifi Adapter

by adafruit on Fri Jul 20, 2012 3:56 pm

thanks, thats a strange one - we've updated the tutorial page to note that a directory should be made
User avatar
adafruit
 
Posts: 11718
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: Beagle Wifi Adapter

by engineerbynight on Fri Jul 20, 2012 4:33 pm

FYI... I didn't make a directory... I just reran the update, and tried everything again. Magic.
engineerbynight
 
Posts: 4
Joined: Thu Jul 19, 2012 9:48 am

Re: Beagle Wifi Adapter

by dogsop on Mon Jul 23, 2012 8:40 pm

I followed the tutorial exactly, it didn't work. I tested the adapter on my PC and it worked perfectly.

I don't think this adapter is compatible with the Beaglebone at all. :(
dogsop
 
Posts: 1
Joined: Mon Jul 23, 2012 8:37 pm

Re: Beagle Wifi Adapter

by tgalonso on Mon Jul 23, 2012 10:38 pm

see my posting above, do those upgrade steps before you do the tutorial
tgalonso
tgalonso
 
Posts: 18
Joined: Thu Jun 21, 2012 11:45 am

Re: Beagle Wifi Adapter

by AsH83 on Tue Jul 24, 2012 1:05 pm

@tgalonso
when you ran "opkg update and then opkg upgrade" did your PC stop seeing the board as USB drive? I remember when I tried this before my board stopped showing itself as flash drive?

Anyways I am desperate now to get this wifi to work so i will give it a try? because I followed the instructions as of July 24th and they did not work!!! sometime i see wlan0 with no IP and randomly it goes away then also randomly ifconfig stops responding.

my plan is to:
- start with a fresh image on A6 with the latest 6/18/12 image from Angstrom
- plug Ethernet cable, DC supply and usb cable for serial access.
- create temp folder.
- run update
- run upgrade on the folder.
- follow the instructions again and make sure to unplug the Ethernet cable as you mentioned.
AsH83
 
Posts: 14
Joined: Thu Jul 12, 2012 5:47 pm

Re: Beagle Wifi Adapter

by AsH83 on Tue Jul 24, 2012 1:36 pm

so still same problem: I do see the wifi adapter with dmesg but ifconfig sometime hangs:

root@beaglebone:~# dmesg | tail -6
[ 9.808044] rtlwifi: rx_max_size 15360, rx_urb_num 8, in_ep 1
[ 9.848937] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[ 9.849975] usbcore: registered new interface driver rtl8192cu
[ 9.902923] rtl8192cu: MAC auto ON okay!
[ 9.948150] rtl8192cu: Tx queue select: 0x05
[ 9.949554] rtl8192c_common: Loading firmware file rtlwifi/rtl8192cufw.bin
root@beaglebone:~# ifconfig
AsH83
 
Posts: 14
Joined: Thu Jul 12, 2012 5:47 pm

Re: Beagle Wifi Adapter

by dougkirk on Wed Jul 25, 2012 9:58 am

Make sure you unplug the Ethernet cable from the bone when resetting; it won't run both wifi and wired ethernet at the same time.

As others have stated, also make sure you're booting from the latest image (from May '12). I have rev A3 but put the latest image onto a 8G micro SD (4G is required). After that, then do 'opkg update' and 'opkg upgrade'. IIRC, 'ifconfig' froze for me before the update and upgrade, but not after.

Finally, proceed with the steps in the tutorial, unplug the Ethernet cable and reset the bone with the wifi adapter plugged in.

I used CoolTerm over the USB connection until these steps were done. (I did connect wired Ethernet once to check it was working, but then went back to serial over USB)

Cheers!
dougkirk
 
Posts: 2
Joined: Tue Jul 20, 2010 9:08 am

Re: Beagle Wifi Adapter

by AsH83 on Wed Jul 25, 2012 11:24 am

I did opkg update and opkg upgrade with temp folder..

The wifi works sometimes but if i leave it for 45 minutes or so i get an error in the logs about some task got hung.. I will try tonight to redo the steps with no temp folder.

and yes i did unplug my Ethernet cable.
AsH83
 
Posts: 14
Joined: Thu Jul 12, 2012 5:47 pm