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.
You can build the file using the Makefile. But first of all, install
*libiw-dev* and *ethtool*. The Makefile links the code against -lm and
-liw. Once you have build it, run it (as root) with the following options:
./netdev 0 -> This option gives the status of the network connection.
Detecting the plug/unplug event will take a few seconds (as i said a few
days ago, it doesn't depend neither on ifplugd nor on detplugd)
./netdev 1 -> This option lists the avalaible active wifis, giving a
short information about them (useful for the Gtk TreeView of the frontend)
Hope you like it :)
Aitor.
_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng