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.

Regards

Marcel


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

Reply via email to