User Tools

Site Tools


tutorials:products:beaglebone:wifi.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:products:beaglebone:wifi.html [2012/05/21 18:24]
ladyada
tutorials:products:beaglebone:wifi.html [2016/01/28 18:05] (current)
Line 110: Line 110:
  
  
- +=== Troubleshooting === 
 + 
 +If you get an error device descriptor read/64, error -71, reboot and stop the boot process with the space bar. 
 +Then add the following boot option with the follow at the U-Boot prompt 
 + 
 +setenv bootargs irqpoll RETURN 
 + 
 +boot RETURN 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 +**=== SOME NOTES & SUGGESTIONS FROM RICBLUE, AN ADAFRUIT CUSTOMER ===** 
 + 
 +After much frustration,​ I have wifi working on my BeagleBone (using latest 2012-06-18 build of Angstrom) 
 + 
 +There is clearly lots of confusion about Connman so I thought I'd share my findings. ​ I'm not a Unix guru so your mileage may vary but hopefully this will be helpful: 
 + 
 +**1) CONNMAN APPEARS TO ONLY ALLOW ONE CONNECTION AT A TIME** 
 + 
 +This was the key for me. I was following these LadyAda directions in order, first Ethernet + SSH login to BeagleBone, then use that to set up Wifi. 
 + 
 +It appears that the only thing stopping my wifi from connection was that I STILL had my Ethernet connected. ​  I unplugged by Ethernet, rebooted (unplug/​replug the power to the BB) and THAT allowed the wifi connection to be made 
 + 
 +Does anyone understand Connman configurations in enough detail to know if any of the following are possible... 
 + 
 +-- simultaneous Ethernet and Wifi? 
 + 
 +-- setting up a series of wifi SSIDs in order of preference?​ 
 + 
 +Also... 
 +-- what are the valid options for different types of Wifi security. ​ I used "​psk"​ for a WPA (not WPA2) network, that seemed to work.   
 + 
 + 
 +**2) ALTERNATIVES TO CONNMAN**  
 + 
 +It appears you either use Connman and can ignore (not specify anything in) /​etc/​network/​interfaces and wpa_supplicant). 
 +OR you can uninstall Connman and use those tools instead. ​  
 + 
 +Maybe someone can clarify what the pros and cons are.  At least if you are trying to follow the approach in this LadyAda post, it appears you can ignore anything you read online about those other configuration options 
 + 
 + 
 +**3) CONNMAN TOOLS** 
 +These are very helpful to know about... 
 + 
 +use:  
 + 
 +//   opkg install connman-tools//​ 
 + 
 + 
 +(the blog post I read suggested " Maybe it will require additionally python-gobject. " - this wasn't necessary (or recognized) with my Angstrom build) 
 + 
 +then: 
 + 
 +//   cd /​usr/​lib/​connman/​test  
 + 
 +   ​./​connman-test//​ 
 +    
 +and:  
 + 
 +//   ​./​get-services//​  
 + 
 + 
 +That should really help with debugging problems. ​ That showed me that the wifi stick could see my networks and all the Connman field values for each 
 + 
 + 
 +**4) SOME USEFUL DOCUMENTATION SOURCES ON CONNMAN...** 
 + 
 +The only in depth write up of Connman that I've found... 
 + 
 +[[http://​git.kernel.org/?​p=network/​connman/​connman.git;​a=blob_plain;​f=doc/​overview-api.txt;​hb=HEAD]] 
 + 
 +Several BeagleBoard user group posts which have useful clues: 
 + 
 +[[https://​groups.google.com/​forum/?​fromgroups#​!searchin/​beagleboard/​connman$20wifi/​beagleboard/​o2B7LJq9u3U/​rAEfJ-f6NC8J]] 
 + 
 +  -- particularly this post but the whole thread is useful 
 + 
 + 
 +Description of Connman tools and Connman to set static IP address on the BB (I do it using the router) 
 + 
 + 
 +[[http://​www.gigamegablog.com/​2012/​02/​06/​beaglebone-linux-101-assigning-a-static-ip-address-with-connman/​]] 
  
/home/ladyada/public_html/wiki/data/attic/tutorials/products/beaglebone/wifi.html.1337624646.txt.gz · Last modified: 2016/01/28 18:05 (external edit)