On 12/02/2010 10:36 AM, Marcel Holtmann wrote:
> Hi Kalle,
> 
>>>> using connman, I would like to connect to a hidden wifi network, but
>>>> using fixed network settings (ip, gateway, ...).
>>>>
>>>> The only way I knkow to connect to a hidden wifi network is via the
>>>> ConnectService api of the manager. However, it does not allow me to
>>>> specify ip settings, like when I configure a service. How should I do ? 
>>>>
>>>> I think I should create a service for this hidden wifi network,
>>>> configure it, and then ask to connect, but how do I create such a
>>>> service ?
>>>
>>> problem really is that you don't know anything about that service until
>>> you actually found it. And ConnMan can not find it until the user tells
>>> us about its SSID.
>>
>> Can't we pass the IP settings through ConnectService()? I think that's
>> the best solution.
> 
> we could, but this is actually pretty much complicated to handle
> internally. Be my guest in trying this.
> 
> In the long term, we need to remove ConnectService and create one
> service (per security setting) for hidden networks if they are around.
> Then use the agent callback to ask for the SSID.
> 
> At that point this would become a real service with SSID assigned and
> could potentially be used to set static IP etc.

Yes please! That would make my job a lot easier. Designers tend to want
that "Hidden network" in the list and adding it in the client is a lot
more work than filtering it out would be (if another design didn't need
this). I'm not so sure they'd like the idea of a "Hidden network" per
security setting though -- this is data many users don't have, they just
know "network name and password".

As a first iteration I'd be very happy with a "Hidden network" being
always present when EnabledTechnologies includes "wifi": this is
basically what I'm now implementing on client-side.

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

Reply via email to