Re: [DNG] How to test the backend of simple-netaid

2019-03-21 Thread aitor_czr
Hi KatolaZ, On 19/3/19 11:13, KatolaZ wrote: On Tue, Mar 19, 2019 at 11:00:59AM +0100, aitor_czr wrote: [cut] I answer myself, referring to the use of pkill wpa_supplicant: #include int kill_wpa_supplicant(void) {     pid_t wpa_pid;     FILE *fp;     fp =

Re: [DNG] How to test the backend of simple-netaid

2019-03-20 Thread Alessandro Selli
Il 20/03/19 09:16, Dr. Nikolaus Klepp ha scritto: > Anno domini 2019 Tue, 19 Mar 23:55:36 +0100 > KatolaZ scripsit: >> On Tue, Mar 19, 2019 at 11:41:16PM +0100, aitor_czr wrote: >> >> [cut] >> >>> fsmithred wrote the following command in d1g time ago: >>> >>> |kill $(ps -e |grep wpa |grep -oP

Re: [DNG] How to test the backend of simple-netaid

2019-03-20 Thread Antoine via Dng
On Wednesday, 20th of March at 10:22, KatolaZ wrote: On Wed, Mar 20, 2019 at 09:16:17AM +0100, Dr. Nikolaus Klepp wrote: [cut] > > > Maybe something like: > > $ kill -9 $(pidof wpa_supplicant) > > is easier to use ;) pidof(8) is still there. > > My2Cents > > KatolaZ > killall -9

Re: [DNG] How to test the backend of simple-netaid

2019-03-20 Thread KatolaZ
On Wed, Mar 20, 2019 at 09:16:17AM +0100, Dr. Nikolaus Klepp wrote: [cut] > > > > > > Maybe something like: > > > > $ kill -9 $(pidof wpa_supplicant) > > > > is easier to use ;) pidof(8) is still there. > > > > My2Cents > > > > KatolaZ > > > > killall -9 wpa_supplicant > > ;-) Sure.

Re: [DNG] How to test the backend of simple-netaid

2019-03-20 Thread Dr. Nikolaus Klepp
Anno domini 2019 Tue, 19 Mar 23:55:36 +0100 KatolaZ scripsit: > On Tue, Mar 19, 2019 at 11:41:16PM +0100, aitor_czr wrote: > > [cut] > > > > > fsmithred wrote the following command in d1g time ago: > > > > |kill $(ps -e |grep wpa |grep -oP '\d{3,}') > >

Re: [DNG] How to test the backend of simple-netaid

2019-03-19 Thread KatolaZ
On Tue, Mar 19, 2019 at 11:41:16PM +0100, aitor_czr wrote: [cut] > > fsmithred wrote the following command in d1g time ago: > > |kill $(ps -e |grep wpa |grep -oP '\d{3,}') > https://dev1galaxy.org/viewtopic.php?id=2158 Aitor. | > Maybe something like: $ kill -9 $(pidof wpa_supplicant)

Re: [DNG] How to test the backend of simple-netaid

2019-03-19 Thread aitor_czr
On 19/3/19 23:41, aitor_czr wrote: fsmithred wrote the following command in d1g time ago: |kill $(ps -e |grep wpa |grep -oP '\d{3,}') https://dev1galaxy.org/viewtopic.php?id=2158 Aitor.| |I rectify: it was written by Panopticon.| | | || ___ Dng

Re: [DNG] How to test the backend of simple-netaid

2019-03-19 Thread aitor_czr
Hi KatolaZ, On 19/3/19 11:13, KatolaZ wrote: On Tue, Mar 19, 2019 at 11:00:59AM +0100, aitor_czr wrote: [cut] I answer myself, referring to the use of pkill wpa_supplicant: #include int kill_wpa_supplicant(void) {     pid_t wpa_pid;     FILE *fp;     fp =

Re: [DNG] How to test the backend of simple-netaid

2019-03-19 Thread aitor_czr
On 19/3/19 11:23, aitor_czr wrote: which has been is written has been written ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Re: [DNG] How to test the backend of simple-netaid

2019-03-19 Thread aitor_czr
Hi KatolaZ, On 19/3/19 11:13, KatolaZ wrote: On Tue, Mar 19, 2019 at 11:00:59AM +0100, aitor_czr wrote: [cut] I answer myself, referring to the use of pkill wpa_supplicant: #include int kill_wpa_supplicant(void) {     pid_t wpa_pid;     FILE *fp;     fp =

Re: [DNG] How to test the backend of simple-netaid

2019-03-19 Thread KatolaZ
On Tue, Mar 19, 2019 at 11:00:59AM +0100, aitor_czr wrote: [cut] > > I answer myself, referring to the use of pkill wpa_supplicant: > > #include > > int kill_wpa_supplicant(void) > { >     pid_t wpa_pid; >     FILE *fp; > >     fp = (fopen("/var/run/wpa_supplicant.pid", "r")); >     if (fp

Re: [DNG] How to test the backend of simple-netaid

2019-03-19 Thread aitor_czr
Hi, On 7/9/18 19:37, aitor_czr wrote: Hi Edward, El 07/09/18 a las 17:59, Edward Bartolo escribió: On 07/09/2018, aitor_czr wrote: El 07/09/18 a las 12:00, Edward Bartolo escribió: Aitor wrote: "I spent a lot of time downgrading the frontend from Gtk3 to Gtk2, because of the general

Re: [DNG] How to test the backend of simple-netaid

2019-03-02 Thread aitor_czr
Hi all, A few months ago i talked about a security key for the suid backend of simple-netaid. On 15/9/18 21:26, aitor_czr wrote: The idea is very simple. The GUI and the suid binary will contain a non-existent header: #include "key.h" The key.h file will contain an unique line (the

Re: [DNG] How to test the backend of simple-netaid

2018-09-15 Thread aitor_czr
Hi, El 08/09/18 a las 11:47, aitor_czr escribió: Hi again, El 07/09/18 a las 19:50, aitor_czr escribió: Hi, El 07/09/18 a las 19:37, aitor_czr escribió: This is the simple script used for the wireless connection attempts: ifdown ip link set up pkill wpa_supplicant wpa_passphrase >

Re: [DNG] How to test the backend of simple-netaid

2018-09-08 Thread aitor_czr
El 08/09/18 a las 11:47, aitor_czr escribió: The idea is very simple. The GUI and the suid binary will contain a non-existent header: #include "key.h" The key.h file will contain an unique line (the random definition of the KEY varible) edited by CMake during the compilation. For example:

Re: [DNG] How to test the backend of simple-netaid

2018-09-08 Thread aitor_czr
Hi again, El 07/09/18 a las 19:50, aitor_czr escribió: Hi, El 07/09/18 a las 19:37, aitor_czr escribió: This is the simple script used for the wireless connection attempts: ifdown ip link set up pkill wpa_supplicant wpa_passphrase > wpa_supplicant -B -c -i rm -f /run/network/ifstate.

Re: [DNG] How to test the backend of simple-netaid

2018-09-07 Thread aitor_czr
Hi, El 07/09/18 a las 19:37, aitor_czr escribió: This is the simple script used for the wireless connection attempts: ifdown ip link set up pkill wpa_supplicant wpa_passphrase > wpa_supplicant -B -c -i rm -f /run/network/ifstate. ip link set up sleep 1 ifup Maybe, the lines nº 6 and

Re: [DNG] How to test the backend of simple-netaid

2018-09-07 Thread aitor_czr
Hi Edward, El 07/09/18 a las 17:59, Edward Bartolo escribió: On 07/09/2018, aitor_czr wrote: El 07/09/18 a las 12:00, Edward Bartolo escribió: Aitor wrote: "I spent a lot of time downgrading the frontend from Gtk3 to Gtk2, because of the general preference in favor of this second one. The

Re: [DNG] How to test the backend of simple-netaid

2018-09-07 Thread aitor_czr
El 07/09/18 a las 18:37, Antony Stone escribió: I think this is a linguistic misunderstanding - "Not at all" is a common and polite English way of saying "you're welcome" or "don't mention it" - basically a standard response to "thank you". That is, in spanish we say: "De nada" or "No hay de

Re: [DNG] How to test the backend of simple-netaid

2018-09-07 Thread aitor_czr
On Friday 07 September 2018 at 17:59:39, Edward Bartolo wrote: Why are you in denial? Don't bother, you will not get a halo above your head Neither a halo above my head, nor a t-shirt :( but if you care, why don't you admit it? Because i prefer a teafoil rather than a halo :)   Aitor.

Re: [DNG] How to test the backend of simple-netaid

2018-09-07 Thread aitor_czr
Hi, El 07/09/18 a las 18:37, Antony Stone escribió: I think this is a linguistic misunderstanding - "Not at all" is a common and polite English way of saying "you're welcome" or "don't mention it" - basically a standard response to "thank you". i meant to say  "De nada"

Re: [DNG] How to test the backend of simple-netaid

2018-09-07 Thread Rowland Penny
On Fri, 7 Sep 2018 18:37:52 +0200 Antony Stone wrote: > On Friday 07 September 2018 at 17:59:39, Edward Bartolo wrote: > > > On 07/09/2018, aitor_czr wrote: > > > El 07/09/18 a las 12:00, Edward Bartolo escribió: > > >> Aitor wrote: > > >> "I spent a lot of time downgrading the frontend from

Re: [DNG] How to test the backend of simple-netaid

2018-09-07 Thread Antony Stone
On Friday 07 September 2018 at 17:59:39, Edward Bartolo wrote: > On 07/09/2018, aitor_czr wrote: > > El 07/09/18 a las 12:00, Edward Bartolo escribió: > >> Aitor wrote: > >> "I spent a lot of time downgrading the frontend from Gtk3 to Gtk2, > >> because of the general preference in favor of this

[DNG] How to test the backend of simple-netaid

2018-09-07 Thread Edward Bartolo
On 07/09/2018, aitor_czr wrote: > > El 07/09/18 a las 12:00, Edward Bartolo escribió: >> Aitor wrote: >> "I spent a lot of time downgrading the frontend from Gtk3 to Gtk2, >> because of the general preference in favor of this second one. The >> packages for jessie will be available in a couple of

Re: [DNG] How to test the backend of simple-netaid

2018-09-07 Thread Dr. Nikolaus Klepp
Am Freitag, 7. September 2018 schrieb Edward Bartolo: > Aitor wrote: > "I spent a lot of time downgrading the frontend from Gtk3 to Gtk2, > because of the general preference in favor of this second one. The > packages for jessie will be available in a couple of days." > > Thank you for caring

Re: [DNG] How to test the backend of simple-netaid

2018-09-07 Thread aitor_czr
El 07/09/18 a las 12:00, Edward Bartolo escribió: Aitor wrote: "I spent a lot of time downgrading the frontend from Gtk3 to Gtk2, because of the general preference in favor of this second one. The packages for jessie will be available in a couple of days." Thank you for caring about users.

Re: [DNG] How to test the backend of simple-netaid

2018-09-07 Thread Edward Bartolo
Aitor wrote: "I spent a lot of time downgrading the frontend from Gtk3 to Gtk2, because of the general preference in favor of this second one. The packages for jessie will be available in a couple of days." Thank you for caring about users. edbarx -- If you can't explain it simply, you don't

[DNG] How to test the backend of simple-netaid

2018-09-07 Thread Edward Bartolo
-- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) If you cannot make abstructions about details you do not understand the concepts underlying them. ___ Dng mailing list Dng@lists.dyne.org

Re: [DNG] How to test the backend of simple-netaid

2018-09-07 Thread aitor_czr
Hi, El 07/08/18 a las 11:51, aitor_czr escribió: El 07/08/18 a las 02:03, aitor_czr escribió: Hi all, I'm pushing more commits to the sources of simple-netaid. I did some changes in the CMakeLists.txt, in such a way you will be able to build only the backend. CMake will ask you for your

Re: [DNG] How to test the backend of simple-netaid

2018-08-07 Thread aitor_czr
Hi again, El 07/08/18 a las 02:03, aitor_czr escribió: Hi all, I'm pushing more commits to the sources of simple-netaid. I did some changes in the CMakeLists.txt, in such a way you will be able to build only the backend. CMake will ask you for your root password giving suid permissions to

[DNG] How to test the backend of simple-netaid

2018-08-06 Thread aitor_czr
Hi all, I'm pushing more commits to the sources of simple-netaid. I did some changes in the CMakeLists.txt, in such a way you will be able to build only the backend. CMake will ask you for your root password giving suid permissions to the server file. This binary server file is only for