Get Firefox!
What Is WiFi Radar?




WiFi Radar is a Python/PyGTK2 utility for managing WiFi profiles.
It enables you to scan for available networks and create profiles for your preferred networks. At boot time, running WiFi Radar will automatically scan for an available preferred network and connect to it. You can drag and drop your preferred networks to arrange the profile priority.


WiFi Radar is tested to work with Centrino's WiFi card IPW2100 but should work just the same for any iwconfig interface.
To use WiFi Radar you need to have the following:
Usage
WiFi Radar assumes to be on a Gentoo based system, but that is a minor detail. Here is what is important:
  • It will always look for the config file in /etc/conf.d/wifi_radar.conf. You can change that in wifi_radar.py
  • If that file does not exist, it will create it, so you must always run it within a correctly permitted account (as root or use sudo)
  • Running it without the "--config" option will set it to "scan and auto connect" mode, which has no UI.
  • Running it with the "--config" option will display the UI for configuration.
  • The icon SVG file must be in
  • /usr/share/pixmaps/wifi_radar.svg
You can change everything from the conf file which is a simply .ini file. To change the location of the .conf file change it in wifi_radar.py. If you have questions, post them to the Linux Forum at the X1000 Forums site.
Have fun.
Better Gnome Integration
The following instructions were contributed by Flipp Bunts <flipp.bunts at gmail dot com>. Below are the contents of his email.
how to get wifi_radar custom launcher to use pam authentication in gnome
        1. get wifi_radar and untar
        2. put wifi_radar.svg in /usr/share/pixmaps
        3. put wifi_radar.py in /usr/local/bin
        4. ln -s /usr/bin/consolehelper /usr/local/bin/wifi_radar
        5. vi /etc/security/console.apps/wifi_radar
                USER=root
                PROGRAM=/usr/local/bin/wifi_radar.py
                SESSION=true
        6. vi /etc/pam.d/wifi_radar
                #%PAM-1.0
                auth       sufficient   pam_rootok.so
                auth       sufficient   pam_timestamp.so
                auth       required     pam_stack.so service=system-auth
                session    required     pam_permit.so
                session    optional     pam_xauth.so
                session    optional     pam_timestamp.so
                account    required     pam_permit.so
        7. check the permissions
                sh-3.00# ls -lh /etc/security/console.apps/wifi_radar /etc/pam.d/wifi_radar
                -rw-r--r--  1 root root  /etc/pam.d/wifi_radar
                -rw-r--r--  1 root root  /etc/security/console.apps/wifi_radar
        8. add launcher
                a. right click on panel
                b. select 'add to panel'
                c. click on 'custom application launcher'
                d. options for 'create launcher'
                name : wifi_radar
                command : /usr/local/bin/wifi_radar --config
                icon : /usr/share/pixmap/wifi_radar.svg
        9. click on the icon, enter the root password, away you go
			
Wifi Radar 2
Wifi Radar 2 is in the works. I need help with the thread lockups. I think I'm doing everything right.



You can also get the latest from SVN

http://svn.bitbuilder.com

Download wifi_radar2 beta and let me know if you can get the scan thread and main PyGTK thread to play nice together.
The Rules
  • WiFi Radar is released under the GPL license.
Send patches to Ahmad Baitalmal (Ahmadster) <ahmad@bitbuilder.com>.
© 2004, BitBuilder.com