LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-17-2006, 08:54 PM   #1
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Rep: Reputation: 30
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.

Last edited by noxious; 02-17-2006 at 09:42 PM.
 
Old 02-17-2006, 09:14 PM   #2
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
Either you don't have wireless-tools installed or /usr/sbin is not in your path
 
Old 02-17-2006, 09:40 PM   #3
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Original Poster
Rep: Reputation: 30
# 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.
 
Old 02-17-2006, 10:02 PM   #4
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
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.
 
Old 02-19-2006, 08:22 PM   #5
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Original Poster
Rep: Reputation: 30
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...!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: WiFi-Radar in Slackware Kahless LinuxAnswers Discussion 5 10-16-2007 02:53 PM
Wifi-Radar config hosler Linux - Software 1 01-27-2006 06:43 PM
Help needed installing Wifi Radar fitzy75 Linux - Software 1 08-11-2005 01:57 PM
which one to d/l for debian etch? greythorne Debian 8 07-27-2005 02:25 AM
Does anybody use wifi-radar? vinoloco Ubuntu 4 06-30-2005 09:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration