Hi again,
El 31/05/18 a las 10:02, aitor_czr escribió:
As i announced in the irc channel, i've extracted the code of the
netstatus plugin for LXPanel. This plugin has been ported by Hong Jen
Yee (PCManFM) from the original code comming from the GNOME2 netstatus
panel applet.
I added more code to the main.c file, taken from wireless-tools:
http://gnuinos.org/NETDEV/
I'm also adding the FIFO receiving the essid and the password sent from
the password dialog of simple-netaid-gtk.
You can build the code using the Makefile, which liks it against -lm and
liw. First of all install *libiw-dev* and *ethtool*.
Once you have build it, run the generated binary as root, with the
following options:
# ./netdev 0 -> This option gives the status network connection. The
detection of the plug/unplug event of the wired device will take a few
seconds (as i said, it doesn't depend neither on ifplugd nor on netplugd)
# ./netdev 1 -> This other option lists all the available active wifis,
giving a short information about each one (usefull for the Gtk TreeView
of the frontend of simple-netaid)
This binary will replace to the suid wlx binary of simple-netaid-gtk.
Hope you like it :)
Aitor.
Quote.- This is the third time i write this post. I lost it twice after
two failed attempts trying to send it :(
_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng