using connman to setup wifi

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
kinetic_ion
 
Posts: 10
Joined: Wed Nov 09, 2011 2:57 am

using connman to setup wifi

Post by kinetic_ion »

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.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: using connman to setup wifi

Post by adafruit »

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 :(

kinetic_ion
 
Posts: 10
Joined: Wed Nov 09, 2011 2:57 am

Re: using connman to setup wifi

Post by kinetic_ion »

Ok I got it working after updating to Angstrom v2012.05 - Kernel 3.2.18

User avatar
dannyx
 
Posts: 5
Joined: Tue Sep 30, 2008 9:46 pm

Re: using connman to setup wifi

Post by dannyx »

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?

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

Re: using connman to setup wifi

Post by tgalonso »

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

caution it takes hours!
tgalonso

Locked
Please be positive and constructive with your questions and comments.

Return to “Beagle Bone & Adafruit Beagle Bone products”