WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Where is my IWCONFIG ??  (Read 5927 times)

Offline mOrloff

  • Newbie
  • *
  • Posts: 26
Where is my IWCONFIG ??
« on: April 22, 2011, 11:49:37 AM »
I've got a nice little IBM ThinkCentre desktop that has been wonderfully fun and easy to set up, even for someone as green and clueless as myself :)

The next task on the menu is wireless, so I plugged in my PCI wireless card, booted up, and it is being read just fine. It shows up in ifconfig, and everything looks great!

Now I just need to provide the credentials for the network, and I understand that iwconfig is the default/best tool for the job.
The only problem is that my machine is telling me that iwconfig is not found.

I downloaded and loaded 'wireless-tools', but after that ... I'm at a loss.

Help ??

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: Where is my IWCONFIG ??
« Reply #1 on: April 22, 2011, 03:00:32 PM »
Hi mOrloff
According to AppBrowser it puts it in  usr/local/sbin/iwconfig. Since it's in an  sbin directory you
probably need to use  sudo iwconfig
Linux has a habit of lying to you about the existence of files if it thinks you are not entitled to access
them.


Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Where is my IWCONFIG ??
« Reply #2 on: April 22, 2011, 06:03:34 PM »
iwconfig should still show output though even if running as normal user; if not found it means the extension is not correctly loaded.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: Where is my IWCONFIG ??
« Reply #3 on: April 22, 2011, 10:51:50 PM »
@tinypoodle: Your right, I was thinking of my Debian machine, It tells me file not found for certain
commands unless I log in as su.

@mOrloff: How did you download it. Does the machine also have a wired connection? Did you use
AppBrowser and leave the setting Onboot? You need to provide some details.
Open a terminal and type in  ls /tmp/tcloop  and see if it lists wireless-tools

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: Where is my IWCONFIG ??
« Reply #4 on: April 23, 2011, 05:33:28 PM »
@tinypoodle: Your right, I was thinking of my Debian machine, It tells me file not found for certain
commands unless I log in as su.
That's because on debian sbins by default aren't in your $PATH variable

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: Where is my IWCONFIG ??
« Reply #5 on: April 23, 2011, 05:57:01 PM »
Thanks hiro, now I know why.

Offline mOrloff

  • Newbie
  • *
  • Posts: 26
Re: Where is my IWCONFIG ??
« Reply #6 on: April 25, 2011, 10:43:02 AM »
Thanks to all for all the feedback.
I'll try to address everything in order.

1. I do not see it in usr/local/sbin/.
2. 'sudo iwconfig' produces the same results: "not found"
3. I did use the appbrowser to download it. I think I had it Download + Load.  (I did back up prior to any reboots.)
4. This machine does also have a wired connection (for the time being).
5. 'wireless-tools' is not included in the list when I run 'ls /tmp/tcloop'.

So ... what are your thoughts now ??
Again, thank you.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: Where is my IWCONFIG ??
« Reply #7 on: April 25, 2011, 10:59:29 AM »
It is not loaded. Either add to onboot via appsaudit or load it once only via appbrowser - load local.
The only barriers that can stop you are the ones you create yourself.

Offline mOrloff

  • Newbie
  • *
  • Posts: 26
Re: Where is my IWCONFIG ??
« Reply #8 on: April 25, 2011, 11:52:43 AM »
Thank you thank you.
iwconfig is now avail.

Now all I need to do is find out how to put in my network spec's.
If anyone has any good links for me to look at, or some great quick tips, I'd be forever grateful :)

~ Mo