Wifi-Radar and Debian Etch
I've got wifi-radar installed and configured to run by a normal user... the only problem is that wireless-tools isn't.
From the command line, as a normal user, Wifi-Radar starts up but shows no wireless-connection information. The command line reads: $ /usr/sbin/wifi-radar sh: iwlist: command not found sh: ifconfig: command not found sh: iwconfig: command not found sh: iwlist: command not found sh: ifconfig: command not found sh: iwconfig: command not found sh: iwlist: command not found I edited the sudoers file so I can run wifi-radar as normal user... is there something I should do for wireless-tools also? I followed the directions on [URL="http://http://www.hantslug.org.uk/cgi-bin/wiki.pl?LinuxHints/InstallingWifiRadar"[/URL] this page to install wifi-radar. |
Either you don't have wireless-tools installed or /usr/sbin is not in your path
|
# apt-get install wireless-tools
Reading package lists... Done Building dependency tree... Done wireless-tools is already the newest version. $ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/sbin Nope, that ain't it... Wifi-radar runs fine. It just can't configure wireless-tools by itself. It works as root, however. |
bash has two modes, logon and interactive. The paths may be different for each. One reads from /etc/bash.bashrc and ~.bashrc, the other from /etc/profile and ~/.bash_profile. You can add echo $PATH near the top of wifi-radar to see if that is the problem.
|
I figured it out by looking at other applications that run for a normal user, but need root privileges.
The executable for the shortcut on the panel needs to be "gksu -u root /usr/sbin/wifi-radar". ta-da...! |
All times are GMT -5. The time now is 12:09 PM. |