Am Sonntag, 2. April 2006 07:15 schrieben Sie: Hi Kel! > I have some thoughts to implement some sort of network profiling using > only callbacks from wpa_cli. I'll try to get together some sort of code > for you to try soon. After the last release I've taken a little breather > to collect my thoughts, it was a hectic two weeks.
:-) > Personaly, I had no objection to the init script being included, but not > active. However, it had severe limitations, and as new programs emerge, > that can handle your wifi profiles (eg. network-manager) using far > superior methods than an init daemon + ifplugd (or whatever), it is > important that we move on with some lower level integration of > wpa_supplicant with out networking scripts, imho. I'm using this "mapping" stuff, because it's very easy to write my own options to /etc/network/interfaces and parse them with a script in /etc/network/if-up.d. And this options and scripts can be used either by Wifi or Ethernet interfaces. This makes it very convenient. I don't know network-manager in detail, but if the same functionality is possible, I may switch to it. > Having said that, its possible to provide a simplistic method of wifi > profiling, by calling for information from wpa_cli and executing > different network specific operations. The framework is already there, > using the manual inet METHOD plus an action script. The hard part is > fooling ifupdown into going along with such plans . . . Hmm, maybe ifupdown must be adjusted as well. Personally, I like the old approach, with this simple daemons working together and everything is managed by a simple configuration file. regards, Jörg