2 --------------------------------------------------------------------------------
4 WiFi Radar is a Python/PyGTK2 utility for managing
5 WiFi profiles on GNU/Linux.
7 Maintained by Sean Robinson <seankrobinson@gmail.com>
9 Created by Ahmad Baitalmal <ahmad@baitalmal.com>
10 Previously maintained by Brian Elliott Finley <brian@thefinleys.com>
12 http://wifi-radar.tuxfamily.org
14 WiFi Radar is released under the GPL license.
18 --------------------------------------------------------------------------------
20 To show the GUI and manage profiles:
25 I. Here are Some Important Bits:
26 --------------------------------------------------------------------------------
28 * The config file defaults to /etc/wifi-radar/wifi-radar.conf. The
29 location of this file can be changed at install time with:
31 "make install sysconfdir=/usr/local/etc/wifi-radar"
33 * The configuration file format changed between v1.9.9 and v2.0.s01.
34 The two formats are not compatible with each other. If you are
35 upgrading from v1.9.9, you will need to re-create your configuration.
37 * If the config file does not exist, it will be created at run-time,
38 so you must always invoke wifi-radar as root or with sudo.
40 * You can change everything else from the config file which is simply
43 If you have questions, check the WiFi Radar web site at
44 http://wifi-radar.tuxfamily.org for a FAQ, a mailing
45 list, and a user manual. Any of which may have your answer.
49 --------------------------------------------------------------------------------
53 * Wireless Tools for Linux (iwconfig, iwlist)
57 --------------------------------------------------------------------------------
59 1. Type "sudo make install"
60 (or "sudo make install sysconfdir=/usr/local/etc/wifi-radar")
63 IV. HOWTO: Optional PAM Configuration
64 --------------------------------------------------------------------------------
66 These instructions allow you to run wifi-radar as a normal user
67 without using sudo. Thanks to Flipp Bunts <flipp.bunts@gmail.com>
70 HOWTO get wifi-radar custom launcher to use PAM authentication in
72 1. get wifi-radar and untar
73 2. put wifi-radar.svg in /usr/share/pixmaps
74 3. put wifi-radar.py in /usr/local/bin
75 4. ln -s /usr/bin/consolehelper /usr/local/bin/wifi-radar
76 5. vi /etc/security/console.apps/wifi-radar
78 PROGRAM=/usr/local/bin/wifi-radar.py
80 6. vi /etc/pam.d/wifi-radar
82 auth sufficient pam_rootok.so
83 auth sufficient pam_timestamp.so
84 auth required pam_stack.so service=system-auth
85 session required pam_permit.so
86 session optional pam_xauth.so
87 session optional pam_timestamp.so
88 account required pam_permit.so
89 7. check the permissions
90 # ls -lh /etc/security/console.apps/wifi-radar /etc/pam.d/wifi-radar
91 -rw-r--r-- 1 root root /etc/pam.d/wifi-radar
92 -rw-r--r-- 1 root root /etc/security/console.apps/wifi-radar
94 a. right click on panel
95 b. select 'add to panel'
96 c. click on 'custom application launcher'
97 d. options for 'create launcher'
99 command : /usr/local/bin/wifi-radar
100 icon : /usr/share/pixmap/wifi-radar.svg
101 9. click on the icon, enter the root password, away you go
104 V. HOWTO: Environment Variables Set For Connect and Disconnect Scripts
105 --------------------------------------------------------------------------------
107 The following environment variables are set for the pre- and post-
108 scipts for connect and disconnect operations (i.e. all four user scripts):
110 1. WIFIRADAR_IF is the network interface which is dis/connecting
112 The following variables are set in the shell environment in
113 which the post-connect and pre-disconnect scripts are executed.
115 1. WIFIRADAR_IP is the current IP address
116 2. WIFIRADAR_ESSID is the current ESSID
117 3. WIFIRADAR_BSSID is the current BSSID
120 VI. HOWTO: Interpolated Strings in the Configuration File
121 --------------------------------------------------------------------------------
123 It is possible to use configuration file options in the value of other
130 pidfile = /etc/dhcpc/dhcpcd-%(interface)s.pid
132 means that WiFi Radar will use the file /etc/dhcpc/dhcpcd-wlan1.pid for
135 These interpolated strings can be safely entered into preferences dialog text