Re: [DNG] wpa_supplicant/ifup integration documentation

2015-09-03 Thread Didier Kryn
Guys, I'm trying to reply to several emails at once... Isaac Dunham: wpa_supplicant would be the only process reading/writing the file, but you need five commands at minimum. Here's roughly how you'd add an open network with wpa_cli: NETNUM=`wpa_cli add_network` || fail wpa_cli set_network $

Re: [DNG] wpa_supplicant/ifup integration documentation

2015-09-02 Thread Isaac Dunham
On Wed, Sep 02, 2015 at 10:05:01AM +0200, Didier Kryn wrote: > Le 01/09/2015 04:10, Isaac Dunham a écrit : > >I simply would like to write to the file without *losing* all the comments > >that are there, which is what will happen if you use > > wpa_cli save_config > >or similar features in wpa_gui

Re: [DNG] wpa_supplicant/ifup integration documentation

2015-09-02 Thread Ron
On Wed, 2 Sep 2015 10:05:11 +0100 Simon Hobson wrote: > > I am pretty sure there are very few cases where a wifi connection needs a > > static IP config. For the vast majority of cases, the config is dynamic and > > one single id_str is enough for all; doing otherwise would bloat the > > inter

Re: [DNG] wpa_supplicant/ifup integration documentation

2015-09-02 Thread Simon Hobson
Didier Kryn wrote: > I am pretty sure there are very few cases where a wifi connection needs a > static IP config. For the vast majority of cases, the config is dynamic and > one single id_str is enough for all; doing otherwise would bloat the > interfaces file for the sole sake of this descri

Re: [DNG] wpa_supplicant/ifup integration documentation

2015-09-02 Thread Didier Kryn
Le 01/09/2015 04:10, Isaac Dunham a écrit : On Mon, Aug 31, 2015 at 09:38:12AM +0200, Didier Kryn wrote: Sorry, this thread became private my my mis-clicking on Icedove. Le 30/08/2015 22:37, Isaac Dunham a écrit : On Sun, Aug 30, 2015 at 12:58:59PM +0200, Didier Kryn wrote: Le 28/08/2015

Re: [DNG] wpa_supplicant/ifup integration documentation

2015-08-31 Thread Isaac Dunham
On Mon, Aug 31, 2015 at 09:38:12AM +0200, Didier Kryn wrote: > Sorry, this thread became private my my mis-clicking on Icedove. > > Le 30/08/2015 22:37, Isaac Dunham a écrit : > >On Sun, Aug 30, 2015 at 12:58:59PM +0200, Didier Kryn wrote: > >>Le 28/08/2015 04:28, Isaac Dunham a ??crit : > >>>

Re: [DNG] wpa_supplicant/ifup integration documentation

2015-08-31 Thread Didier Kryn
Sorry, this thread became private my my mis-clicking on Icedove. Le 30/08/2015 22:37, Isaac Dunham a écrit : On Sun, Aug 30, 2015 at 12:58:59PM +0200, Didier Kryn wrote: Le 28/08/2015 04:28, Isaac Dunham a ??crit : On Thu, Aug 27, 2015 at 10:29:31AM +0200, Didier Kryn wrote: what is missi

Re: [DNG] wpa_supplicant/ifup integration documentation

2015-08-27 Thread Isaac Dunham
On Thu, Aug 27, 2015 at 10:29:31AM +0200, Didier Kryn wrote: > Le 25/08/2015 03:40, Isaac Dunham a ??crit : > >For your perusal, here's an overview of how they work together; it's a 100+ > >line summary. > >If anyone wants more details, here are some sources: > >Manual pages: > >interfaces(5), wpa_

Re: [DNG] wpa_supplicant/ifup integration documentation

2015-08-27 Thread Didier Kryn
Le 25/08/2015 03:40, Isaac Dunham a écrit : For your perusal, here's an overview of how they work together; it's a 100+ line summary. If anyone wants more details, here are some sources: Manual pages: interfaces(5), wpa_supplicant.conf(5), wpa_supplicant(8), wpa_cli(8), wpa_action(8). Scripts: /s

[DNG] wpa_supplicant/ifup integration documentation

2015-08-24 Thread Isaac Dunham
On Thu, Aug 20, 2015 at 10:28:45PM +0200, Didier Kryn wrote: > I would also like to know what your understanding is of how the things > are handled by the cooperative interaction of ifup, ifdown and > wpa_supplicant. This is something for which I cannot find a comprehensive > description, and I