On May 11, 2012, at 2:42 AM, connman-requ...@connman.net wrote:
> From: Marcel Holtmann <mar...@holtmann.org>
> Subject: Re: Wifi won't connect
> Date: May 11, 2012 1:56:04 AM PDT
> 
> Hi Patrik,
> 
>>> Adding a global section seems to change nothing.
>>> [global]
>> 
>> Reading the code in src/config.c, load_config() reveals that the
>> [global] section was not mandatory to have.
>> 
>>> [service_dunasyswifi]
>>> Type=wifi
>>> SSID=MY_WIFI
>>> Passphrase=secret
>> 
>> In the same file, load_service() expects SSID to be in hexadecimal
>> notation only. If there is no SSID field, a 'Name' field in plain text
>> is used instead. I think it should work right away if you add:
>> 
>> [service_dunasyswifi]
>> Type=wifi
>> Name=MY_WIFI
>> Passphrase=secret
>> 
>> The documentation is obviously buggy when compare with the actual code.
>> I'll fix that.
> 
> in which way is it buggy?
> 
>>> On the contrary if I create a /var/lib/connman/default.profile file 
>> 
>> This works because ConnMan migrates the old default.profile to the new
>> setup into separate directories.
> 
> We should have removed the support for default.profile for 1.0. At least
> lets start by deleting default.profile once we converted it.

Deleting it makes sense; however, please don't remove the conversion support. 
When I roll a large number of deployed devices in the field from 0.76+ to 1.0, 
having the auto-migration in place will be very valuable.

Best,

Grant

_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to