[pkg-wpa-devel] What's wrong with the new configuration scheme, IMO

Alexej Davidov alexej.davidov at gmx.net
Wed Apr 26 08:43:31 UTC 2006


On Wed, 26 Apr 2006 08:44:40 +0200
Reinhard Tartler <siretart at tauware.de> wrote:

> On Wed, Apr 26, 2006 at 12:15:45AM +0200, Felix Homann wrote:
> [...]
> > Why not integrate nicely with existing packages: let ifplugd do
> > this task.
> 
> How do you tell ifplug which mapping an interface should get? 
You don't. ifplugd monitors physical interfaces. So why should you tell
ifplugd the mapping?

> Yes, with an ifupdown mapping script. Can you please write such an
> mapping script? 
If there should be some automatism, use guessnet. It does the job.

> How can a package (not ifplugd) make ifplugd
> 'monitor' the interface. 
Why should another package do this?

> Please consider the cornercase that the interface may not
> exist (yet) at start time of ifplugd. 
ifplugd -f
Also, I guess the best solution would be to start an ifplugd for each
network IF by means of hotplug/udev

> [...]
> > > Problems which I still have to think about:
> > >
> > >  * What happens if we connect to a yet unconfigured location?
> > 
> > It should not happen without user interaction.
> 
> Are you kidding? This is an important cornercase, which DOES happens.
If some default net is configured, it should be tried. If it isn't,
nothing should happen.

I think, currently it's not possible to specify a fall-back net block
for wpasupplicant (should be an option for future wifiroamd). You also
need a default mapping in /e/n/i, that just tries dhcp. guessnet e.g.
supports such a thing.

> 
> > >  * What if there have been no locations configured yet? (shall
> > >    wpasupplicant run anyway, allowing managing of
> > > wpa_supplicant.conf via wpa_cli/wpa_gui, or should it doesn't
> > > start the daemon at all?)
> > 
> > Ask the user on install. 
> 
> what about installations in chroot? No, I'm not happy at all with user
> interaction at install time if avoidable.
Well, what's the problem with just starting it? It doesn't do any
harm, does it?

> [...]

Regards,
A.



More information about the Pkg-wpa-devel mailing list