wifimgr (was: Re: Networkmgr)

Matthias Apitz guru at unixarea.de
Thu Apr 13 09:19:37 UTC 2017

El día jueves, abril 13, 2017 a las 11:16:51a. m. +0300, Boris Samorodov escribió:

> 12.04.2017 20:30, Matthias Apitz пишет:
> > It compiles on 12.0-CURRENT r314251 (amd64) with ports head. It starts
> > but does not bring any GUI.
> Seems to be a property of your OS/ports status/configuration.
> I've just installed wifimgr as a package from official FreeBSD
> repository. The system is fresh HEAD-amd64.
> ....

Thanks for the report. At the same time I have instructed mine with some

I have inserted a few DEBUG fprintfs because the source does not do
Any logging or debug infos, and it seems to be a Gtk problem because the
Application can not bring up any dialog, not even for asking for the password:

root at r314251-amd64:/usr/ports/net-mgmt/wifimgr/work/wifimgr-1.11/src # vim wifimgr-gtk.c

** display GUI message dialog with OK button
gui_message(const char * s, int msg_type) {
        GtkWidget *             dialog;
        GtkWidget *             w;
        int                     resp;

        fprintf(stderr, "DEBUG: message [%s] \n", s);
        switch(msg_type) {


        gtk_window_set_title(GTK_WINDOW(dialog), gettext("WiFi Networks Manager"));

        fprintf(stderr, "DEBUG: running gtk_dialog_run()\n");
        resp = gtk_dialog_run(GTK_DIALOG(dialog));
        fprintf(stderr, "DEBUG: gtk_dialog_run() returned resp [%d]\n", resp);

root at r314251-amd64:/usr/ports/net-mgmt/wifimgr/work/wifimgr-1.11/src # ./wifimgr
DEBUG: after gui_init()
DEBUG: doing wifimgrsu_init()
DEBUG: doing gui_message() for admin pw
DEBUG: message [Enter Administrator password:] 
DEBUG: running gtk_dialog_run()

(hangs here for ever)

i.e. must be some fundamental problem with Gtk. 

If you say:

> Seems to be a property of your OS/ports status/configuration.

Do you have an idea what could be so wrong that 1800 ports are running
(built with poudriere), incl. KDE4, FF 52, ... and just this small Gtk
app not. I have no idea at all (and to be honestly I do not need this
app, I edit /etc/wpa_supplicant.conf with vim :-))

If someone wants to nail it down, I'm happy to help and provide any
information from my *wrong* system.

Matthias Apitz, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045
Aus "Nie wieder Krieg!" wurde "Nie wieder Krieg ohne Deutschlands Truppen"
The "No wars anymore!" changed now to "No wars anymore without German battle groups!"
El "¡Nunca jamás guerra!" ha cambiado a "¡Nunca jamás guerra sin tropas alemanas!" 

More information about the freebsd-questions mailing list