using connman to setup wifi

Talk about Beagle Bone & Adafruit Beagle Bone products!

Moderators: adafruit_support_bill, adafruit

using connman to setup wifi

Postby kinetic_ion » Mon Jun 25, 2012 1:42 am

I am attempting to install the usb wifi adapter from the adafruit store with some progress. I followed the beaglebone usb wifi tutorial on ladyada and have completed every step successfully up to part where I have to create files in the connman folder.

I didn't have a file called "settings" in /var/lib/connman folder so I created one using nano.
Code: Select all
nano /var/lib/connman/settings


Contents of 'settings':
Code: Select all
[global]
OfflineMode=false

[WiFi]
Enable=true

[Bluetooth]
Enable=false

[Wired]
Enable=true

[3G]
Enable=false

[WiMAX] Enable=false


I also created a new file called "wifi.config" in the same folder.
Code: Select all
nano /var/lib/connman/wifi.config


Contents of 'wifi.config':
Code: Select all
[service_home]
Type=wifi
Name=MyNetworkNameCaseSeNSiTivE
Security=wpa
Passphrase=MyCaseSenSitivEPassWord


I then reset the connman
Code: Select all
sytemctl restart connman.services


I seem to not connect after using ifconfig wlan0.

Any idea what I can do next? I am connecting to a BB Rev A3 and using Terminal in Mac OSX.
kinetic_ion
 
Posts: 8
Joined: Wed Nov 09, 2011 1:57 am

Re: using connman to setup wifi

Postby adafruit » Mon Jun 25, 2012 8:41 pm

A3 is fairly old - we've only tested the wifi with A5 - can you burn a new SD card with the latest boot image? You may need a later kernel :(
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: using connman to setup wifi

Postby kinetic_ion » Thu Jun 28, 2012 2:02 am

Ok I got it working after updating to Angstrom v2012.05 - Kernel 3.2.18
kinetic_ion
 
Posts: 8
Joined: Wed Nov 09, 2011 1:57 am

Re: using connman to setup wifi

Postby DannyX » Fri Jun 29, 2012 10:01 pm

I am having a very similar problem which I believe maybe down to the fact I'm running kernel 3.2.14, is there a way to upgrade the kernel without having to reimage the sd card?
User avatar
DannyX
 
Posts: 5
Joined: Tue Sep 30, 2008 8:46 pm

Re: using connman to setup wifi

Postby tgalonso » Sun Jul 01, 2012 9:58 pm

if you have a working ethernet connected to the internet do:
opkg update
opkg upgrade

caution it takes hours!
tgalonso
tgalonso
 
Posts: 18
Joined: Thu Jun 21, 2012 10:45 am


Return to Beagle Bone & Adafruit Beagle Bone products

Who is online

Users browsing this forum: No registered users and 1 guest

Stuff to buy from the Adafruit store and links to product documentation!


New Products [108]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[31]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[34]
LCDs & Displays[48]
Components & Parts[70]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[111]
 
Wireless[14]
Cables[62]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]